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

Safepoint ID is not consistent across event-based tracing events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b31
    • CPU:
      generic
    • OS:
      generic

      Description

      In safepoint.cpp, _safepoint_counter should be increased once in safepointSynchronize::end(). But it was increased in EventSafepointWaitBlocked and safepointSynchronize::end(). This results confusing safepoint id in JFR events: synch safepoint id = begin safepoint id +1.

        Attachments

          Activity

            People

            Assignee:
            egahlin Erik Gahlin
            Reporter:
            yuzhang Jenny Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: