-
Bug
-
Resolution: Unresolved
-
P3
-
18
-
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
# 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