6716466: par compact - remove VerifyParallelOldWithMarkSweep code

Reviewed-by: jmasa
This commit is contained in:
John Coomes 2008-09-30 11:49:31 -07:00
parent 4204f82a1a
commit 2e52e9dff2
9 changed files with 12 additions and 197 deletions

View file

@ -1350,11 +1350,7 @@ bool nmethod::can_unload(BoolObjectClosure* is_alive,
return false;
}
}
if (!UseParallelOldGC || !VerifyParallelOldWithMarkSweep) {
// Cannot do this test if verification of the UseParallelOldGC
// code using the PSMarkSweep code is being done.
assert(unloading_occurred, "Inconsistency in unloading");
}
assert(unloading_occurred, "Inconsistency in unloading");
make_unloaded(is_alive, obj);
return true;
}