mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +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
|
@ -37,6 +37,10 @@
|
|||
|
||||
// Inline functions for G1CollectedHeap
|
||||
|
||||
inline AllocationContextStats& G1CollectedHeap::allocation_context_stats() {
|
||||
return _allocation_context_stats;
|
||||
}
|
||||
|
||||
// Return the region with the given index. It assumes the index is valid.
|
||||
inline HeapRegion* G1CollectedHeap::region_at(uint index) const { return _hrm.at(index); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue