< prev index next >

src/hotspot/share/aot/aotCompiledMethod.cpp

Print this page
rev 54838 : [mq]: 8221734-v2
rev 54839 : [mq]: 8221734-v3

*** 186,196 **** method()->set_aot_code(NULL); } #endif // Remove AOTCompiledMethod from method. ! Method::unlink_code(method(), this); } // leave critical region under CompiledMethod_lock if (TraceCreateZombies) { ResourceMark m; --- 186,198 ---- method()->set_aot_code(NULL); } #endif // Remove AOTCompiledMethod from method. ! if (method() != NULL) { ! method()->unlink_code(this); ! } } // leave critical region under CompiledMethod_lock if (TraceCreateZombies) { ResourceMark m;
< prev index next >