src/share/vm/runtime/perfMemory.cpp

changeset 869
de78b80cedec
parent 435
a61af66fc99e
child 905
ad8c8ca4ab0f
     1.1 --- a/src/share/vm/runtime/perfMemory.cpp	Thu Nov 13 14:50:04 2008 -0800
     1.2 +++ b/src/share/vm/runtime/perfMemory.cpp	Tue Nov 18 12:31:53 2008 -0800
     1.3 @@ -25,6 +25,14 @@
     1.4  # include "incls/_precompiled.incl"
     1.5  # include "incls/_perfMemory.cpp.incl"
     1.6  
     1.7 +// Prefix of performance data file.
     1.8 +const char               PERFDATA_NAME[] = "hsperfdata";
     1.9 +
    1.10 +// Add 1 for the '_' character between PERFDATA_NAME and pid. The '\0' terminating
    1.11 +// character will be included in the sizeof(PERFDATA_NAME) operation.
    1.12 +static const size_t PERFDATA_FILENAME_LEN = sizeof(PERFDATA_NAME) +
    1.13 +                                            UINT_CHARS + 1;
    1.14 +
    1.15  char*                    PerfMemory::_start = NULL;
    1.16  char*                    PerfMemory::_end = NULL;
    1.17  char*                    PerfMemory::_top = NULL;

mercurial