# HG changeset patch # User bulasevich # Date 1548142961 -10800 # Node ID fe89919501056b8252c2bfc617e72d3dafb40fa6 # Parent 5bbd86b1cfbbd90e543e979fa62485ff3f5e4574 8214235: arm32: assertion in collectedHeap.cpp: attempt to clean empty remainder Reviewed-by: phh, pliden diff -r 5bbd86b1cfbb -r fe8991950105 src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp --- a/src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp Mon Jan 21 16:56:13 2019 -0500 +++ b/src/hotspot/share/gc/shared/threadLocalAllocBuffer.cpp Tue Jan 22 10:42:41 2019 +0300 @@ -91,7 +91,9 @@ void ThreadLocalAllocBuffer::insert_filler() { assert(end() != NULL, "Must not be retired"); - Universe::heap()->fill_with_dummy_object(top(), hard_end(), true); + if (top() < hard_end()) { + Universe::heap()->fill_with_dummy_object(top(), hard_end(), true); + } } void ThreadLocalAllocBuffer::make_parsable() {