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

Remove redundancy in ReferenceProcessor constructor args

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 18
    • 18
    • hotspot
    • gc
    • b25

    Description

      ```
      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: