# HG changeset patch # User Doug Simon # Date 1355739145 -3600 # Node ID 579ee1eb0f30d9f36f7ecf41b1b730f271129f45 # Parent a6bd253a770f6bc8328f0797bfa5cc9ca4a52b22 fixed overly strong assertion diff -r a6bd253a770f -r 579ee1eb0f30 src/share/vm/memory/threadLocalAllocBuffer.cpp --- 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);