1 /* |
1 /* |
2 * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2013, 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. |
23 */ |
23 */ |
24 |
24 |
25 #ifndef SHARE_VM_PRIMS_JVMTIIMPL_HPP |
25 #ifndef SHARE_VM_PRIMS_JVMTIIMPL_HPP |
26 #define SHARE_VM_PRIMS_JVMTIIMPL_HPP |
26 #define SHARE_VM_PRIMS_JVMTIIMPL_HPP |
27 |
27 |
28 #ifndef JVMTI_KERNEL |
|
29 |
|
30 #include "classfile/systemDictionary.hpp" |
28 #include "classfile/systemDictionary.hpp" |
31 #include "jvmtifiles/jvmti.h" |
29 #include "jvmtifiles/jvmti.h" |
32 #include "oops/objArrayOop.hpp" |
30 #include "oops/objArrayOop.hpp" |
33 #include "prims/jvmtiEnvThreadState.hpp" |
31 #include "prims/jvmtiEnvThreadState.hpp" |
34 #include "prims/jvmtiEventController.hpp" |
32 #include "prims/jvmtiEventController.hpp" |
433 static bool resume(JavaThread *java_thread); |
431 static bool resume(JavaThread *java_thread); |
434 |
432 |
435 static void print(); |
433 static void print(); |
436 }; |
434 }; |
437 |
435 |
438 #endif // !JVMTI_KERNEL |
|
439 |
436 |
440 /** |
437 /** |
441 * When a thread (such as the compiler thread or VM thread) cannot post a |
438 * When a thread (such as the compiler thread or VM thread) cannot post a |
442 * JVMTI event itself because the event needs to be posted from a Java |
439 * JVMTI event itself because the event needs to be posted from a Java |
443 * thread, then it can defer the event to the Service thread for posting. |
440 * thread, then it can defer the event to the Service thread for posting. |