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.