diff src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp @ 8502:ff4fa8b0516e

-Create push patch
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Wed, 20 Mar 2013 20:13:08 +0100
parents 992f62c457b0
children 86b4965f0c9a
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Wed Mar 06 19:35:04 2013 +0100
+++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Wed Mar 20 20:13:08 2013 +0100
@@ -854,7 +854,9 @@
   assert(!isHumongous(word_size), "we do not allow humongous TLABs");
 
   unsigned int dummy_gc_count_before;
-  return attempt_allocation(word_size, &dummy_gc_count_before);
+  HeapWord* word=attempt_allocation(word_size, &dummy_gc_count_before);
+  tty->print_cr("Allocate new TLAB at 0x%16lx",(oop) word);
+  return word;
 }
 
 HeapWord*