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

Semantically rename reference processing subphases

    XMLWordPrintable

    Details

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

      Description

      Followup of JDK-8051680, use semantic names instead of phase plus number suffix.

      From
      ```
        enum RefProcSubPhases {
          SoftRefSubPhase1,
          WeakRefSubPhase1,
          FinalRefSubPhase1,
          FinalRefSubPhase2,
          PhantomRefSubPhase3,
          RefSubPhaseMax
        };

        enum RefProcPhases {
          RefPhase1,
          RefPhase2,
          RefPhase3,
          RefPhaseMax
        };
      ```

      to names like:

      ```
      Process{Soft,Weak,Final}RefsSubPhase, KeepAliveFinalRefsSubPhase, ProcessPhantomRefsSubPhase

      SoftWeakFinalRefsPhase, KeepAliveFinalRefsPhase, PhantomRefsPhase
      ```

        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: