< prev index next >

src/hotspot/share/runtime/sweeper.cpp

Print this page

        

*** 672,682 **** // since safepoints may happen during acquired below locks. CompiledMethodMarker nmm(cm); SWEEP(cm); // Skip methods that are currently referenced by the VM ! if (cm->is_locked_by_vm()) { // But still remember to clean-up inline caches for alive nmethods if (cm->is_alive()) { // Clean inline caches that point to zombie/non-entrant/unloaded nmethods cm->cleanup_inline_caches(false); SWEEP(cm); --- 672,682 ---- // since safepoints may happen during acquired below locks. CompiledMethodMarker nmm(cm); SWEEP(cm); // Skip methods that are currently referenced by the VM ! if (cm->is_locked_by_vm() || cm->is_on_continuation_stack()) { // But still remember to clean-up inline caches for alive nmethods if (cm->is_alive()) { // Clean inline caches that point to zombie/non-entrant/unloaded nmethods cm->cleanup_inline_caches(false); SWEEP(cm);
< prev index next >