Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8260415

Remove unused class ReferenceProcessorMTProcMutator

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • hotspot
    • gc
    • b10

    Description

      diff --git a/src/hotspot/share/gc/shared/referenceProcessor.hpp b/src/hotspot/share/gc/shared/referenceProcessor.hpp
      index f0dfd1d1bd9..af766572b13 100644
      --- a/src/hotspot/share/gc/shared/referenceProcessor.hpp
      +++ b/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 {

      Attachments

        Issue Links

          Activity

            People

              lkorinth Leo Korinth
              lkorinth Leo Korinth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: