Mercurial > hg > graal-compiler
changeset 7236:579ee1eb0f30
fixed overly strong assertion
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 17 Dec 2012 11:12:25 +0100 |
parents | a6bd253a770f |
children | 509d72a1d81b |
files | src/share/vm/memory/threadLocalAllocBuffer.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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);