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

Remove unused method ReferenceProcessor::is_mt_processing_set_up()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • gc
    • b11

      diff --git a/src/hotspot/share/gc/shared/referenceProcessor.cpp b/src/hotspot/share/gc/shared/referenceProcessor.cpp
      index 3de2b0d8017..77f0d305869 100644
      --- a/src/hotspot/share/gc/shared/referenceProcessor.cpp
      +++ b/src/hotspot/share/gc/shared/referenceProcessor.cpp
      @@ -769,10 +769,6 @@ void ReferenceProcessor::balance_queues(DiscoveredList ref_lists[])
       #endif
       }
       
      -bool ReferenceProcessor::is_mt_processing_set_up(AbstractRefProcTaskExecutor* task_executor) const {
      - return task_executor != NULL && _processing_is_mt;
      -}
      -
       void ReferenceProcessor::process_soft_ref_reconsider(BoolObjectClosure* is_alive,
                                                            OopClosure* keep_alive,
                                                            VoidClosure* complete_gc,
      @@ -782,7 +778,6 @@ void ReferenceProcessor::process_soft_ref_reconsider(BoolObjectClosure* is_alive
       
         size_t const num_soft_refs = total_count(_discoveredSoftRefs);
         phase_times->set_ref_discovered(REF_SOFT, num_soft_refs);
      -
         phase_times->set_processing_is_mt(_processing_is_mt);
       
         if (num_soft_refs == 0) {
      diff --git a/src/hotspot/share/gc/shared/referenceProcessor.hpp b/src/hotspot/share/gc/shared/referenceProcessor.hpp
      index af766572b13..ec7d6164f42 100644
      --- a/src/hotspot/share/gc/shared/referenceProcessor.hpp
      +++ b/src/hotspot/share/gc/shared/referenceProcessor.hpp
      @@ -371,8 +371,6 @@ private:
       
         bool is_subject_to_discovery(oop const obj) const;
       
      - bool is_mt_processing_set_up(AbstractRefProcTaskExecutor* task_executor) const;
      -
       public:
         // Default parameters give you a vanilla reference processor.
         ReferenceProcessor(BoolObjectClosure* is_subject_to_discovery,

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

              Created:
              Updated:
              Resolved: