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

changeset 8112
1bfa56af8869
parent 8106
ea47136e6ea4
parent 7957
9613775cef0d
child 8226
ecbeafff096f
     1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp	Wed Jul 08 15:25:40 2015 -0700
     1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp	Wed Jul 15 14:16:46 2015 -0700
     1.3 @@ -3339,9 +3339,11 @@
     1.4    // Not unloading classes this cycle
     1.5    assert(!should_unload_classes(), "Inconsitency!");
     1.6  
     1.7 +  // If we are not unloading classes then add SO_AllCodeCache to root
     1.8 +  // scanning options.
     1.9 +  add_root_scanning_option(rso);
    1.10 +
    1.11    if ((!verifying() || unloaded_classes_last_cycle()) && should_verify) {
    1.12 -    // Include symbols, strings and code cache elements to prevent their resurrection.
    1.13 -    add_root_scanning_option(rso);
    1.14      set_verifying(true);
    1.15    } else if (verifying() && !should_verify) {
    1.16      // We were verifying, but some verification flags got disabled.

mercurial