> _holder = env->get_instance_klass(h_m()->method_holder()); > > So if jvmti is enabled, we could safepoint before we set the holder field and the method could be unloaded? Doesn't method handle (h_m) keep it alive? Best regards, Vladimir Ivanov