equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
|
26 #include "jvm.h" |
26 #include "classfile/classFileStream.hpp" |
27 #include "classfile/classFileStream.hpp" |
27 #include "classfile/classLoader.hpp" |
28 #include "classfile/classLoader.hpp" |
28 #include "classfile/classLoaderData.inline.hpp" |
29 #include "classfile/classLoaderData.inline.hpp" |
29 #include "classfile/javaAssertions.hpp" |
30 #include "classfile/javaAssertions.hpp" |
30 #include "classfile/javaClasses.inline.hpp" |
31 #include "classfile/javaClasses.inline.hpp" |
44 #include "oops/instanceKlass.hpp" |
45 #include "oops/instanceKlass.hpp" |
45 #include "oops/method.hpp" |
46 #include "oops/method.hpp" |
46 #include "oops/objArrayKlass.hpp" |
47 #include "oops/objArrayKlass.hpp" |
47 #include "oops/objArrayOop.inline.hpp" |
48 #include "oops/objArrayOop.inline.hpp" |
48 #include "oops/oop.inline.hpp" |
49 #include "oops/oop.inline.hpp" |
49 #include "prims/jvm.h" |
|
50 #include "prims/jvm_misc.hpp" |
50 #include "prims/jvm_misc.hpp" |
51 #include "prims/jvmtiExport.hpp" |
51 #include "prims/jvmtiExport.hpp" |
52 #include "prims/jvmtiThreadState.hpp" |
52 #include "prims/jvmtiThreadState.hpp" |
53 #include "prims/nativeLookup.hpp" |
53 #include "prims/nativeLookup.hpp" |
54 #include "prims/privilegedStack.hpp" |
54 #include "prims/privilegedStack.hpp" |
213 |
213 |
214 // Wrapper to trace JVM functions |
214 // Wrapper to trace JVM functions |
215 |
215 |
216 #ifdef ASSERT |
216 #ifdef ASSERT |
217 Histogram* JVMHistogram; |
217 Histogram* JVMHistogram; |
218 volatile jint JVMHistogram_lock = 0; |
218 volatile int JVMHistogram_lock = 0; |
219 |
219 |
220 class JVMHistogramElement : public HistogramElement { |
220 class JVMHistogramElement : public HistogramElement { |
221 public: |
221 public: |
222 JVMHistogramElement(const char* name); |
222 JVMHistogramElement(const char* name); |
223 }; |
223 }; |
3764 info->patch_version = Abstract_VM_Version::vm_patch_version(); |
3764 info->patch_version = Abstract_VM_Version::vm_patch_version(); |
3765 |
3765 |
3766 // when we add a new capability in the jvm_version_info struct, we should also |
3766 // when we add a new capability in the jvm_version_info struct, we should also |
3767 // consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat |
3767 // consider to expose this new capability in the sun.rt.jvmCapabilities jvmstat |
3768 // counter defined in runtimeService.cpp. |
3768 // counter defined in runtimeService.cpp. |
3769 info->is_attachable = AttachListener::is_attach_supported(); |
3769 info->is_attach_supported = AttachListener::is_attach_supported(); |
3770 } |
3770 } |
3771 JVM_END |
3771 JVM_END |
3772 |
3772 |
3773 // Returns an array of java.lang.String objects containing the input arguments to the VM. |
3773 // Returns an array of java.lang.String objects containing the input arguments to the VM. |
3774 JVM_ENTRY(jobjectArray, JVM_GetVmArguments(JNIEnv *env)) |
3774 JVM_ENTRY(jobjectArray, JVM_GetVmArguments(JNIEnv *env)) |