1 /* |
1 /* |
2 * Copyright (c) 2001, 2005, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
|
25 #include "precompiled.hpp" |
|
26 #include "classfile/vmSymbols.hpp" |
|
27 #include "memory/allocation.inline.hpp" |
|
28 #include "memory/resourceArea.hpp" |
|
29 #include "oops/oop.inline.hpp" |
|
30 #include "prims/jni.h" |
|
31 #include "prims/jvm.h" |
|
32 #include "runtime/interfaceSupport.hpp" |
|
33 #include "runtime/perfData.hpp" |
|
34 #include "runtime/perfMemory.hpp" |
|
35 |
25 /* |
36 /* |
26 * Implementation of class sun.misc.Perf |
37 * Implementation of class sun.misc.Perf |
27 */ |
38 */ |
28 |
|
29 #include "incls/_precompiled.incl" |
|
30 #include "incls/_perf.cpp.incl" |
|
31 |
39 |
32 |
40 |
33 #define PERF_ENTRY(result_type, header) \ |
41 #define PERF_ENTRY(result_type, header) \ |
34 JVM_ENTRY(result_type, header) |
42 JVM_ENTRY(result_type, header) |
35 |
43 |