mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6716466: par compact - remove VerifyParallelOldWithMarkSweep code
Reviewed-by: jmasa
This commit is contained in:
parent
4204f82a1a
commit
2e52e9dff2
9 changed files with 12 additions and 197 deletions
|
@ -35,9 +35,7 @@ void PSMarkSweep::initialize() {
|
|||
_ref_processor = new ReferenceProcessor(mr,
|
||||
true, // atomic_discovery
|
||||
false); // mt_discovery
|
||||
if (!UseParallelOldGC || !VerifyParallelOldWithMarkSweep) {
|
||||
_counters = new CollectorCounters("PSMarkSweep", 1);
|
||||
}
|
||||
_counters = new CollectorCounters("PSMarkSweep", 1);
|
||||
}
|
||||
|
||||
// This method contains all heap specific policy for invoking mark sweep.
|
||||
|
@ -518,9 +516,6 @@ void PSMarkSweep::mark_sweep_phase1(bool clear_all_softrefs) {
|
|||
follow_stack();
|
||||
|
||||
// Process reference objects found during marking
|
||||
|
||||
// Skipping the reference processing for VerifyParallelOldWithMarkSweep
|
||||
// affects the marking (makes it different).
|
||||
{
|
||||
ReferencePolicy *soft_ref_policy;
|
||||
if (clear_all_softrefs) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue