< prev index next >
src/hotspot/share/gc/shared/collectedHeap.hpp
Print this page
rev 49851 : imported patch 8191471-g1-varying-tlab-allocation
rev 49853 : [mq]: 8191471-tschatzl-comments
*** 124,134 ****
// Constructor
CollectedHeap();
// Create a new tlab. All TLAB allocations must go through this.
! virtual HeapWord* allocate_new_tlab(size_t size);
// Accumulate statistics on all tlabs.
virtual void accumulate_statistics_all_tlabs();
// Reinitialize tlabs before resuming mutators.
--- 124,140 ----
// Constructor
CollectedHeap();
// Create a new tlab. All TLAB allocations must go through this.
! // To allow more flexible TLAB allocations min_word_size specifies
! // the minimum size needed, while desired_word_size is the requested
! // size based on ergonomics. The actually allocated size will be
! // filled out in actual_word_size.
! virtual HeapWord* allocate_new_tlab(size_t min_word_size,
! size_t desired_word_size,
! size_t* actual_word_size);
// Accumulate statistics on all tlabs.
virtual void accumulate_statistics_all_tlabs();
// Reinitialize tlabs before resuming mutators.
< prev index next >