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

[Graal] nsk/stress/strace don't expect Graal classes to be in stack frames

    Details

    • Subcomponent:
    • Understanding:
      Cause Known

      Description

      nsk/stress/strace don't expect Graal classes to be in stack frames which might be present when running with Graal as JIT compiler.

      Here is example of nsk/stress/strace/strace002 failure:
      [2017-11-07T22:53:38.16] # ERROR: strace002Thread29>Unexpected method name: startsWith
      [2017-11-07T22:53:38.24] The following stacktrace is for Aurora. Used to create a RULE:
      [2017-11-07T22:53:38.26] nsk.share.TestFailure: strace002Thread29>Unexpected method name: startsWith
      [2017-11-07T22:53:38.26] at nsk.share.Log.logExceptionForAurora(Log.java:411)
      [2017-11-07T22:53:38.26] at nsk.share.Log.complain(Log.java:380)
      [2017-11-07T22:53:38.26] at nsk.stress.strace.strace002.complain(strace002.java:206)
      [2017-11-07T22:53:38.26] at nsk.stress.strace.strace002.checkTraces(strace002.java:162)
      [2017-11-07T22:53:38.26] at nsk.stress.strace.strace002.makeSnapshot(strace002.java:131)
      [2017-11-07T22:53:38.26] at nsk.stress.strace.strace002.run(strace002.java:69)
      [2017-11-07T22:53:38.26] at nsk.stress.strace.strace002.main(strace002.java:51)
      [2017-11-07T22:53:38.34] # ERROR: at 0 position
      [2017-11-07T22:53:38.35] # ERROR: line number: 1450
      [2017-11-07T22:53:38.35] # ERROR: class name: java.lang.String
      [2017-11-07T22:53:38.35] # ERROR: file name: String.java
      [2017-11-07T22:53:38.35] # ERROR: strace002Thread29>Unexpected method name: startsWith
      [2017-11-07T22:53:38.36] # ERROR: at 1 position
      [2017-11-07T22:53:38.36] # ERROR: line number: 1482
      [2017-11-07T22:53:38.36] # ERROR: class name: java.lang.String
      [2017-11-07T22:53:38.36] # ERROR: file name: String.java
      [2017-11-07T22:53:38.36] # ERROR: strace002Thread29>Unexpected method name: adjustCompilationLevelInternal
      [2017-11-07T22:53:38.38] # ERROR: at 2 position
      [2017-11-07T22:53:38.38] # ERROR: line number: 170
      [2017-11-07T22:53:38.38] # ERROR: class name: org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory
      [2017-11-07T22:53:38.38] # ERROR: file name: HotSpotGraalCompilerFactory.java
      [2017-11-07T22:53:38.38] # ERROR: strace002Thread29>Unexpected method name: adjustCompilationLevel
      [2017-11-07T22:53:38.38] # ERROR: at 3 position
      [2017-11-07T22:53:38.38] # ERROR: line number: 153
      [2017-11-07T22:53:38.38] # ERROR: class name: org.graalvm.compiler.hotspot.HotSpotGraalCompilerFactory
      [2017-11-07T22:53:38.38] # ERROR: file name: HotSpotGraalCompilerFactory.java
      [2017-11-07T22:53:38.39] # ERROR: strace002Thread29>Unexpected method name: adjustCompilationLevel
      [2017-11-07T22:53:38.39] # ERROR: at 4 position
      [2017-11-07T22:53:38.39] # ERROR: line number: 416
      [2017-11-07T22:53:38.39] # ERROR: class name: jdk.vm.ci.hotspot.HotSpotJVMCIRuntime
      [2017-11-07T22:53:38.39] # ERROR: file name: HotSpotJVMCIRuntime.java

      To reproduce run the test with "-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.Compiler=graal " flags.
       

        Attachments

          Activity

            People

            • Assignee:
              epavlova Ekaterina Pavlova
              Reporter:
              epavlova Ekaterina Pavlova
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: