src/share/vm/runtime/perfMemory.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6772413 Cdiff src/share/vm/runtime/perfMemory.cpp

src/share/vm/runtime/perfMemory.cpp

Print this page

        

*** 23,32 **** --- 23,40 ---- */ # include "incls/_precompiled.incl" # include "incls/_perfMemory.cpp.incl" + // Prefix of performance data file. + const char PERFDATA_NAME[] = "hsperfdata"; + + // 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; + char* PerfMemory::_start = NULL; char* PerfMemory::_end = NULL; char* PerfMemory::_top = NULL; size_t PerfMemory::_capacity = 0; jint PerfMemory::_initialized = false;
src/share/vm/runtime/perfMemory.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File