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

nsk/jdi/VirtualMachine/exit/exit002 crash with detail tracking on (NMT2)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b29
    • CPU:
      x86
    • OS:
      solaris
    • Verification:
      Not verified

      Backports

        Description

        This is a racing issue during debuggee exit.

        The debuggee calls ::exit() to force the process to exit, by-passes VM shutdown sequence. As the result, C runtime starts to destroy static variables while VM is still using them.

        This particular case, it is VirtualMemoryTracker::_reserved_regions.
         

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                zgu Zhengyu Gu
                Reporter:
                zgu Zhengyu Gu
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: