# HG changeset patch # User Tom Rodriguez # Date 1429121362 25200 # Node ID 2fd31d8e6b58d5f15f1452745702d6e56d10e971 # Parent 319fbbdb8fb19d39356ed38f9dcdf7a7ac4c3ceb Relax assert about over zeroing when ZapUnusedHeapArea is disabled diff -r 319fbbdb8fb1 -r 2fd31d8e6b58 src/share/vm/memory/threadLocalAllocBuffer.cpp --- a/src/share/vm/memory/threadLocalAllocBuffer.cpp Wed Apr 15 11:07:53 2015 -0700 +++ b/src/share/vm/memory/threadLocalAllocBuffer.cpp Wed Apr 15 11:09:22 2015 -0700 @@ -44,7 +44,7 @@ _slow_refill_waste += (unsigned)remaining(); // In debug mode we expect the storage above top to be uninitialized // or filled with a padding object. - assert(top() == NULL || *(intptr_t*)top() != 0, "overzeroing detected"); + assert(!ZapUnusedHeapArea || top() == NULL || *(intptr_t*)top() != 0, "overzeroing detected"); make_parsable(true); // also retire the TLAB }