hg: jdk9/hs-emb/nashorn: 10 new changesets

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Mon Oct 27 17:53:18 UTC 2014


Changeset: 0c83d68ea1ed
Author:    sundar
Date:      2014-10-20 13:27 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/0c83d68ea1ed

8061257: nashorn ant build script should have a sanity target
Reviewed-by: lagergren, hannesw, attila

! make/build-nasgen.xml
! make/build.xml

Changeset: 34d55faf0b3a
Author:    attila
Date:      2014-10-20 12:06 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/34d55faf0b3a

8059844: Implement optimistic splitter
Reviewed-by: hannesw, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ApplySpecialization.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AstSerializer.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ClassEmitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompilationPhase.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CompileUnit.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FindScopeDepths.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Lower.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesCalculator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ProgramPoints.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ReplaceCompileUnits.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SplitIntoFunctions.java
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SplitMethodEmitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/BlockLexicalContext.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/GetSplitState.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LexicalContext.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LiteralNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Node.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SetSplitState.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitNode.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitReturn.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Symbol.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/visitor/NodeVisitor.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AstDeserializer.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunction.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java

Changeset: 41d4537f8294
Author:    hannesw
Date:      2014-10-20 14:09 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/41d4537f8294

8060724: ant test262parallel in Nashorn spends a significant amount of time after almost all the tests are run
Reviewed-by: lagergren, attila, sundar

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! test/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java

Changeset: 4dfa462ee93f
Author:    attila
Date:      2014-10-21 14:27 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/4dfa462ee93f

8058610: must not let long operations overflow
Reviewed-by: hannesw, jlaskey, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
+ test/script/basic/JDK-8058610.js
+ test/script/basic/JDK-8058610.js.EXPECTED

Changeset: 06c06c8443fd
Author:    lagergren
Date:      2014-10-23 15:19 +0400
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/06c06c8443fd

8061391: concat as a builtin optimistic form, had to remove NoTypedArrayData and replace it, as we throw away a lot of optimistic link opportunities with NoTypedArrayData not being Continuous
Reviewed-by: attila, hannesw

! bin/runopt.sh
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/Type.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFloat64Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt16Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeInt8Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeObject.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint16Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/JSONParser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/AnyElements.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/IntArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LongArrayData.java
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NoTypeArrayData.java
+ src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NonExtensibleArrayFilter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NumberArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NumericElements.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ObjectArrayData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/TypedArrayData.java
+ test/script/basic/JDK-8061391.js
+ test/script/basic/JDK-8061391.js.EXPECTED
+ test/script/basic/JDK-8061391_2.js
+ test/script/basic/JDK-8061391_3.js
+ test/script/basic/JDK-8061391_3.js.EXPECTED

Changeset: 41b5976633aa
Author:    hannesw
Date:      2014-10-23 17:25 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/41b5976633aa

8059813: Type Info Cache flag must must be documented
Reviewed-by: attila, jlaskey

! docs/DEVELOPER_README
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/lookup/MethodHandleFactory.java

Changeset: bba8e963ccf2
Author:    katleman
Date:      2014-10-23 11:19 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/bba8e963ccf2

Added tag jdk9-b36 for changeset 10fe62bc1884

! .hgtags

Changeset: 2a3502a38f8c
Author:    lana
Date:      2014-10-23 13:45 -0700
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/2a3502a38f8c

Merge

- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SplitMethodEmitter.java
- src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/NoTypeArrayData.java

Changeset: 871cd9451896
Author:    attila
Date:      2014-10-24 13:25 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/871cd9451896

8061955: asm.js idioms result in unnecessarily code emission
Reviewed-by: hannesw, jlaskey

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FoldConstants.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeArray.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDataView.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeRegExpExecResult.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeUint32Array.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayIndex.java

Changeset: dd7bbdf81a53
Author:    sundar
Date:      2014-10-27 17:54 +0530
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/dd7bbdf81a53

8062024: Issue with date.setFullYear when time other than midnight
Reviewed-by: jlaskey, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeDate.java
+ test/script/basic/JDK-8062024.js
+ test/script/basic/JDK-8062024.js.EXPECTED



More information about the jdk9-hs-emb-changes mailing list