diff -r 30aca1e755bf -r 96230a5ef2ec src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp --- a/src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp Thu Apr 11 01:21:11 2019 +0200 +++ b/src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp Wed Apr 10 17:29:03 2019 -0700 @@ -236,7 +236,7 @@ // Don't hold the lock over the notify or jmethodID creation MutexUnlockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag); current->get_and_cache_jmethod_id(); - JvmtiExport::post_compiled_method_load(current); + JvmtiExport::post_compiled_method_load(env, current); } return JVMTI_ERROR_NONE; }