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

Remove unnecessary DefNewGeneration::ref_processor_init()

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b25

      Description

      `DefNewGeneration::ref_processor_init` just calls the method it's overriding.

      ```
      void DefNewGeneration::ref_processor_init() {
        Generation::ref_processor_init();
      }
      ```
      One can remove it and mark Generation::ref_processor_init as non-virtual.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: