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 "incls/_precompiled.incl" |
25 #include "precompiled.hpp" |
26 # include "incls/_jvmtiExport.cpp.incl" |
26 #include "classfile/systemDictionary.hpp" |
|
27 #include "code/nmethod.hpp" |
|
28 #include "code/pcDesc.hpp" |
|
29 #include "code/scopeDesc.hpp" |
|
30 #include "interpreter/interpreter.hpp" |
|
31 #include "jvmtifiles/jvmtiEnv.hpp" |
|
32 #include "memory/resourceArea.hpp" |
|
33 #include "oops/objArrayKlass.hpp" |
|
34 #include "oops/objArrayOop.hpp" |
|
35 #include "prims/jvmtiCodeBlobEvents.hpp" |
|
36 #include "prims/jvmtiEventController.hpp" |
|
37 #include "prims/jvmtiEventController.inline.hpp" |
|
38 #include "prims/jvmtiExport.hpp" |
|
39 #include "prims/jvmtiImpl.hpp" |
|
40 #include "prims/jvmtiManageCapabilities.hpp" |
|
41 #include "prims/jvmtiRawMonitor.hpp" |
|
42 #include "prims/jvmtiTagMap.hpp" |
|
43 #include "prims/jvmtiThreadState.inline.hpp" |
|
44 #include "runtime/arguments.hpp" |
|
45 #include "runtime/handles.hpp" |
|
46 #include "runtime/interfaceSupport.hpp" |
|
47 #include "runtime/objectMonitor.hpp" |
|
48 #include "runtime/objectMonitor.inline.hpp" |
|
49 #include "runtime/thread.hpp" |
|
50 #include "runtime/vframe.hpp" |
|
51 #include "services/attachListener.hpp" |
|
52 #include "services/serviceUtil.hpp" |
|
53 #ifndef SERIALGC |
|
54 #include "gc_implementation/parallelScavenge/psMarkSweep.hpp" |
|
55 #endif |
27 |
56 |
28 #ifdef JVMTI_TRACE |
57 #ifdef JVMTI_TRACE |
29 #define EVT_TRACE(evt,out) if ((JvmtiTrace::event_trace_flags(evt) & JvmtiTrace::SHOW_EVENT_SENT) != 0) { SafeResourceMark rm; tty->print_cr out; } |
58 #define EVT_TRACE(evt,out) if ((JvmtiTrace::event_trace_flags(evt) & JvmtiTrace::SHOW_EVENT_SENT) != 0) { SafeResourceMark rm; tty->print_cr out; } |
30 #define EVT_TRIG_TRACE(evt,out) if ((JvmtiTrace::event_trace_flags(evt) & JvmtiTrace::SHOW_EVENT_TRIGGER) != 0) { SafeResourceMark rm; tty->print_cr out; } |
59 #define EVT_TRIG_TRACE(evt,out) if ((JvmtiTrace::event_trace_flags(evt) & JvmtiTrace::SHOW_EVENT_TRIGGER) != 0) { SafeResourceMark rm; tty->print_cr out; } |
31 #else |
60 #else |