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

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Sat Sep 6 01:57:03 UTC 2014


Changeset: 2520d5e7bc5f
Author:    yan
Date:      2014-09-01 17:34 +0400
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/2520d5e7bc5f

8054343: Nashorn: Some tests fails on windows with AccessControlException
Reviewed-by: lagergren, sundar
Contributed-by: Sergey Lugovoy <sergey.lugovoy at oracle.com>

! test/script/basic/compile-octane-normal.js
! test/script/basic/compile-octane-splitter.js
! test/script/basic/compile-octane.js

Changeset: 20d8ab569eb6
Author:    attila
Date:      2014-09-03 14:33 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/20d8ab569eb6

8056913: Limit the size of type info cache on disk
Reviewed-by: jlaskey, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/OptimisticTypesPersistence.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/types/Type.java

Changeset: 0b7b3bd3cc04
Author:    lagergren
Date:      2014-09-04 10:52 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/0b7b3bd3cc04

8057019: Various problems with extra arguments to applies
Reviewed-by: attila, hannesw, jlaskey

- bin/dump_octane_code.sh
- bin/fixorphantests.sh
- bin/fixwhitespace.sh
- bin/jjsdebug.sh
- bin/rm-non-tracked.sh
- bin/run_octane.sh
- bin/rundiff.sh
- bin/runopt.sh
- bin/runopt_noassert.sh
- bin/runopt_nojfr.sh
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptFunction.java
+ test/script/basic/JDK-8057019-2.js
+ test/script/basic/JDK-8057019-2.js.EXPECTED
+ test/script/basic/JDK-8057019-payload.js
+ test/script/basic/JDK-8057019.js
+ test/script/basic/JDK-8057019.js.EXPECTED
! test/script/basic/apply_to_call/apply_to_call4.js.EXPECTED

Changeset: ef3c1957d29b
Author:    lagergren
Date:      2014-09-04 14:42 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/ef3c1957d29b

8057551: Let the -d flag dump _all_ generated classes to disk and work outside --compile-only mode
Reviewed-by: attila, jlaskey

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/DumpBytecode.java

Changeset: 2f0161551858
Author:    hannesw
Date:      2014-09-04 15:37 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/2f0161551858

8051889: Implement block scoping in symbol assignment and scope computation
Reviewed-by: attila, lagergren

! make/build.xml
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/Compiler.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/FieldObjectCreator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MapCreator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/TypeEvaluator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/IdentNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/Symbol.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/VarNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/parser/Parser.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/AccessorProperty.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Context.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/FindProperty.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/Property.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ScriptRuntime.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/SetMethodCreator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/NashornCallSiteDescriptor.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Options.properties
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/tools/Shell.java
+ test/script/basic/es6/block-function-decl.js
+ test/script/basic/es6/block-function-decl.js.EXPECTED
+ test/script/basic/es6/const-empty.js
+ test/script/basic/es6/const-empty.js.EXPECTED
+ test/script/basic/es6/const-reassign.js
+ test/script/basic/es6/const-reassign.js.EXPECTED
+ test/script/basic/es6/const-redeclare.js
+ test/script/basic/es6/const-redeclare.js.EXPECTED
+ test/script/basic/es6/const-self.js
+ test/script/basic/es6/const-self.js.EXPECTED
+ test/script/basic/es6/const-tdz.js
+ test/script/basic/es6/const-tdz.js.EXPECTED
+ test/script/basic/es6/const.js
+ test/script/basic/es6/const.js.EXPECTED
+ test/script/basic/es6/for-let.js
+ test/script/basic/es6/for-let.js.EXPECTED
+ test/script/basic/es6/let-eval.js
+ test/script/basic/es6/let-eval.js.EXPECTED
+ test/script/basic/es6/let-load-lib.js
+ test/script/basic/es6/let-load.js
+ test/script/basic/es6/let-load.js.EXPECTED
+ test/script/basic/es6/let-nodeclare.js
+ test/script/basic/es6/let-nodeclare.js.EXPECTED
+ test/script/basic/es6/let-redeclare.js
+ test/script/basic/es6/let-redeclare.js.EXPECTED
+ test/script/basic/es6/let-self.js
+ test/script/basic/es6/let-self.js.EXPECTED
+ test/script/basic/es6/let-tdz.js
+ test/script/basic/es6/let-tdz.js.EXPECTED
+ test/script/basic/es6/let.js
+ test/script/basic/es6/let.js.EXPECTED
! test/script/trusted/JDK-8006529.js
! test/src/jdk/nashorn/internal/codegen/CompilerTest.java
! test/src/jdk/nashorn/internal/parser/ParserTest.java

Changeset: 37152862918f
Author:    attila
Date:      2014-09-04 18:57 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/37152862918f

8056129: AtomicInteger is treated as primitive number with optimistic compilation
Reviewed-by: jlaskey, lagergren

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/JSType.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/OptimisticReturnFilters.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/ArrayData.java
+ test/script/basic/JDK-8056129.js
+ test/script/basic/JDK-8056129.js.EXPECTED

Changeset: f04f14587586
Author:    lagergren
Date:      2014-09-05 16:28 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/f04f14587586

8057611: Nashorn did not dump the JOx classes to disk when running with the -d flag
Reviewed-by: attila, sundar, hannesw

! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ObjectClassGenerator.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunction.java

Changeset: 4258ccc2eb8a
Author:    lagergren
Date:      2014-09-05 16:28 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-emb/nashorn/rev/4258ccc2eb8a

8057588: Lots of trivial (empty) classes were generated by the Nashorn compiler as part of restOf-method generation
Reviewed-by: attila, sundar, hannesw

! 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/ir/CompileUnitHolder.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/LiteralNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/SplitNode.java
! src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/CompiledFunction.java



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