Browse Prior Art Database

Improved field layout of Java classes

IP.com Disclosure Number: IPCOM000015423D
Original Publication Date: 2002-Jan-01
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue

IBM

Abstract

A program is disclosed to efficiently lay out fields in a Java* Virtual Machine, particularly on 64-bit systems. Java objects have fields, which can hold data of various sizes. An object can hold fields of the following sizes: Type Minimum size Typical size Typical alignment boolean 1 bit 4 bytes 4 bytes byte 1 byte 4 bytes 4 bytes char or short 2 bytes 4 bytes 4 bytes int 4 bytes 4 bytes 4 bytes