mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
6882730: G1: parallel heap verification messes up region dump
It tidies up the G1 heap verification a bit. In particular, when the verification is done in parallel and there is a failure, this is propagated to the top level and the heap is dumped at the end, not by every thread that encounters a failure. Reviewed-by: johnc, jmasa
This commit is contained in:
parent
99a529bb86
commit
2684c3a431
3 changed files with 116 additions and 37 deletions
|
@ -798,7 +798,7 @@ class HeapRegion: public G1OffsetTableContigSpace {
|
|||
// use_prev_marking == true. Currently, there is only one case where
|
||||
// this is called with use_prev_marking == false, which is to verify
|
||||
// the "next" marking information at the end of remark.
|
||||
void verify(bool allow_dirty, bool use_prev_marking) const;
|
||||
void verify(bool allow_dirty, bool use_prev_marking, bool *failures) const;
|
||||
|
||||
// Override; it uses the "prev" marking information
|
||||
virtual void verify(bool allow_dirty) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue