changeset 22539:9ad3b2d1e7cd

Reenable _gc_waste assert
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 08 Sep 2015 17:17:53 -0700
parents ea6d1727fdc6
children df2764d92a3c
files src/share/vm/memory/threadLocalAllocBuffer.cpp
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/memory/threadLocalAllocBuffer.cpp	Tue Sep 08 16:41:04 2015 -0700
+++ b/src/share/vm/memory/threadLocalAllocBuffer.cpp	Tue Sep 08 17:17:53 2015 -0700
@@ -102,9 +102,8 @@
     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);