Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
7235:a6bd253a770f | 7236:579ee1eb0f30 |
---|---|
90 global_stats()->update_gc_waste(_gc_waste); | 90 global_stats()->update_gc_waste(_gc_waste); |
91 global_stats()->update_slow_refill_waste(_slow_refill_waste); | 91 global_stats()->update_slow_refill_waste(_slow_refill_waste); |
92 global_stats()->update_fast_refill_waste(_fast_refill_waste); | 92 global_stats()->update_fast_refill_waste(_fast_refill_waste); |
93 | 93 |
94 } else { | 94 } else { |
95 // (ds) _gc_waste can be non-zero (see above) even if _number_of_refills is 0 | |
95 assert(_number_of_refills == 0 && _fast_refill_waste == 0 && | 96 assert(_number_of_refills == 0 && _fast_refill_waste == 0 && |
96 _slow_refill_waste == 0 && _gc_waste == 0, | 97 _slow_refill_waste == 0/* && _gc_waste == 0*/, |
97 "tlab stats == 0"); | 98 "tlab stats == 0"); |
98 } | 99 } |
99 global_stats()->update_slow_allocations(_slow_allocations); | 100 global_stats()->update_slow_allocations(_slow_allocations); |
100 } | 101 } |
101 | 102 |