--- a/hotspot/src/share/vm/code/nmethod.cpp Sat Sep 27 00:33:13 2008 -0700
+++ b/hotspot/src/share/vm/code/nmethod.cpp Tue Sep 30 11:49:31 2008 -0700
@@ -1350,11 +1350,7 @@
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;
}