src/hotspot/share/oops/method.cpp
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File
*** old/src/hotspot/share/oops/method.cpp	Thu Mar 28 11:23:01 2019
--- new/src/hotspot/share/oops/method.cpp	Thu Mar 28 11:23:00 2019

*** 114,123 **** --- 114,128 ---- // Release Method*. The nmethod will be gone when we get here because // we've walked the code cache. void Method::deallocate_contents(ClassLoaderData* loader_data) { MetadataFactory::free_metadata(loader_data, constMethod()); set_constMethod(NULL); + #if INCLUDE_JVMCI + if (method_data()) { + FailedSpeculation::free_failed_speculations(method_data()->get_failed_speculations_address()); + } + #endif MetadataFactory::free_metadata(loader_data, method_data()); set_method_data(NULL); MetadataFactory::free_metadata(loader_data, method_counters()); clear_method_counters(); // The nmethod will be gone when we get here.

src/hotspot/share/oops/method.cpp
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File