src/share/vm/runtime/perfMemory.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
6772413 Cdiff src/share/vm/runtime/perfMemory.hpp
src/share/vm/runtime/perfMemory.hpp
Print this page
*** 93,115 ****
// data_type is T_ARRAY.
*/
} PerfDataEntry;
// Prefix of performance data file.
! static const char PERFDATA_NAME[] = "hsperfdata";
// UINT_CHARS contains the number of characters holding a process id
// (i.e. pid). pid is defined as unsigned "int" so the maximum possible pid value
// would be 2^32 - 1 (4294967295) which can be represented as a 10 characters
// string.
static const size_t UINT_CHARS = 10;
- // Add 1 for the '_' character between PERFDATA_NAME and pid. The '\0' terminating
- // character will be included in the sizeof(PERFDATA_NAME) operation.
- static const size_t PERFDATA_FILENAME_LEN = sizeof(PERFDATA_NAME) +
- UINT_CHARS + 1;
-
/* the PerfMemory class manages creation, destruction,
* and allocation of the PerfData region.
*/
class PerfMemory : AllStatic {
friend class VMStructs;
--- 93,110 ----
// data_type is T_ARRAY.
*/
} PerfDataEntry;
// Prefix of performance data file.
! extern const char PERFDATA_NAME[];
// UINT_CHARS contains the number of characters holding a process id
// (i.e. pid). pid is defined as unsigned "int" so the maximum possible pid value
// would be 2^32 - 1 (4294967295) which can be represented as a 10 characters
// string.
static const size_t UINT_CHARS = 10;
/* the PerfMemory class manages creation, destruction,
* and allocation of the PerfData region.
*/
class PerfMemory : AllStatic {
friend class VMStructs;
src/share/vm/runtime/perfMemory.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File