hg: jdk9/dev/nashorn: 8057825: Bug in apply specialization - if an apply specialization that is available doesn't fit, a new one wouldn't be installed, if the new code generated as a specialization didn't manage to do the apply specialization. Basically changing a conditional to an unconditional.
marcus.lagergren at oracle.com
marcus.lagergren at oracle.com
Wed Nov 5 11:34:17 UTC 2014
Changeset: 569b6de2d343
Author: lagergren
Date: 2014-11-05 12:34 +0100
URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/569b6de2d343
8057825: Bug in apply specialization - if an apply specialization that is available doesn't fit, a new one wouldn't be installed, if the new code generated as a specialization didn't manage to do the apply specialization. Basically changing a conditional to an unconditional.
Reviewed-by: attila, hannesw
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ApplySpecialization.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/Type.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeString.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/SparseArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/events/RecompilationEvent.java
+ test/script/basic/JDK-8057825.js
+ test/script/basic/JDK-8057825.js.EXPECTED
! test/src/jdk/internal/dynalink/beans/CallerSensitiveTest.java
! test/src/jdk/nashorn/test/models/ClassLoaderAware.java
! test/src/jdk/nashorn/test/models/NullProvider.java
More information about the jdk9-dev-changes
mailing list