Remove redundancy in ReferenceProcessor constructor args

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 18
    • Component/s: hotspot
    • gc
    • b25

      ```
      ReferenceProcessor::ReferenceProcessor(BoolObjectClosure* is_subject_to_discovery,
                                             uint mt_processing_degree,
                                             bool mt_discovery,
                                             uint mt_discovery_degree,
                                             bool concurrent_discovery,
                                             BoolObjectClosure* is_alive_non_header)
      ```

      `mt_discovery` is effectively `mt_discovery_degree > 1`, so one can drop `bool mt_discovery` in the arg list.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: