src/share/vm/jvmci/jvmciCompilerToVM.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
hotspot Cdiff src/share/vm/jvmci/jvmciCompilerToVM.hpp
src/share/vm/jvmci/jvmciCompilerToVM.hpp
Print this page
*** 123,132 ****
--- 123,136 ----
static inline Klass* asKlass(oop jvmci_type) {
return java_lang_Class::as_Klass(HotSpotResolvedObjectTypeImpl::javaClass(jvmci_type));
}
+ static inline Klass* asKlass(jlong metaspaceKlass) {
+ return (Klass*) (address) metaspaceKlass;
+ }
+
static inline MethodData* asMethodData(jlong metaspaceMethodData) {
return (MethodData*) (address) metaspaceMethodData;
}
static oop get_jvmci_method(const methodHandle& method, TRAPS);
src/share/vm/jvmci/jvmciCompilerToVM.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File