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

ciReplay: Internal error in javaClasses.inline.hpp

    XMLWordPrintable

    Details

    • Subcomponent:
    • Understanding:
      Cause Known

      Description

      java/lang/invoke/MethodHandlesGeneralTest.java crashes with
      # Internal Error (/home/katya/work/JavaSE/Hotspot/ws/git/jdk.jdk.master/open/src/hotspot/share/classfile/javaClasses.inline.hpp:267), pid=2866, tid=2873
      # assert(size > 0) failed: Oop size must be greater than zero, not 0

      when running with ReplayCompiles using replay file previously generated by the test.


      Steps to reproduce:
      > ${JT_HOME}/bin/jtreg -retain:all -va -jdk:build/linux-x64/images/jdk
          -vmoptions:"-XX:CompileCommand=option,test.java.lang.invoke.*::*,DumpReplay"
          -dir:open/test/jdk java/lang/invoke/MethodHandlesGeneralTest.java


      > export CLASSPATH as it is set in JTwork/java/lang/invoke/MethodHandlesGeneralTest.jtr

      > ./build/linux-x64/images/jdk/bin/java -cp $CLASSPATH -XX:+ReplayCompiles
         -XX:ReplayDataFile=JTwork/scratch/ONE-OF-REPLAY-FILES
         org.junit.runner.JUnitCore test.java.lang.invoke.MethodHandlesGeneralTest

        Attachments

          Activity

            People

            Assignee:
            dlong Dean Long
            Reporter:
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: