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

Remove scavenge trace message in psPromotionManager

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • None
    • gc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: