< prev index next >

src/hotspot/share/gc/shared/collectedHeap.inline.hpp

Print this page
rev 48551 : [mq]: heap8
rev 48559 : [mq]: heap20

@@ -156,11 +156,13 @@
            "Unexpected exception, will result in uninitialized storage");
     THREAD->incr_allocated_bytes(size * HeapWordSize);
 
     AllocTracer::send_allocation_outside_tlab(klass, result, size * HeapWordSize, THREAD);
 
+    if (UseTLAB) {
     THREAD->tlab().handle_sample(THREAD, result, size);
+    }
     return result;
   }
 
 
   if (!gc_overhead_limit_was_exceeded) {
< prev index next >