1.1 --- a/src/share/vm/prims/whitebox.hpp Wed Oct 14 16:43:13 2020 +0800 1.2 +++ b/src/share/vm/prims/whitebox.hpp Wed Oct 14 17:44:48 2020 +0800 1.3 @@ -64,11 +64,13 @@ 1.4 Symbol* signature_symbol); 1.5 static const char* lookup_jstring(const char* field_name, oop object); 1.6 static bool lookup_bool(const char* field_name, oop object); 1.7 - 1.8 + static int get_blob_type(const CodeBlob* code); 1.9 + static CodeBlob* allocate_code_blob(int size, int blob_type); 1.10 static int array_bytes_to_length(size_t bytes); 1.11 static void register_methods(JNIEnv* env, jclass wbclass, JavaThread* thread, 1.12 JNINativeMethod* method_array, int method_count); 1.13 static void register_extended(JNIEnv* env, jclass wbclass, JavaThread* thread); 1.14 + static bool compile_method(Method* method, int comp_level, int bci, Thread* THREAD); 1.15 }; 1.16 1.17