Mercurial > hg > graal-compiler
diff src/share/vm/memory/threadLocalAllocBuffer.cpp @ 7236:579ee1eb0f30
fixed overly strong assertion
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 17 Dec 2012 11:12:25 +0100 |
parents | f34d701e952e |
children | ff4fa8b0516e |
line wrap: on
line diff
--- a/src/share/vm/memory/threadLocalAllocBuffer.cpp Mon Dec 17 11:12:01 2012 +0100 +++ b/src/share/vm/memory/threadLocalAllocBuffer.cpp Mon Dec 17 11:12:25 2012 +0100 @@ -92,8 +92,9 @@ global_stats()->update_fast_refill_waste(_fast_refill_waste); } else { + // (ds) _gc_waste can be non-zero (see above) even if _number_of_refills is 0 assert(_number_of_refills == 0 && _fast_refill_waste == 0 && - _slow_refill_waste == 0 && _gc_waste == 0, + _slow_refill_waste == 0/* && _gc_waste == 0*/, "tlab stats == 0"); } global_stats()->update_slow_allocations(_slow_allocations);