Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/memory/universe.cpp Thu Oct 13 13:54:29 2011 -0400 +++ b/src/share/vm/memory/universe.cpp Fri Oct 14 11:12:24 2011 -0400 @@ -893,7 +893,7 @@ } else if (UseG1GC) { #ifndef SERIALGC - G1CollectorPolicy* g1p = new G1CollectorPolicy_BestRegionsFirst(); + G1CollectorPolicy* g1p = new G1CollectorPolicy(); G1CollectedHeap* g1h = new G1CollectedHeap(g1p); Universe::_collectedHeap = g1h; #else // SERIALGC