< prev index next >

src/hotspot/share/runtime/perfMemory.hpp

Print this page

 66   jbyte  minor_version;
 67   jbyte  accessible;         // ready to access
 68   jint   used;               // number of PerfData memory bytes used
 69   jint   overflow;           // number of bytes of overflow
 70   jlong  mod_time_stamp;     // time stamp of last structural modification
 71   jint   entry_offset;       // offset of the first PerfDataEntry
 72   jint   num_entries;        // number of allocated PerfData entries
 73 } PerfDataPrologue;
 74 
 75 /* The PerfDataEntry structure defines the fixed portion of an entry
 76  * in the PerfData memory region. The PerfDataBuffer Java libraries
 77  * are aware of this structure and need to be changed when this
 78  * structure changes.
 79  */
 80 typedef struct {
 81 
 82   jint entry_length;      // entry length in bytes
 83   jint name_offset;       // offset of the data item name
 84   jint vector_length;     // length of the vector. If 0, then scalar
 85   jbyte data_type;        // type of the data item -
 86                           // 'B','Z','J','I','S','C','D','F','V','L','['
 87   jbyte flags;            // flags indicating misc attributes
 88   jbyte data_units;       // unit of measure for the data type
 89   jbyte data_variability; // variability classification of data type
 90   jint  data_offset;      // offset of the data item
 91 
 92 /*
 93   body of PerfData memory entry is variable length
 94 
 95   jbyte[name_length] data_name;        // name of the data item
 96   jbyte[pad_length] data_pad;          // alignment of data item
 97   j<data_type>[data_length] data_item; // array of appropriate types.
 98                                        // data_length is > 1 only when the
 99                                        // data_type is T_ARRAY.
100 */
101 } PerfDataEntry;
102 
103 // Prefix of performance data file.
104 extern const char PERFDATA_NAME[];
105 
106 // UINT_CHARS contains the number of characters holding a process id

 66   jbyte  minor_version;
 67   jbyte  accessible;         // ready to access
 68   jint   used;               // number of PerfData memory bytes used
 69   jint   overflow;           // number of bytes of overflow
 70   jlong  mod_time_stamp;     // time stamp of last structural modification
 71   jint   entry_offset;       // offset of the first PerfDataEntry
 72   jint   num_entries;        // number of allocated PerfData entries
 73 } PerfDataPrologue;
 74 
 75 /* The PerfDataEntry structure defines the fixed portion of an entry
 76  * in the PerfData memory region. The PerfDataBuffer Java libraries
 77  * are aware of this structure and need to be changed when this
 78  * structure changes.
 79  */
 80 typedef struct {
 81 
 82   jint entry_length;      // entry length in bytes
 83   jint name_offset;       // offset of the data item name
 84   jint vector_length;     // length of the vector. If 0, then scalar
 85   jbyte data_type;        // type of the data item -
 86                           // 'B','Z','J','I','S','C','D','F','V','L','Q','['
 87   jbyte flags;            // flags indicating misc attributes
 88   jbyte data_units;       // unit of measure for the data type
 89   jbyte data_variability; // variability classification of data type
 90   jint  data_offset;      // offset of the data item
 91 
 92 /*
 93   body of PerfData memory entry is variable length
 94 
 95   jbyte[name_length] data_name;        // name of the data item
 96   jbyte[pad_length] data_pad;          // alignment of data item
 97   j<data_type>[data_length] data_item; // array of appropriate types.
 98                                        // data_length is > 1 only when the
 99                                        // data_type is T_ARRAY.
100 */
101 } PerfDataEntry;
102 
103 // Prefix of performance data file.
104 extern const char PERFDATA_NAME[];
105 
106 // UINT_CHARS contains the number of characters holding a process id
< prev index next >