mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7088680: G1: Cleanup in the G1CollectorPolicy class
Removed unused fields and methods, removed the G1CollectoryPolicy_BestRegionsFirst class and folded its functionality into the G1CollectorPolicy class. Reviewed-by: ysr, brutisso, jcoomes
This commit is contained in:
parent
d1c6787aa1
commit
81bdd2ccc6
5 changed files with 59 additions and 203 deletions
|
@ -893,7 +893,7 @@ jint Universe::initialize_heap() {
|
|||
|
||||
} else if (UseG1GC) {
|
||||
#ifndef SERIALGC
|
||||
G1CollectorPolicy* g1p = new G1CollectorPolicy_BestRegionsFirst();
|
||||
G1CollectorPolicy* g1p = new G1CollectorPolicy();
|
||||
G1CollectedHeap* g1h = new G1CollectedHeap(g1p);
|
||||
Universe::_collectedHeap = g1h;
|
||||
#else // SERIALGC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue