RFR(XS): 8059735: make_not_entrant_or_zombie sees zombies
tobias.hartmann at oracle.com
Tue Oct 7 11:03:04 UTC 2014
please review the following patch.
In 'NMethodSweeper::process_nmethod' a non-entrant nmethod is processed
and can be converted to zombie (line 549 of sweeper.cpp). To clean the
IC stubs of that nmethod  we acquire the CompiledIC_lock and check
for a safepoint. In this case, there is a safepoint request and we
block. During the safepoint a VM_Deoptimize operation is executed (due
to classloading) and the non-entrant nmethod is set to zombie by
'CodeCache::make_marked_nmethods_zombies'. After the safepoint the
sweeper continues and tries to set the nmethod to zombie again.
Use a MutexLockerEx with the '_no_safepoint_check_flag' to acquire the
- Failing tests
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev