-
Enhancement
-
Resolution: Fixed
-
P4
-
hs25
-
b28
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8012393 | 8 | John Cuthbertson | P4 | Resolved | Fixed | b86 |
JDK-8033505 | 7u80 | Unassigned | P4 | Resolved | Fixed | b01 |
JDK-8034524 | 7u65 | Unassigned | P4 | Resolved | Fixed | b01 |
JDK-8029486 | 7u60 | Thomas Schatzl | P4 | Closed | Fixed | b05 |
As part of the code review comments for 8010463, it was suggested that the following code:
assert (Universe::is_fully_initialized(), "not initialized");
if (VerifyBeforeGC && VerifyGCStartAt == 0) {
Universe::heap()->prepare_for_verify();
Universe::verify(); // make sure we're starting with a clean slate
that is executed during VM startup be changed so that the verification was done using a flag other than VerifyBeforeGC.
It was also suggested to use a VM_Operation to verify the heap at this point during startup since certain parts of the verification are skipped if executed outside of a safepoint.
This CR is to address those review comments.
assert (Universe::is_fully_initialized(), "not initialized");
if (VerifyBeforeGC && VerifyGCStartAt == 0) {
Universe::heap()->prepare_for_verify();
Universe::verify(); // make sure we're starting with a clean slate
that is executed during VM startup be changed so that the verification was done using a flag other than VerifyBeforeGC.
It was also suggested to use a VM_Operation to verify the heap at this point during startup since certain parts of the verification are skipped if executed outside of a safepoint.
This CR is to address those review comments.
- backported by
-
JDK-8012393 Add new flag for verifying the heap during startup
- Resolved
-
JDK-8033505 Add new flag for verifying the heap during startup
- Resolved
-
JDK-8034524 Add new flag for verifying the heap during startup
- Resolved
-
JDK-8029486 Add new flag for verifying the heap during startup
- Closed
- relates to
-
JDK-8010463 G1: Crashes with -UseTLAB and heap verification
- Resolved