Details
-
Bug
-
Resolution: Fixed
-
P2
-
8u40
-
b04
-
generic
-
generic
-
Verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8049258 | 9 | Attila Szegedi | P2 | Resolved | Fixed | b22 |
JDK-8064147 | 8u45 | Attila Szegedi | P2 | Resolved | Fixed | b01 |
JDK-8070384 | emb-8u47 | Attila Szegedi | P2 | Resolved | Fixed | team |
Description
The culprit is
changeset: 868:aeccdbb8d366
parent: 867:f44ec6545b9a
parent: 816:fed8c83dfba4
user: attila
date: Mon Jun 02 17:36:43 2014 +0200
summary: Merge
which apparently broke earley boyer - this is a merge from 9.
It has been broken since, and it is extremely strange that no harness has picked it up.
To reproduce, from the make directory:
alhazred:make marcus$ sh ../bin/runopt.sh -scripting ../test/script/basic/run-octane.js -- earley-boyer --verbose --iterations 2
[earley-boyer] loading 'earley-boyer' [earley-boyer.js]...
[earley-boyer] running 'earley-boyer' for 2 iterations of no less than 5 seconds
[earley-boyer] *** Aborted and setting score to zero. Reason: java.lang.AssertionError
java.lang.AssertionError
at jdk.nashorn.internal.runtime.CompiledFunction.handleRewriteException(CompiledFunction.java:635)
at jdk.nashorn.internal.runtime.CompiledFunction.handleRewriteException(CompiledFunction.java:553)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$75$earley_boyer.BgL_makezd2parserzd2(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:3877)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$74$earley_boyer.test(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:4621)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$73$earley_boyer.BgL_earleyzd2benchmarkzd2$L:4647(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:4648)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$72$earley_boyer.RunBenchmark(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:4677)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$70$earley_boyer.BgL_earleyzd2benchmarkzd2(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:4647)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$69$earley_boyer.EarleyBoyer(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:5)
at jdk.nashorn.internal.scripts.Script$Recompilation$68$run_octane$cu2$restOf.run_one_benchmark(../test/script/basic/run-octane.js:143)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$28$run_octane$cu2$restOf.run_suite(../test/script/basic/run-octane.js:200)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$26$run_octane$cu2$restOf.:program(../test/script/basic/run-octane.js:305)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:567)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:221)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:374)
at jdk.nashorn.tools.Shell.apply(Shell.java:391)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:320)
at jdk.nashorn.tools.Shell.run(Shell.java:169)
at jdk.nashorn.tools.Shell.main(Shell.java:133)
at jdk.nashorn.tools.Shell.main(Shell.java:112)
[earley-boyer] 0 ops/minute (0-0), warmup=0
The assertion is
assert optimismInfo == oldOptimismInfo;
Not sure if it's a valid assert or not.
changeset: 868:aeccdbb8d366
parent: 867:f44ec6545b9a
parent: 816:fed8c83dfba4
user: attila
date: Mon Jun 02 17:36:43 2014 +0200
summary: Merge
which apparently broke earley boyer - this is a merge from 9.
It has been broken since, and it is extremely strange that no harness has picked it up.
To reproduce, from the make directory:
alhazred:make marcus$ sh ../bin/runopt.sh -scripting ../test/script/basic/run-octane.js -- earley-boyer --verbose --iterations 2
[earley-boyer] loading 'earley-boyer' [earley-boyer.js]...
[earley-boyer] running 'earley-boyer' for 2 iterations of no less than 5 seconds
[earley-boyer] *** Aborted and setting score to zero. Reason: java.lang.AssertionError
java.lang.AssertionError
at jdk.nashorn.internal.runtime.CompiledFunction.handleRewriteException(CompiledFunction.java:635)
at jdk.nashorn.internal.runtime.CompiledFunction.handleRewriteException(CompiledFunction.java:553)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$75$earley_boyer.BgL_makezd2parserzd2(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:3877)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$74$earley_boyer.test(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:4621)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$73$earley_boyer.BgL_earleyzd2benchmarkzd2$L:4647(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:4648)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$72$earley_boyer.RunBenchmark(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:4677)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$70$earley_boyer.BgL_earleyzd2benchmarkzd2(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:4647)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$69$earley_boyer.EarleyBoyer(/Users/marcus/src/nashorn-jdk9/make/../test/script/basic/../external/octane/earley-boyer.js:5)
at jdk.nashorn.internal.scripts.Script$Recompilation$68$run_octane$cu2$restOf.run_one_benchmark(../test/script/basic/run-octane.js:143)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$28$run_octane$cu2$restOf.run_suite(../test/script/basic/run-octane.js:200)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.scripts.Script$Recompilation$26$run_octane$cu2$restOf.:program(../test/script/basic/run-octane.js:305)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:636)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:567)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:221)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:374)
at jdk.nashorn.tools.Shell.apply(Shell.java:391)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:320)
at jdk.nashorn.tools.Shell.run(Shell.java:169)
at jdk.nashorn.tools.Shell.main(Shell.java:133)
at jdk.nashorn.tools.Shell.main(Shell.java:112)
[earley-boyer] 0 ops/minute (0-0), warmup=0
The assertion is
assert optimismInfo == oldOptimismInfo;
Not sure if it's a valid assert or not.
Attachments
Issue Links
- backported by
-
JDK-8049258 Assertion in CompiledFunction when running earley-boyer after Merge
- Resolved
-
JDK-8064147 Assertion in CompiledFunction when running earley-boyer after Merge
- Resolved
-
JDK-8070384 Assertion in CompiledFunction when running earley-boyer after Merge
- Resolved