It's called once here:
http://hg.openjdk.java.net/jdk/jdk/file/0702191777c9/src/hotspot/share/oops/method.cpp#l1255
void Method::restore_unshareable_info(TRAPS) {
assert(is_method() && is_valid_method(this), "ensure C++ vtable is restored");
// Since restore_unshareable_info can be called more than once for a method, don't
// redo any work.
if (adapter() == NULL) {
methodHandle mh(THREAD, this);
link_method(mh, CHECK);
}
}
and once here:
http://hg.openjdk.java.net/jdk/jdk/file/0702191777c9/src/hotspot/share/oops/instanceKlass.cpp#l911
InstanceKlass::link_class_impl() -> InstanceKlass::link_methods() -> Method::link_method()
http://hg.openjdk.java.net/jdk/jdk/file/0702191777c9/src/hotspot/share/oops/method.cpp#l1255
void Method::restore_unshareable_info(TRAPS) {
assert(is_method() && is_valid_method(this), "ensure C++ vtable is restored");
// Since restore_unshareable_info can be called more than once for a method, don't
// redo any work.
if (adapter() == NULL) {
methodHandle mh(THREAD, this);
link_method(mh, CHECK);
}
}
and once here:
http://hg.openjdk.java.net/jdk/jdk/file/0702191777c9/src/hotspot/share/oops/instanceKlass.cpp#l911
InstanceKlass::link_class_impl() -> InstanceKlass::link_methods() -> Method::link_method()
- duplicates
-
JDK-8263002 Remove CDS MiscCode region
- Resolved
- relates to
-
JDK-8232222 Set state to 'linked' when an archived boot class is restored at runtime
- Closed
-
JDK-8028497 SIGSEGV at ClassLoaderData::oops_do(OopClosure*, KlassClosure*, bool)
- Closed