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

Transition JFR Periodic Task Thread to "_thread_in_native" before invoking performance counters

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
      jfr
    • Resolved In Build:
      b31

      Backports

        Description

        This bug will attempt to resolve the problem described in JDK-8243962.

        The bug fix complements the work done in JDK-8245042 and JDK-8245113 to avoid having a JavaThread that is reading OS performance counters, which has proven to be very slow on certain platforms and circumstances, stall a pending safepoint synchronization.

        Transitions will be performed for periodic events EventCPULoad and EventThreadContextSwitchRate.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mgronlun Markus Grönlund
                  Reporter:
                  mgronlun Markus Grönlund
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: