comparison src/share/vm/memory/universe.cpp @ 4013:074f0252cc13

7088680: G1: Cleanup in the G1CollectorPolicy class Summary: Removed unused fields and methods, removed the G1CollectoryPolicy_BestRegionsFirst class and folded its functionality into the G1CollectorPolicy class. Reviewed-by: ysr, brutisso, jcoomes
author tonyp
date Fri, 14 Oct 2011 11:12:24 -0400
parents f08d439fab8c
children 53074c2c4600
comparison
equal deleted inserted replaced
4012:ec4b032a4977 4013:074f0252cc13
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