src/share/vm/prims/whitebox.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/prims/whitebox.hpp

src/share/vm/prims/whitebox.hpp

Print this page
rev 7349 : 8064669: compiler/whitebox/AllocationCodeBlobTest.java crashes / asserts
Reviewed-by:

*** 25,34 **** --- 25,35 ---- #ifndef SHARE_VM_PRIMS_WHITEBOX_HPP #define SHARE_VM_PRIMS_WHITEBOX_HPP #include "prims/jni.h" + #include "utilities/exceptions.hpp" #include "memory/allocation.hpp" #include "oops/oopsHierarchy.hpp" #include "oops/symbol.hpp" #include "runtime/interfaceSupport.hpp"
*** 54,63 **** --- 55,65 ---- } \ } while (0) class CodeBlob; class CodeHeap; + class JavaThread; class WhiteBox : public AllStatic { private: static bool _used; public:
*** 66,76 **** static void set_used() { _used = true; } static int offset_for_field(const char* field_name, oop object, Symbol* signature_symbol); static const char* lookup_jstring(const char* field_name, oop object); static bool lookup_bool(const char* field_name, oop object); ! static void force_sweep(); static int get_blob_type(const CodeBlob* code); static CodeHeap* get_code_heap(int blob_type); static CodeBlob* allocate_code_blob(int blob_type, int size); static int array_bytes_to_length(size_t bytes); static void register_methods(JNIEnv* env, jclass wbclass, JavaThread* thread, --- 68,79 ---- static void set_used() { _used = true; } static int offset_for_field(const char* field_name, oop object, Symbol* signature_symbol); static const char* lookup_jstring(const char* field_name, oop object); static bool lookup_bool(const char* field_name, oop object); ! static void sweeper_thread_entry(JavaThread* thread, TRAPS); ! static JavaThread* create_sweeper_thread(TRAPS); static int get_blob_type(const CodeBlob* code); static CodeHeap* get_code_heap(int blob_type); static CodeBlob* allocate_code_blob(int blob_type, int size); static int array_bytes_to_length(size_t bytes); static void register_methods(JNIEnv* env, jclass wbclass, JavaThread* thread,
src/share/vm/prims/whitebox.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File