mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8248359: Update JVMCI
Reviewed-by: kvn, never
This commit is contained in:
parent
eb78035d05
commit
03d47d58d6
16 changed files with 799 additions and 505 deletions
|
@ -124,7 +124,7 @@
|
|||
object_field(HotSpotCompiledNmethod, installationFailureMessage, "Ljava/lang/String;") \
|
||||
int_field(HotSpotCompiledNmethod, entryBCI) \
|
||||
int_field(HotSpotCompiledNmethod, id) \
|
||||
long_field(HotSpotCompiledNmethod, compileState) \
|
||||
long_field(HotSpotCompiledNmethod, compileState) \
|
||||
boolean_field(HotSpotCompiledNmethod, hasUnsafeAccess) \
|
||||
end_class \
|
||||
start_class(HotSpotForeignCallTarget, jdk_vm_ci_hotspot_HotSpotForeignCallTarget) \
|
||||
|
@ -544,7 +544,7 @@ class HotSpotJVMCI {
|
|||
static void check(JVMCIEnv* jvmciEnv, JVMCIObject obj, const char* field_name, jfieldID offset); \
|
||||
static jclass _class; \
|
||||
public: \
|
||||
static jclass clazz() { assert(_class != NULL, #fullClassName " uninitialized"); return _class; } \
|
||||
static jclass clazz() { assert(_class != NULL, #fullClassName " uninitialized"); return _class; } \
|
||||
static jclass fullClassName ##_class() { assert(_class != NULL, "uninit"); return _class; }
|
||||
|
||||
#undef METHOD
|
||||
|
@ -639,6 +639,7 @@ class JNIJVMCI {
|
|||
|
||||
static void initialize_ids(JNIEnv* env);
|
||||
static void initialize_field_id(JNIEnv* env, jfieldID &dest_offset, jclass klass, const char* klass_name, const char* name, const char* signature, bool static_field);
|
||||
static void register_natives(JNIEnv* env);
|
||||
|
||||
static jobject resolve_handle(JVMCIObject obj) { return obj.as_jobject(); }
|
||||
static JVMCIObject wrap(jobject obj) { return JVMCIObject(obj, false); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue