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

Remove CollectedHeap::print_gc_threads_on()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • None
    • gc
    • b27

      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.

            pliden Per Liden (Inactive)
            pliden Per Liden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: