equal
deleted
inserted
replaced
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 |