hotspot/src/share/vm/memory/universe.cpp
changeset 10746 96f50959f650
parent 10565 dc90c239f4ec
child 10997 0be4b3be7197
equal deleted inserted replaced
10745:6b33ec421509 10746:96f50959f650
   891     fatal("UseParallelGC not supported in java kernel vm.");
   891     fatal("UseParallelGC not supported in java kernel vm.");
   892 #endif // SERIALGC
   892 #endif // SERIALGC
   893 
   893 
   894   } else if (UseG1GC) {
   894   } else if (UseG1GC) {
   895 #ifndef SERIALGC
   895 #ifndef SERIALGC
   896     G1CollectorPolicy* g1p = new G1CollectorPolicy_BestRegionsFirst();
   896     G1CollectorPolicy* g1p = new G1CollectorPolicy();
   897     G1CollectedHeap* g1h = new G1CollectedHeap(g1p);
   897     G1CollectedHeap* g1h = new G1CollectedHeap(g1p);
   898     Universe::_collectedHeap = g1h;
   898     Universe::_collectedHeap = g1h;
   899 #else  // SERIALGC
   899 #else  // SERIALGC
   900     fatal("UseG1GC not supported in java kernel vm.");
   900     fatal("UseG1GC not supported in java kernel vm.");
   901 #endif // SERIALGC
   901 #endif // SERIALGC