src/share/vm/memory/defNewGeneration.cpp

changeset 1424
148e5441d916
parent 892
27a80744a83b
child 1580
e018e6884bd8
     1.1 --- a/src/share/vm/memory/defNewGeneration.cpp	Tue Sep 15 11:09:34 2009 -0700
     1.2 +++ b/src/share/vm/memory/defNewGeneration.cpp	Tue Sep 15 21:53:47 2009 -0700
     1.3 @@ -555,12 +555,14 @@
     1.4           "save marks have not been newly set.");
     1.5  
     1.6    gch->gen_process_strong_roots(_level,
     1.7 -                                true, // Process younger gens, if any, as
     1.8 -                                      // strong roots.
     1.9 -                                false,// not collecting permanent generation.
    1.10 +                                true,  // Process younger gens, if any,
    1.11 +                                       // as strong roots.
    1.12 +                                true,  // activate StrongRootsScope
    1.13 +                                false, // not collecting perm generation.
    1.14                                  SharedHeap::SO_AllClasses,
    1.15 -                                &fsc_with_gc_barrier,
    1.16 -                                &fsc_with_no_gc_barrier);
    1.17 +                                &fsc_with_no_gc_barrier,
    1.18 +                                true,   // walk *all* scavengable nmethods
    1.19 +                                &fsc_with_gc_barrier);
    1.20  
    1.21    // "evacuate followers".
    1.22    evacuate_followers.do_void();

mercurial