NMethodRelocationTest fails with -Xcomp after 8369150

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 27
    • Component/s: hotspot
    • Environment:
    • x86_64
    • linux

      The test log snippet:

      ACTION: main -- Failed. Unexpected exit from test [exit code: 134]
      REASON: User specified action: run main/othervm/native -agentlib:NMethodRelocationTest --enable-native-access=ALL-UNNAMED -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache -XX:-TieredCompilation -XX:+UnlockExperimentalVMOptions -XX:+NMethodRelocation NMethodRelocationTest
      TIME: 4.701 seconds
      messages:
      command: main -agentlib:NMethodRelocationTest --enable-native-access=ALL-UNNAMED -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache -XX:-TieredCompilation -XX:+UnlockExperimentalVMOptions -XX:+NMethodRelocation NMethodRelocationTest
      reason: User specified action: run main/othervm/native -agentlib:NMethodRelocationTest --enable-native-access=ALL-UNNAMED -Xbootclasspath/a:. -Xbatch -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+SegmentedCodeCache -XX:-TieredCompilation -XX:+UnlockExperimentalVMOptions -XX:+NMethodRelocation NMethodRelocationTest
      started: Fri Jan 09 17:41:01.952 CST 2026
      Mode: othervm [/othervm specified]
      Process id: 1047459
      finished: Fri Jan 09 17:41:06.653 CST 2026
      elapsed time (seconds): 4.701
      configuration:
      STDOUT:
      <COMPILED_METHOD_LOAD>: name: compiledMethod, code: 0x00007f10f0c5b500
      <COMPILED_METHOD_LOAD>: name: compiledMethod, code: 0x00007f10f0c62e00
      check_jvmti_error: JVMTI function returned error: get_method_name: error in JVMTI GetMethodName call: JVMTI_ERROR_INVALID_METHODID(23)

            Assignee:
            Sendao Yan
            Reporter:
            Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: