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

Remove scavenge trace message in psPromotionManager

    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:
      b16

      Description

      In child class of `RefProcTask`, `void rp_work(...)` starts with `ResourceMark`, which is used to guard against memory leak. However, in that context, it's not obvious what resource it's protecting at first glance.

      Better move the marker closer to where it's needed for improved precision and readability.

      ---------------------------- Update ---------------------

      During the review, it's suggested to remove those trace-msg completely, because the signal-to-noise ratio is too low.

        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: