equal
deleted
inserted
replaced
260 // The sequence of all heap regions in the heap. |
260 // The sequence of all heap regions in the heap. |
261 HeapRegionManager _hrm; |
261 HeapRegionManager _hrm; |
262 |
262 |
263 // Class that handles the different kinds of allocations. |
263 // Class that handles the different kinds of allocations. |
264 G1Allocator* _allocator; |
264 G1Allocator* _allocator; |
|
265 |
|
266 // Statistics for each allocation context |
|
267 AllocationContextStats _allocation_context_stats; |
265 |
268 |
266 // PLAB sizing policy for survivors. |
269 // PLAB sizing policy for survivors. |
267 PLABStats _survivor_plab_stats; |
270 PLABStats _survivor_plab_stats; |
268 |
271 |
269 // PLAB sizing policy for tenured objects. |
272 // PLAB sizing policy for tenured objects. |
654 return stats; |
657 return stats; |
655 } |
658 } |
656 |
659 |
657 // Determines PLAB size for a particular allocation purpose. |
660 // Determines PLAB size for a particular allocation purpose. |
658 size_t desired_plab_sz(GCAllocPurpose purpose); |
661 size_t desired_plab_sz(GCAllocPurpose purpose); |
|
662 |
|
663 inline AllocationContextStats& allocation_context_stats(); |
659 |
664 |
660 // Do anything common to GC's. |
665 // Do anything common to GC's. |
661 virtual void gc_prologue(bool full); |
666 virtual void gc_prologue(bool full); |
662 virtual void gc_epilogue(bool full); |
667 virtual void gc_epilogue(bool full); |
663 |
668 |