src/share/vm/runtime/jniHandles.hpp
Print this page
@@ -20,10 +20,16 @@
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+#ifndef SHARE_VM_RUNTIME_JNIHANDLES_HPP
+#define SHARE_VM_RUNTIME_JNIHANDLES_HPP
+
+#include "runtime/handles.hpp"
+#include "utilities/top.hpp"
+
class JNIHandleBlock;
// Interface for creating and resolving local/global JNI handles
@@ -218,5 +224,7 @@
inline void JNIHandles::destroy_local(jobject handle) {
if (handle != NULL) {
*((oop*)handle) = deleted_handle(); // Mark the handle as deleted, allocate will reuse it
}
}
+
+#endif // SHARE_VM_RUNTIME_JNIHANDLES_HPP