8024483: assertion failure: (!mirror_alive || loader_alive) failed:

Reviewed-by: brutisso, tschatzl, mgerdin
This commit is contained in:
Jon Masamitsu 2013-11-08 06:14:21 -08:00
parent e9f0b9af4a
commit e2ef3e89e7

View File

@ -2524,6 +2524,9 @@ void CMSCollector::collect_in_foreground(bool clear_all_soft_refs, GCCause::Caus
// Snapshot the soft reference policy to be used in this collection cycle.
ref_processor()->setup_policy(clear_all_soft_refs);
// Decide if class unloading should be done
update_should_unload_classes();
bool init_mark_was_synchronous = false; // until proven otherwise
while (_collectorState != Idling) {
if (TraceCMSState) {