< prev index next >

src/share/vm/gc/shared/collectedHeap.hpp

Print this page
rev 13139 : [mq]: heap7

@@ -141,10 +141,13 @@
 
   // 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);
 
+  // Handle if needed heap sampling.
+  static HeapWord* handle_heap_sampling(Thread* thread, HeapWord* obj, size_t size);
+
   // Allocate an uninitialized block of the given size, or returns NULL if
   // this is impossible.
   inline static HeapWord* common_mem_allocate_noinit(Klass* klass, size_t size, TRAPS);
 
   // Like allocate_init, but the block returned by a successful allocation
< prev index next >