Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/threadLocalAllocBuffer.cpp @ 1165:2dd52dea6d28
6902115: G1:assert(ignore_max_completed||thread->is_Java_thread()||SafepointSynchronize::is_at_safepoint())
Summary: Remove invalid assert and mangle filler objects in TLABs that are being retired.
Reviewed-by: ysr, jmasa
author | johnc |
---|---|
date | Tue, 12 Jan 2010 14:56:46 -0800 |
parents | 0fbdb4381b99 |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/memory/threadLocalAllocBuffer.cpp Sat Jan 09 09:01:41 2010 -0800 +++ b/src/share/vm/memory/threadLocalAllocBuffer.cpp Tue Jan 12 14:56:46 2010 -0800 @@ -100,7 +100,7 @@ void ThreadLocalAllocBuffer::make_parsable(bool retire) { if (end() != NULL) { invariants(); - CollectedHeap::fill_with_object(top(), hard_end()); + CollectedHeap::fill_with_object(top(), hard_end(), retire); if (retire || ZeroTLAB) { // "Reset" the TLAB set_start(NULL);