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

ciReplay: Internal error in javaClasses.inline.hpp

XMLWordPrintable

    • Cause Known

      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

        1. hs_err_bug8276392.log
          70 kB
          Ekaterina Pavlova
        2. replay_bug8276392.log
          303 kB
          Ekaterina Pavlova
        3. hs_err_bug8276392_02.log
          65 kB
          Ekaterina Pavlova
        4. replay_bug8276392_02.log
          117 kB
          Ekaterina Pavlova

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

              Created:
              Updated: