diff src/share/vm/gc_implementation/g1/g1MarkSweep.cpp @ 20258:64ac9c55d666

8034764: Use process_strong_roots to adjust the StringTable Reviewed-by: tschatzl, brutisso
author stefank
date Fri, 14 Feb 2014 09:29:56 +0100
parents 7426d8d76305
children 2c6ef90f030a
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp	Thu Feb 13 17:44:39 2014 +0100
+++ b/src/share/vm/gc_implementation/g1/g1MarkSweep.cpp	Fri Feb 14 09:29:56 2014 +0100
@@ -307,7 +307,7 @@
   ClassLoaderDataGraph::clear_claimed_marks();
 
   sh->process_strong_roots(true,  // activate StrongRootsScope
-                           SharedHeap::SO_AllClasses | SharedHeap::SO_AllCodeCache,
+                           SharedHeap::SO_AllClasses | SharedHeap::SO_Strings | SharedHeap::SO_AllCodeCache,
                            &GenMarkSweep::adjust_pointer_closure,
                            &GenMarkSweep::adjust_klass_closure);