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

serviceability/sa/TestRevPtrsForInvokeDynamic.java fails with AssertionFailure "FIXME: add derived pointer table"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 15
    • hotspot

      After removing serviceability/sa/TestRevPtrsForInvokeDynamic.java from the problem list, I found that it fails with a -Xcomp run with the following exception:

      Exception in thread "main" sun.jvm.hotspot.utilities.AssertionFailure: FIXME: add derived pointer table
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.Assert.that(Assert.java:32)
      at jdk.hotspot.agent/sun.jvm.hotspot.compiler.ImmutableOopMapSet$MyVisitor.visitDerivedOopLocation(ImmutableOopMapSet.java:66)
      at jdk.hotspot.agent/sun.jvm.hotspot.compiler.ImmutableOopMapSet.allDo(ImmutableOopMapSet.java:211)
      at jdk.hotspot.agent/sun.jvm.hotspot.compiler.ImmutableOopMapSet.oopsDo(ImmutableOopMapSet.java:179)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.Frame.oopsCodeBlobDo(Frame.java:618)
      at jdk.hotspot.agent/sun.jvm.hotspot.runtime.Frame.oopsDo(Frame.java:444)
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.ReversePtrsAnalysis.doStack(ReversePtrsAnalysis.java:301)
      at jdk.hotspot.agent/sun.jvm.hotspot.utilities.ReversePtrsAnalysis.run(ReversePtrsAnalysis.java:103)
      at TestRevPtrsForInvokeDynamic.computeReversePointers(TestRevPtrsForInvokeDynamic.java:60)
      at TestRevPtrsForInvokeDynamic.main(TestRevPtrsForInvokeDynamic.java:97)

      You need more than just -Xcomp to get it to fail. The options being used were:

      -Xcomp -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation

      It didn't fail with just -Xcomp and it didn't fail with all of the above except -Xcomp. It seems to fail 100% of the time with these options.

            Unassigned Unassigned
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: