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

JFR: Wildcard should only work with COUNT for 'jfr view'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 24
    • None
    • hotspot
    • None
    • jfr
    • b24

      The query validator accept wildcards ('*') for other aggregator functions than COUNT.

      This has lead to incorrect numbers in the thread column for the 'contention-by-address' view. The current definition is:

      SELECT address, FIRST(monitorClass), UNIQUE(*), MAX(duration) AS M FROM JavaMonitorEnter

      It should be:

      SELECT address, FIRST(monitorClass), UNIQUE(eventThread), MAX(duration) AS M FROM JavaMonitorEnter

            egahlin Erik Gahlin
            egahlin Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: