Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8260415: Remove unused class ReferenceProcessorMTProcMutator #2578

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

@@ -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 {
ProTip! Use n and p to navigate between commits in a pull request.