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

assert(JvmtiEnvBase::environments_might_exist()) failed: to enter event controller, JVM TI environments must exist

    XMLWordPrintable

Details

    • b08
    • windows
    • Verified

    Backports

      Description

        I'm get this assert if I press Ctrl+C while running Skynet with -XX:StartFlightRecording=dumponexit=true.

        ```
        # assert(JvmtiEnvBase::environments_might_exist()) failed: to enter event controller, JVM TI environments must exist
        ...
        V [libjvm.dylib+0x565d88] report_vm_error(char const*, int, char const*, char const*, ...)+0x80
        V [libjvm.dylib+0xb20268] JvmtiEventControllerPrivate::thread_started(JavaThread*)+0xd4
        V [libjvm.dylib+0x9ccc10] JVM_VirtualThreadMountEnd+0x1c8
        J 1384 java.lang.VirtualThread.notifyJvmtiMountEnd(Z)V java.base@21-internal (0 bytes)
        J 1484 c2 jdk.internal.vm.Continuation.enter(Ljdk/internal/vm/Continuation;Z)V java.base@21-internal (19 bytes)
        J 1234 jdk.internal.vm.Continuation.enterSpecial(Ljdk/internal/vm/Continuation;ZZ)V java.base@21-internal (0 bytes)
        J 1523 c2 jdk.internal.vm.Continuation.run()V java.base@21-internal (586 bytes)
        J 1476 c2 java.util.concurrent.ForkJoinTask.doExec()I java.base@21-internal (37 bytes)
        ```

        I get this assert once every five to ten times I try this.

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                sspitsyn Serguei Spitsyn
                stefank Stefan Karlsson
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: