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

ClhsdbFindPC.java failed due to "RuntimeException: 'In code in NMethod for LingeredAppWithTrivialMain.main' missing from stdout/stderr"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • b18
    • x86_64
    • windows

      The following test failed in the JDK15 CI:

      serviceability/sa/ClhsdbFindPC.java#id0

      Here's a snippet from the log file:

      ----------System.err:(37/2719)*----------
      Command line: ['c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-15+18-721\\windows-x64-debug.jdk\\jdk-15\\fastdebug/bin/java' '-XX:MaxRAMPercentage=3' '-Xcomp' '-XX:+CreateCoredumpOnCrash' '-ea' '-esa' '-XX:CompileThreshold=100' '-XX:+UnlockExperimentalVMOptions' '-server' '-XX:+TieredCompilation' '-XX:+DeoptimizeALot' '-Xcomp' '-cp' 'T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\\classes\\5\\serviceability\\sa\\ClhsdbFindPC_id0.d;T:\\testoutput\\test-support\\jtreg_open_test_hotspot_jtreg_hotspot_serviceability\\classes\\5\\test\\lib' 'LingeredAppWithTrivialMain' '0a559906-6ed9-44ef-9648-75bb2ce7c7f2.lck' ]
       stdout: [ + findpc 0x000000678864a3b3
      Address 0x000000678864a3b3: In interpreter codelet "invoke return entry points"
      invoke return entry points [0x0000006788649a70, 0x000000678864a4a0) 2608 bytes
      ];
       stderr: [ + findpc 0x000000678864a3b3
      Address 0x000000678864a3b3: In interpreter codelet "invoke return entry points"
      invoke return entry points [0x0000006788649a70, 0x000000678864a4a0) 2608 bytes
      ]
       exitValue = -1

       LingeredApp stdout: [];
       LingeredApp stderr: []
       LingeredApp exitValue = 0
      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'In code in NMethod for LingeredAppWithTrivialMain.main' missing from stdout/stderr

      at ClhsdbFindPC.testFindPC(ClhsdbFindPC.java:111)
      at ClhsdbFindPC.main(ClhsdbFindPC.java:120)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      Caused by: java.lang.RuntimeException: 'In code in NMethod for LingeredAppWithTrivialMain.main' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:306)
      at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:163)
      at ClhsdbLauncher.run(ClhsdbLauncher.java:200)
      at ClhsdbFindPC.testFindPC(ClhsdbFindPC.java:107)
      ... 7 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'In code in NMethod for LingeredAppWithTrivialMain.main' missing from stdout/stderr

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'In code in NMethod for LingeredAppWithTrivialMain.main' missing from stdout/stderr
      ----------rerun:(47/5491)*----------

            cjplummer Chris Plummer
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: