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

robject Struct Reference

#include <object.h>


Detailed Description

General object slot definition.

Definition at line 145 of file object.h.

Data Fields

jvm_access_flags access_flags
 Holds class file ACC_xxx values.
jvm_basetype arraybasetype
 Base element type of array, meaningful only when OBJECT_STATUS_ARRAY is set.
rvoidarraydata
 Data for an arbitrary array.
jvm_array_dim arraydims
jintarraylength
 Num dimensions for array, meaningful only when OBJECT_STATUS_ARRAY is set Length of array in each dimension, from this one on down to object instances.
jint mlock_count
 Number of times the object monitor was locked.
jvm_thread_index mlock_thridx
 This thread holds monitor lock, meaningful only when OBJECT_STATUS_MLOCK is set.
jvalueobject_instance_field_data
 Object instance data data contents array[].
jvm_object_hash objhash_superclass
 Instance of of this object's superclass.
rvoidpgarbage
 Garbage collection profile of this class.
rushort status
 Runtime status of object, bitwise.
jvm_table_linkage table_linkage
 Connect related instances of ClassFile, rclass, robject, and rthread structures.


Field Documentation

rushort robject::status
 

Runtime status of object, bitwise.

Definition at line 147 of file object.h.

jvm_basetype robject::arraybasetype
 

Base element type of array, meaningful only when OBJECT_STATUS_ARRAY is set.

Definition at line 217 of file object.h.

jvm_array_dim robject::arraydims
 

Definition at line 223 of file object.h.

jint* robject::arraylength
 

Num dimensions for array, meaningful only when OBJECT_STATUS_ARRAY is set Length of array in each dimension, from this one on down to object instances.

Meaningful only when when OBJECT_STATUS_ARRAY is set

Definition at line 229 of file object.h.

rvoid* robject::arraydata
 

Data for an arbitrary array.

For arraydims of 0, it is not used,for arraydims of 1, contains data for ((basetype) array)[arraylength[0]]. For arraydims greater than 1, contains object reference array to next lower dimension, ((jvm_object_hash *) &arraydata)[arraylength[0]]

Definition at line 237 of file object.h.

jint robject::mlock_count
 

Number of times the object monitor was locked.

Definition at line 250 of file object.h.

jvm_thread_index robject::mlock_thridx
 

This thread holds monitor lock, meaningful only when OBJECT_STATUS_MLOCK is set.

Definition at line 253 of file object.h.

jvm_object_hash robject::objhash_superclass
 

Instance of of this object's superclass.

JVMCFG_NULL_OBJECT indicates that the parent class is a java.lang.Object

Definition at line 259 of file object.h.

jvm_access_flags robject::access_flags
 

Holds class file ACC_xxx values.

Definition at line 267 of file object.h.

jvm_table_linkage robject::table_linkage
 

Connect related instances of ClassFile, rclass, robject, and rthread structures.

Used intensively all over the code, this table is found in each and every robject and is the central structure in the linkage macros of linkage.h .

Definition at line 272 of file object.h.

jvalue* robject::object_instance_field_data
 

Object instance data data contents array[].

The associated field lookup table is located in its rclass table entry rclass.object_instance_field_lookup

since these lookups are the same for every instance object of this class. Not meaningful when OBJECT_STATUS_ARRAY is set. Instead, see arraydata

Definition at line 283 of file object.h.

rvoid* robject::pgarbage
 

Garbage collection profile of this class.

An rvoid pointer is used here to avoid linking this structure to any particular GC implementation.

Definition at line 300 of file object.h.


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