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

Remove scavenge trace message in psPromotionManager

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: