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

DiagnoseSyncOnValueBasedClasses doesn't report useful information for virtual threads

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 21
    • 19, 20
    • hotspot
    • 19
    • b03

      The mechanism used by DiagnoseSyncOnValueBasedClasses to show where the sync occurs only reports platform/carrier thread stack details. That is no use if the code is being executed by a virtual thread. We can use the code being introduced by JDK-8292674 for JNI error/warning reporting to show the virtual thread stack instead.

            dholmes David Holmes
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: