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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: