< prev index next >
src/hotspot/share/gc/shared/collectedHeap.hpp
Print this page
rev 47590 : [mq]: heap8
rev 47591 : [mq]: heap10a
rev 47592 : [mq]: heap14_rebased
rev 47593 : [mq]: heap15
*** 144,154 ****
// Allocate from the current thread's TLAB, with broken-out slow path.
inline static HeapWord* allocate_from_tlab(Klass* klass, Thread* thread, size_t size);
static HeapWord* allocate_from_tlab_slow(Klass* klass, Thread* thread, size_t size);
// Sample the allocation via HeapMonitoring.
! // overflowed_words represents the number of HeapWords that went passed the
// sampling boundary. This is used to fix the next sampling rate.
static void sample_allocation(Thread* thread, HeapWord* obj, size_t size,
size_t overflowed_words = 0);
// Try to allocate the object we want to sample in this tlab, returns NULL if
// fails to allocate.
--- 144,154 ----
// Allocate from the current thread's TLAB, with broken-out slow path.
inline static HeapWord* allocate_from_tlab(Klass* klass, Thread* thread, size_t size);
static HeapWord* allocate_from_tlab_slow(Klass* klass, Thread* thread, size_t size);
// Sample the allocation via HeapMonitoring.
! // overflowed_words represents the number of HeapWords that went past the
// sampling boundary. This is used to fix the next sampling rate.
static void sample_allocation(Thread* thread, HeapWord* obj, size_t size,
size_t overflowed_words = 0);
// Try to allocate the object we want to sample in this tlab, returns NULL if
// fails to allocate.
< prev index next >