changeset 1668 | 8ec481b8f514 |
parent 1 | 489c9b5090e2 |
child 2105 | 347008ce7984 |
--- a/hotspot/src/share/vm/memory/threadLocalAllocBuffer.cpp Wed Dec 10 23:46:10 2008 -0800 +++ b/hotspot/src/share/vm/memory/threadLocalAllocBuffer.cpp Thu Dec 11 12:05:08 2008 -0800 @@ -100,8 +100,7 @@ void ThreadLocalAllocBuffer::make_parsable(bool retire) { if (end() != NULL) { invariants(); - MemRegion mr(top(), hard_end()); - SharedHeap::fill_region_with_object(mr); + CollectedHeap::fill_with_object(top(), hard_end()); if (retire || ZeroTLAB) { // "Reset" the TLAB set_start(NULL);