equal
deleted
inserted
replaced
136 heap->accumulate_statistics_all_tlabs(); |
136 heap->accumulate_statistics_all_tlabs(); |
137 heap->ensure_parsability(true); // retire TLABs |
137 heap->ensure_parsability(true); // retire TLABs |
138 |
138 |
139 if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) { |
139 if (VerifyBeforeGC && heap->total_collections() >= VerifyGCStartAt) { |
140 HandleMark hm; // Discard invalid handles created during verification |
140 HandleMark hm; // Discard invalid handles created during verification |
141 gclog_or_tty->print(" VerifyBeforeGC:"); |
141 Universe::verify(" VerifyBeforeGC:"); |
142 Universe::verify(); |
|
143 } |
142 } |
144 |
143 |
145 // Verify object start arrays |
144 // Verify object start arrays |
146 if (VerifyObjectStartArray && |
145 if (VerifyObjectStartArray && |
147 VerifyBeforeGC) { |
146 VerifyBeforeGC) { |
339 heap->update_counters(); |
338 heap->update_counters(); |
340 } |
339 } |
341 |
340 |
342 if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) { |
341 if (VerifyAfterGC && heap->total_collections() >= VerifyGCStartAt) { |
343 HandleMark hm; // Discard invalid handles created during verification |
342 HandleMark hm; // Discard invalid handles created during verification |
344 gclog_or_tty->print(" VerifyAfterGC:"); |
343 Universe::verify(" VerifyAfterGC:"); |
345 Universe::verify(); |
|
346 } |
344 } |
347 |
345 |
348 // Re-verify object start arrays |
346 // Re-verify object start arrays |
349 if (VerifyObjectStartArray && |
347 if (VerifyObjectStartArray && |
350 VerifyAfterGC) { |
348 VerifyAfterGC) { |