src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp

changeset 8112
1bfa56af8869
parent 8106
ea47136e6ea4
parent 7957
9613775cef0d
child 8226
ecbeafff096f
equal deleted inserted replaced
8109:884effd52993 8112:1bfa56af8869
3337 } 3337 }
3338 3338
3339 // Not unloading classes this cycle 3339 // Not unloading classes this cycle
3340 assert(!should_unload_classes(), "Inconsitency!"); 3340 assert(!should_unload_classes(), "Inconsitency!");
3341 3341
3342 // If we are not unloading classes then add SO_AllCodeCache to root
3343 // scanning options.
3344 add_root_scanning_option(rso);
3345
3342 if ((!verifying() || unloaded_classes_last_cycle()) && should_verify) { 3346 if ((!verifying() || unloaded_classes_last_cycle()) && should_verify) {
3343 // Include symbols, strings and code cache elements to prevent their resurrection.
3344 add_root_scanning_option(rso);
3345 set_verifying(true); 3347 set_verifying(true);
3346 } else if (verifying() && !should_verify) { 3348 } else if (verifying() && !should_verify) {
3347 // We were verifying, but some verification flags got disabled. 3349 // We were verifying, but some verification flags got disabled.
3348 set_verifying(false); 3350 set_verifying(false);
3349 // Exclude symbols, strings and code cache elements from root scanning to 3351 // Exclude symbols, strings and code cache elements from root scanning to

mercurial