12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "jvm.h"
27 #include "logging/log.hpp"
28 #include "memory/allocation.inline.hpp"
29 #include "runtime/arguments.hpp"
30 #include "runtime/java.hpp"
31 #include "runtime/mutex.hpp"
32 #include "runtime/mutexLocker.hpp"
33 #include "runtime/orderAccess.hpp"
34 #include "runtime/os.hpp"
35 #include "runtime/perfData.hpp"
36 #include "runtime/perfMemory.hpp"
37 #include "runtime/safepoint.hpp"
38 #include "runtime/statSampler.hpp"
39 #include "utilities/align.hpp"
40 #include "utilities/globalDefinitions.hpp"
41
42 // Prefix of performance data file.
43 const char PERFDATA_NAME[] = "hsperfdata";
44
45 // Add 1 for the '_' character between PERFDATA_NAME and pid. The '\0' terminating
46 // character will be included in the sizeof(PERFDATA_NAME) operation.
47 static const size_t PERFDATA_FILENAME_LEN = sizeof(PERFDATA_NAME) +
48 UINT_CHARS + 1;
49
50 char* PerfMemory::_start = NULL;
51 char* PerfMemory::_end = NULL;
52 char* PerfMemory::_top = NULL;
|
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #include "precompiled.hpp"
26 #include "jvm.h"
27 #include "logging/log.hpp"
28 #include "memory/allocation.inline.hpp"
29 #include "runtime/arguments.hpp"
30 #include "runtime/java.hpp"
31 #include "runtime/mutex.hpp"
32 #include "runtime/mutexLocker.inline.hpp"
33 #include "runtime/orderAccess.hpp"
34 #include "runtime/os.hpp"
35 #include "runtime/perfData.hpp"
36 #include "runtime/perfMemory.hpp"
37 #include "runtime/safepoint.hpp"
38 #include "runtime/statSampler.hpp"
39 #include "utilities/align.hpp"
40 #include "utilities/globalDefinitions.hpp"
41
42 // Prefix of performance data file.
43 const char PERFDATA_NAME[] = "hsperfdata";
44
45 // Add 1 for the '_' character between PERFDATA_NAME and pid. The '\0' terminating
46 // character will be included in the sizeof(PERFDATA_NAME) operation.
47 static const size_t PERFDATA_FILENAME_LEN = sizeof(PERFDATA_NAME) +
48 UINT_CHARS + 1;
49
50 char* PerfMemory::_start = NULL;
51 char* PerfMemory::_end = NULL;
52 char* PerfMemory::_top = NULL;
|