Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
17840:fd8ddf2d2f6b | 17841:14bd75c9dbfa |
---|---|
2143 void ConcurrentMark::completeCleanup() { | 2143 void ConcurrentMark::completeCleanup() { |
2144 if (has_aborted()) return; | 2144 if (has_aborted()) return; |
2145 | 2145 |
2146 G1CollectedHeap* g1h = G1CollectedHeap::heap(); | 2146 G1CollectedHeap* g1h = G1CollectedHeap::heap(); |
2147 | 2147 |
2148 _cleanup_list.verify_list(); | 2148 _cleanup_list.verify_optional(); |
2149 FreeRegionList tmp_free_list("Tmp Free List"); | 2149 FreeRegionList tmp_free_list("Tmp Free List"); |
2150 | 2150 |
2151 if (G1ConcRegionFreeingVerbose) { | 2151 if (G1ConcRegionFreeingVerbose) { |
2152 gclog_or_tty->print_cr("G1ConcRegionFreeing [complete cleanup] : " | 2152 gclog_or_tty->print_cr("G1ConcRegionFreeing [complete cleanup] : " |
2153 "cleanup list has %u entries", | 2153 "cleanup list has %u entries", |