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

Assert thread state invariant for JFR stack trace capture

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 22
    • None
    • hotspot
    • None
    • jfr
    • b23

    Description

      A JavaThread running in state _thread_in_native cannot capture a JFR stack trace because tagging of artefacts (klasses, methods, etc.) is a function of an epoch, which evolves during safepoints.

      Currently, no assertions are in place for this invariant, so they should be added.

      Attachments

        Issue Links

          Activity

            People

              mgronlun Markus Grönlund
              mgronlun Markus Grönlund
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: