mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -1816,9 +1816,7 @@ void ConcurrentMark::cleanup() {
|
|||
|
||||
// this will also free any regions totally full of garbage objects,
|
||||
// and sort the regions.
|
||||
g1h->g1_policy()->record_concurrent_mark_cleanup_end(
|
||||
g1_par_note_end_task.freed_bytes(),
|
||||
g1_par_note_end_task.max_live_bytes());
|
||||
g1h->g1_policy()->record_concurrent_mark_cleanup_end();
|
||||
|
||||
// Statistics.
|
||||
double end = os::elapsedTime();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue