Mercurial > hg > truffle
comparison src/share/vm/runtime/jniHandles.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children | d2a62e0f25eb |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
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 | |
25 #ifndef SHARE_VM_RUNTIME_JNIHANDLES_HPP | |
26 #define SHARE_VM_RUNTIME_JNIHANDLES_HPP | |
27 | |
28 #include "runtime/handles.hpp" | |
29 #include "utilities/top.hpp" | |
24 | 30 |
25 class JNIHandleBlock; | 31 class JNIHandleBlock; |
26 | 32 |
27 | 33 |
28 // Interface for creating and resolving local/global JNI handles | 34 // Interface for creating and resolving local/global JNI handles |
218 inline void JNIHandles::destroy_local(jobject handle) { | 224 inline void JNIHandles::destroy_local(jobject handle) { |
219 if (handle != NULL) { | 225 if (handle != NULL) { |
220 *((oop*)handle) = deleted_handle(); // Mark the handle as deleted, allocate will reuse it | 226 *((oop*)handle) = deleted_handle(); // Mark the handle as deleted, allocate will reuse it |
221 } | 227 } |
222 } | 228 } |
229 | |
230 #endif // SHARE_VM_RUNTIME_JNIHANDLES_HPP |