Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/threadLocalAllocBuffer.cpp @ 22539:9ad3b2d1e7cd
Reenable _gc_waste assert
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 08 Sep 2015 17:17:53 -0700 |
parents | a77ab2624d17 |
children |
comparison
equal
deleted
inserted
replaced
22538:ea6d1727fdc6 | 22539:9ad3b2d1e7cd |
---|---|
100 global_stats()->update_gc_waste(_gc_waste); | 100 global_stats()->update_gc_waste(_gc_waste); |
101 global_stats()->update_slow_refill_waste(_slow_refill_waste); | 101 global_stats()->update_slow_refill_waste(_slow_refill_waste); |
102 global_stats()->update_fast_refill_waste(_fast_refill_waste); | 102 global_stats()->update_fast_refill_waste(_fast_refill_waste); |
103 | 103 |
104 } else { | 104 } else { |
105 // (ds) _gc_waste can be non-zero (see above) even if _number_of_refills is 0 | |
106 assert(_number_of_refills == 0 && _fast_refill_waste == 0 && | 105 assert(_number_of_refills == 0 && _fast_refill_waste == 0 && |
107 _slow_refill_waste == 0/* && _gc_waste == 0*/, | 106 _slow_refill_waste == 0 && _gc_waste == 0, |
108 "tlab stats == 0"); | 107 "tlab stats == 0"); |
109 } | 108 } |
110 global_stats()->update_slow_allocations(_slow_allocations); | 109 global_stats()->update_slow_allocations(_slow_allocations); |
111 } | 110 } |
112 | 111 |