< prev index next >

src/hotspot/share/runtime/perfMemory.hpp

Print this page




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




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


< prev index next >