8214235: arm32: assertion in collectedHeap.cpp: attempt to clean empty remainder

Reviewed-by: phh, pliden
This commit is contained in:
Boris Ulasevich 2019-01-22 10:42:41 +03:00
parent d788c40095
commit 83cd7a3fc1

@ -91,7 +91,9 @@ void ThreadLocalAllocBuffer::accumulate_and_reset_statistics(ThreadLocalAllocSta
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() {