Mercurial > hg > graal-compiler
diff src/share/vm/runtime/jniHandles.hpp @ 1010:354d3184f6b2
6890308: integrate zero assembler hotspot changes
Reviewed-by: never
Contributed-by: gbenson@redhat.com
author | never |
---|---|
date | Tue, 13 Oct 2009 12:04:21 -0700 |
parents | 1760a1cbed36 |
children | 892898e961c5 |
line wrap: on
line diff
--- a/src/share/vm/runtime/jniHandles.hpp Wed Oct 07 15:38:37 2009 -0700 +++ b/src/share/vm/runtime/jniHandles.hpp Tue Oct 13 12:04:21 2009 -0700 @@ -99,6 +99,8 @@ class JNIHandleBlock : public CHeapObj { friend class VMStructs; + friend class CppInterpreter; + private: enum SomeConstants { block_size_in_oops = 32 // Number of handles per handle block @@ -126,9 +128,11 @@ // Fill block with bad_handle values void zap(); + protected: // No more handles in the both the current and following blocks void clear() { _top = 0; } + private: // Free list computation void rebuild_free_list();