8039089: List verification enabled in product builds

Replaced the verification call to a conditional one that only runs verification in debug builds.

Reviewed-by: brutisso, tschatzl
This commit is contained in:
Jesper Wilhelmsson 2014-04-03 16:20:16 +02:00
parent fd0bcaa2b2
commit 034d486b08
2 changed files with 3 additions and 3 deletions

View file

@ -2143,7 +2143,7 @@ void ConcurrentMark::completeCleanup() {
G1CollectedHeap* g1h = G1CollectedHeap::heap();
_cleanup_list.verify_list();
_cleanup_list.verify_optional();
FreeRegionList tmp_free_list("Tmp Free List");
if (G1ConcRegionFreeingVerbose) {