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

JFR: The active-settings view should not use LAST_BATCH

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • None
    • hotspot
    • None
    • jfr

      The active-settings view, used by 'jfr view' and 'jcmd view', takes the timestamp of the last ActiveSetting event and displays all settings that have the same timestamp.

      This typically gives users a snapshot of the settings in use before a chunk or recording completes. In older recordings, ActiveSetting events were not emitted with the same timestamp, so you end up seeing only one setting for one event type. Also, if a single setting is changed programmatically before a chunk rotation happens, only that setting will be shown.

      It may be better to just take the LAST setting. The drawback is that event types that have been unregistered during a recording may show up, but that may be acceptable.

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

              Created:
              Updated: