diff src/share/vm/gc_implementation/g1/concurrentMark.cpp @ 17841:14bd75c9dbfa

8039089: List verification enabled in product builds Summary: Replaced the verification call to a conditional one that only runs verification in debug builds. Reviewed-by: brutisso, tschatzl
author jwilhelm
date Thu, 03 Apr 2014 16:20:16 +0200
parents 8ee855b4e667
children 8847586c9037
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/concurrentMark.cpp	Thu Apr 03 10:39:27 2014 +0200
+++ b/src/share/vm/gc_implementation/g1/concurrentMark.cpp	Thu Apr 03 16:20:16 2014 +0200
@@ -2145,7 +2145,7 @@
 
   G1CollectedHeap* g1h = G1CollectedHeap::heap();
 
-  _cleanup_list.verify_list();
+  _cleanup_list.verify_optional();
   FreeRegionList tmp_free_list("Tmp Free List");
 
   if (G1ConcRegionFreeingVerbose) {