mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8057818: collect allocation context statistics at gc pauses
Reviewed-by: mikael, jmasa
This commit is contained in:
parent
0856ec5961
commit
40155ae18d
5 changed files with 19 additions and 1 deletions
|
@ -3596,7 +3596,7 @@ void G1CollectedHeap::gc_prologue(bool full /* Ignored */) {
|
|||
}
|
||||
}
|
||||
|
||||
void G1CollectedHeap::gc_epilogue(bool full /* Ignored */) {
|
||||
void G1CollectedHeap::gc_epilogue(bool full) {
|
||||
|
||||
if (G1SummarizeRSetStats &&
|
||||
(G1SummarizeRSetStatsPeriod > 0) &&
|
||||
|
@ -3613,6 +3613,7 @@ void G1CollectedHeap::gc_epilogue(bool full /* Ignored */) {
|
|||
// always_do_update_barrier = true;
|
||||
|
||||
resize_all_tlabs();
|
||||
allocation_context_stats().update(full);
|
||||
|
||||
// We have just completed a GC. Update the soft reference
|
||||
// policy with the new heap occupancy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue