Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903484

JMH: Use ThreadMXBean.getTotalThreadAllocatedBytes for -prof gc

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • jmh

      JDK 21 comes with a new method that gives the total allocated rate for all the threads, JDK-8304074. JMH -prof gc can use it, when available.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: