< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/GraalHotSpotVMConfig.java
Print this page
*** 278,295 ****
} catch (JVMCIError e) {
}
if (offset == -1) {
try {
! offset = getFieldOffset(name, Integer.class, "jobject");
isHandle = true;
} catch (JVMCIError e) {
}
}
if (offset == -1) {
! throw new JVMCIError("cannot get offset of field " + name + " with type oop or jobject");
}
classMirrorOffset = offset;
classMirrorIsHandle = isHandle;
}
--- 278,295 ----
} catch (JVMCIError e) {
}
if (offset == -1) {
try {
! offset = getFieldOffset(name, Integer.class, "OopHandle");
isHandle = true;
} catch (JVMCIError e) {
}
}
if (offset == -1) {
! throw new JVMCIError("cannot get offset of field " + name + " with type oop or OopHandle");
}
classMirrorOffset = offset;
classMirrorIsHandle = isHandle;
}
< prev index next >