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

Compilation logging crashes for thread suspension / debugging tests

XMLWordPrintable

    • b07

        Running the following:

        $ make run-test TEST="test/jdk/com/sun/jdi/SuspendThreadTest.java" CONF=linux-x86_64-server-fastdebug TEST_VM_OPTS="-XX:+LogCompilation"

        leads intermittently to the failure:

        TEST RESULT: Error. Agent error: java.lang.Exception: Agent 2 timed out with a timeout of 480 seconds; check console log for any additional details

        Running the following:

        $ make run-test TEST="test/hotspot/jtreg/vmTestbase/vm/mlvm/indy/stress/jdi/breakpointInCompiledCode/Test.java" CONF=linux-x86_64-server-fastdebug TEST_VM_OPTS="-XX:+LogCompilation -XX:-TieredCompilation"

        leads (also intermittently) to the failure:

        TEST RESULT: Failed. Execution failed: Execution failed

        In both cases, the following assertion error is reported:

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (../../src/hotspot/share/compiler/compileTask.cpp:389), pid=13315, tid=13332
        # assert(_failure_reason != __null) failed: missing
        #
        # JRE version: OpenJDK Runtime Environment (17.0) (fastdebug build 17-internal+0-adhoc.rocastan.open)
        # Java VM: OpenJDK 64-Bit Server VM (fastdebug 17-internal+0-adhoc.rocastan.open, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xa66c24] CompileTask::log_task_done(CompileLog*)+0x8f4

        The error logs for both crashes are attached.

              xliu Xin Liu
              rcastanedalo Roberto Castaneda Lozano
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: