src/share/vm/memory/defNewGeneration.cpp

changeset 6968
9fec19bb0659
parent 6912
c49dcaf78a65
child 6971
7426d8d76305
     1.1 --- a/src/share/vm/memory/defNewGeneration.cpp	Thu Aug 07 15:02:18 2014 -0700
     1.2 +++ b/src/share/vm/memory/defNewGeneration.cpp	Tue Jan 14 16:40:33 2014 +0100
     1.3 @@ -622,13 +622,12 @@
     1.4    assert(gch->no_allocs_since_save_marks(0),
     1.5           "save marks have not been newly set.");
     1.6  
     1.7 -  int so = SharedHeap::SO_AllClasses | SharedHeap::SO_Strings | SharedHeap::SO_CodeCache;
     1.8 +  int so = SharedHeap::SO_AllClasses | SharedHeap::SO_Strings | SharedHeap::SO_ScavengeCodeCache;
     1.9  
    1.10    gch->gen_process_strong_roots(_level,
    1.11                                  true,  // Process younger gens, if any,
    1.12                                         // as strong roots.
    1.13                                  true,  // activate StrongRootsScope
    1.14 -                                true,  // is scavenging
    1.15                                  SharedHeap::ScanningOption(so),
    1.16                                  &fsc_with_no_gc_barrier,
    1.17                                  true,   // walk *all* scavengable nmethods

mercurial