< prev index next >

src/hotspot/share/gc/g1/g1Arguments.cpp

Print this page
rev 52613 : webrev.01

@@ -145,7 +145,11 @@
 
   initialize_verification_types();
 }
 
 CollectedHeap* G1Arguments::create_heap() {
+  if(AllocateOldGenAt != NULL) {
+    return create_heap_with_policy<G1CollectedHeap, G1HeteroCollectorPolicy>();
+  }
   return create_heap_with_policy<G1CollectedHeap, G1CollectorPolicy>();
+  
 }
< prev index next >