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

changeset 6971
7426d8d76305
parent 6968
9fec19bb0659
child 6978
30c99d8e0f02
     1.1 --- a/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp	Mon Feb 10 12:58:09 2014 +0100
     1.2 +++ b/src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp	Thu Feb 13 17:44:39 2014 +0100
     1.3 @@ -3040,7 +3040,6 @@
     1.4                                  true,   // activate StrongRootsScope
     1.5                                  SharedHeap::ScanningOption(roots_scanning_options()),
     1.6                                  &notOlder,
     1.7 -                                true,   // walk code active on stacks
     1.8                                  NULL,
     1.9                                  NULL); // SSS: Provide correct closure
    1.10  
    1.11 @@ -3107,7 +3106,6 @@
    1.12                                  true,   // activate StrongRootsScope
    1.13                                  SharedHeap::ScanningOption(roots_scanning_options()),
    1.14                                  &notOlder,
    1.15 -                                true,   // walk code active on stacks
    1.16                                  NULL,
    1.17                                  &klass_closure);
    1.18  
    1.19 @@ -3686,12 +3684,6 @@
    1.20    ResourceMark rm;
    1.21    HandleMark  hm;
    1.22  
    1.23 -  FalseClosure falseClosure;
    1.24 -  // In the case of a synchronous collection, we will elide the
    1.25 -  // remark step, so it's important to catch all the nmethod oops
    1.26 -  // in this step.
    1.27 -  // The final 'true' flag to gen_process_strong_roots will ensure this.
    1.28 -  // If 'async' is true, we can relax the nmethod tracing.
    1.29    MarkRefsIntoClosure notOlder(_span, &_markBitMap);
    1.30    GenCollectedHeap* gch = GenCollectedHeap::heap();
    1.31  
    1.32 @@ -3744,7 +3736,6 @@
    1.33                                      true,   // activate StrongRootsScope
    1.34                                      SharedHeap::ScanningOption(roots_scanning_options()),
    1.35                                      &notOlder,
    1.36 -                                    true,   // walk all of code cache if (so & SO_AllCodeCache)
    1.37                                      NULL,
    1.38                                      &klass_closure);
    1.39      }
    1.40 @@ -5243,7 +5234,6 @@
    1.41                                  false,     // this is parallel code
    1.42                                  SharedHeap::ScanningOption(_collector->CMSCollector::roots_scanning_options()),
    1.43                                  &par_mri_cl,
    1.44 -                                true,   // walk all of code cache if (so & SO_AllCodeCache)
    1.45                                  NULL,
    1.46                                  &klass_closure);
    1.47    assert(_collector->should_unload_classes()
    1.48 @@ -5379,7 +5369,6 @@
    1.49                                  false,     // this is parallel code
    1.50                                  SharedHeap::ScanningOption(_collector->CMSCollector::roots_scanning_options()),
    1.51                                  &par_mrias_cl,
    1.52 -                                true,   // walk all of code cache if (so & SO_AllCodeCache)
    1.53                                  NULL,
    1.54                                  NULL);     // The dirty klasses will be handled below
    1.55    assert(_collector->should_unload_classes()
    1.56 @@ -5969,7 +5958,6 @@
    1.57                                    false, // use the local StrongRootsScope
    1.58                                    SharedHeap::ScanningOption(roots_scanning_options()),
    1.59                                    &mrias_cl,
    1.60 -                                  true,   // walk code active on stacks
    1.61                                    NULL,
    1.62                                    NULL);  // The dirty klasses will be handled below
    1.63  

mercurial