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

Semantically rename reference processing subphases

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • hotspot
    • None
    • gc
    • b06

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

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

              Created:
              Updated:
              Resolved: