Main Page | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

attribute_info_dup Struct Reference

#include <classfile.h>


Detailed Description

Pad attribute_info structures for proper multi-byte field address boundary alignment.

See also:
FILL_INFO_DUP0 et al.

Definition at line 201 of file classfile.h.

Data Fields

attribute_info ai
 Misalign attribute_info (on non-4-byte address) so that attribute_length is on a 4-byte addresses.
rbyte empty [2]
 Align attribute_name_index u2 jshort against END of 4-byte word.


Field Documentation

rbyte attribute_info_dup::empty[2]
 

Align attribute_name_index u2 jshort against END of 4-byte word.

Definition at line 205 of file classfile.h.

attribute_info attribute_info_dup::ai
 

Misalign attribute_info (on non-4-byte address) so that attribute_length is on a 4-byte addresses.

Subsequent members may not be 4-byte aligned, (per spec definitions), but those can be handled on a case-by-case basis. At least here, everything starts out on the correct alignment.

Definition at line 210 of file classfile.h.

Referenced by classfile_loadclassdata(), and jvmutil_print_stack_common().


The documentation for this struct was generated from the following file:
Generated on Fri Sep 30 19:01:02 2005 by  doxygen 1.4.4