Skip to content
Permalink
Browse files

8260415: Remove unused class ReferenceProcessorMTProcMutator

Reviewed-by: ayang, sjohanss
  • Loading branch information
lkorinth committed Feb 16, 2021
1 parent 6b6f794 commit 61a659f4bfe066250af871b9d84943bed526e71d
Showing with 0 additions and 22 deletions.
  1. +0 −22 src/hotspot/share/gc/shared/referenceProcessor.hpp
@@ -601,28 +601,6 @@ class ReferenceProcessorAtomicMutator: StackObj {
}
};


// A utility class to temporarily change the MT processing
// disposition of the given ReferenceProcessor instance
// in the scope that contains it.
class ReferenceProcessorMTProcMutator: StackObj {
private:
ReferenceProcessor* _rp;
bool _saved_mt;

public:
ReferenceProcessorMTProcMutator(ReferenceProcessor* rp,
bool mt):
_rp(rp) {
_saved_mt = _rp->processing_is_mt();
_rp->set_mt_processing(mt);
}

~ReferenceProcessorMTProcMutator() {
_rp->set_mt_processing(_saved_mt);
}
};

// This class is an interface used to implement task execution for the
// reference processing.
class AbstractRefProcTaskExecutor {

1 comment on commit 61a659f

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 61a659f Feb 16, 2021

Please sign in to comment.