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

Remove CollectedHeap::print_gc_threads_on()

    XMLWordPrintable

    Details

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

      Description

      Instead of having all GCs implement CollectedHeap::print_gc_threads_on(), we can just let the single caller (Threads::print_on) provide a closure and use CollectedHeap::gc_threads_do(). That will better match what Threads::print_on_error() is already doing, and remove repetitive code in the GCs.

        Attachments

          Activity

            People

            Assignee:
            pliden Per Liden
            Reporter:
            pliden Per Liden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: