hg: jdk8/tl/nashorn: 17 new changesets

james.laskey at oracle.com james.laskey at oracle.com
Tue May 14 16:43:37 UTC 2013


Changeset: b754fb89367d
Author:    jlaskey
Date:      2013-04-30 10:05 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/b754fb89367d

8006220: Simplify PropertyMaps
Reviewed-by: hannesw, lagergren
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/codegen/MapCreator.java
! src/jdk/nashorn/internal/codegen/ObjectClassGenerator.java
! src/jdk/nashorn/internal/codegen/ObjectCreator.java
! src/jdk/nashorn/internal/objects/NativeDebug.java
! src/jdk/nashorn/internal/objects/NativeJSAdapter.java
! src/jdk/nashorn/internal/runtime/AccessorProperty.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/Property.java
! src/jdk/nashorn/internal/runtime/PropertyHashMap.java
! src/jdk/nashorn/internal/runtime/PropertyMap.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/SetMethodCreator.java
- src/jdk/nashorn/internal/runtime/SpillProperty.java
! src/jdk/nashorn/internal/runtime/StructureLoader.java
! src/jdk/nashorn/internal/runtime/UserAccessorProperty.java
! src/jdk/nashorn/internal/scripts/JO.java
! src/jdk/nashorn/tools/Shell.java

Changeset: 80cb02dedc83
Author:    hannesw
Date:      2013-05-02 09:19 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/80cb02dedc83

8013729: SwitchPoint invalidation not working over prototype chain
Reviewed-by: lagergren, sundar

! src/jdk/nashorn/internal/runtime/ScriptObject.java
+ test/script/basic/JDK-8013729.js
+ test/script/basic/JDK-8013729.js.EXPECTED

Changeset: 7563c56ca565
Author:    jlaskey
Date:      2013-05-02 13:22 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/7563c56ca565

8013794: JDK-8006220 caused an octane performance regression.
Reviewed-by: lagergren, sundar
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/codegen/ObjectCreator.java

Changeset: 9c2376a250b6
Author:    jlaskey
Date:      2013-05-02 13:23 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/9c2376a250b6

Merge


Changeset: c8023561505b
Author:    jlaskey
Date:      2013-05-02 15:01 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/c8023561505b

8013796: load("fx:base.js") should not be in fx:bootstrap.js
Reviewed-by: sundar, lagergren
Contributed-by: james.laskey at oracle.com

! src/jdk/nashorn/internal/runtime/resources/fx/bootstrap.js

Changeset: 5a3f7867e19c
Author:    lagergren
Date:      2013-05-03 15:33 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/5a3f7867e19c

8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
Reviewed-by: jlaskey, hannesw

! bin/jjs
! src/jdk/nashorn/api/scripting/NashornScriptEngineFactory.java
! src/jdk/nashorn/internal/codegen/Attr.java
! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/CompilationPhase.java
! src/jdk/nashorn/internal/codegen/Compiler.java
! src/jdk/nashorn/internal/codegen/FinalizeTypes.java
! src/jdk/nashorn/internal/codegen/ObjectCreator.java
! src/jdk/nashorn/internal/codegen/Splitter.java
! src/jdk/nashorn/internal/ir/Block.java
! src/jdk/nashorn/internal/ir/CatchNode.java
! src/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk/nashorn/internal/ir/LexicalContext.java
! src/jdk/nashorn/internal/ir/LexicalContextNode.java
! src/jdk/nashorn/internal/ir/LiteralNode.java
! src/jdk/nashorn/internal/ir/Node.java
! src/jdk/nashorn/internal/ir/Symbol.java
! src/jdk/nashorn/internal/objects/NativeRegExp.java
! src/jdk/nashorn/internal/parser/AbstractParser.java
! src/jdk/nashorn/internal/parser/Parser.java
! src/jdk/nashorn/internal/runtime/CompiledFunction.java
! src/jdk/nashorn/internal/runtime/CompiledFunctions.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/JSONFunctions.java
! src/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/regexp/DefaultRegExp.java
! src/jdk/nashorn/internal/runtime/regexp/JoniRegExp.java
! src/jdk/nashorn/internal/runtime/regexp/RegExpScanner.java
! src/jdk/nashorn/internal/runtime/resources/Options.properties
! src/jdk/nashorn/tools/Shell.java
+ test/script/basic/paramspec.js
+ test/script/basic/paramspec.js.EXPECTED
! test/script/basic/runsunspider.js
+ test/script/currently-failing/logcoverage.js
- test/script/trusted/logcoverage.js

Changeset: 829b06307fb2
Author:    lagergren
Date:      2013-05-03 16:01 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/829b06307fb2

8013871: mem usage histograms enabled with compiler logging level set to more specific than or equals to info when --print-mem-usage flag is used
Reviewed-by: jlaskey, hannesw

! src/jdk/nashorn/internal/codegen/Compiler.java
+ src/jdk/nashorn/internal/ir/debug/ClassHistogramElement.java
+ src/jdk/nashorn/internal/ir/debug/ObjectSizeCalculator.java
! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/ScriptEnvironment.java
! src/jdk/nashorn/internal/runtime/options/Options.java
! src/jdk/nashorn/internal/runtime/resources/Options.properties
! src/jdk/nashorn/tools/Shell.java

Changeset: c0f0033d7b08
Author:    hannesw
Date:      2013-05-03 22:47 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/c0f0033d7b08

8013878: ClassCastException in Regex
Reviewed-by: jlaskey

! src/jdk/nashorn/internal/objects/NativeArray.java
+ test/script/basic/JDK-8013878.js
+ test/script/basic/JDK-8013878.js.EXPECTED

Changeset: f98d22fa3cbc
Author:    hannesw
Date:      2013-05-03 22:48 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/f98d22fa3cbc

8013873: Regexp regression for escaped dash in character class
Reviewed-by: jlaskey

! src/jdk/nashorn/internal/runtime/regexp/RegExpScanner.java
+ test/script/basic/JDK-8013873.js
+ test/script/basic/JDK-8013873.js.EXPECTED

Changeset: f3dcb12c8439
Author:    hannesw
Date:      2013-05-03 22:50 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/f3dcb12c8439

8013874: Function argument's prototype seem cached and wrongly reused
Reviewed-by: jlaskey

! src/jdk/nashorn/internal/runtime/PropertyMap.java
+ test/script/basic/JDK-8013874.js
+ test/script/basic/JDK-8013874.js.EXPECTED

Changeset: 544e17632e96
Author:    lagergren
Date:      2013-05-07 14:36 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/544e17632e96

8013913: Removed Source field from all nodes except FunctionNode in order to save footprint
Reviewed-by: jlaskey, attila

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/internal/codegen/Attr.java
! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/FinalizeTypes.java
! src/jdk/nashorn/internal/codegen/FoldConstants.java
! src/jdk/nashorn/internal/codegen/Lower.java
! src/jdk/nashorn/internal/codegen/Splitter.java
! src/jdk/nashorn/internal/ir/AccessNode.java
! src/jdk/nashorn/internal/ir/BaseNode.java
! src/jdk/nashorn/internal/ir/BinaryNode.java
! src/jdk/nashorn/internal/ir/Block.java
! src/jdk/nashorn/internal/ir/BreakNode.java
! src/jdk/nashorn/internal/ir/BreakableNode.java
! src/jdk/nashorn/internal/ir/CallNode.java
! src/jdk/nashorn/internal/ir/CaseNode.java
! src/jdk/nashorn/internal/ir/CatchNode.java
! src/jdk/nashorn/internal/ir/ContinueNode.java
! src/jdk/nashorn/internal/ir/EmptyNode.java
! src/jdk/nashorn/internal/ir/ExecuteNode.java
! src/jdk/nashorn/internal/ir/ForNode.java
! src/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk/nashorn/internal/ir/IdentNode.java
! src/jdk/nashorn/internal/ir/IfNode.java
! src/jdk/nashorn/internal/ir/IndexNode.java
! src/jdk/nashorn/internal/ir/LabelNode.java
! src/jdk/nashorn/internal/ir/LexicalContext.java
! src/jdk/nashorn/internal/ir/LexicalContextNode.java
! src/jdk/nashorn/internal/ir/LineNumberNode.java
! src/jdk/nashorn/internal/ir/LiteralNode.java
- src/jdk/nashorn/internal/ir/Location.java
! src/jdk/nashorn/internal/ir/LoopNode.java
! src/jdk/nashorn/internal/ir/Node.java
! src/jdk/nashorn/internal/ir/ObjectNode.java
! src/jdk/nashorn/internal/ir/PropertyNode.java
! src/jdk/nashorn/internal/ir/ReturnNode.java
! src/jdk/nashorn/internal/ir/RuntimeNode.java
! src/jdk/nashorn/internal/ir/SplitNode.java
! src/jdk/nashorn/internal/ir/SwitchNode.java
! src/jdk/nashorn/internal/ir/TernaryNode.java
! src/jdk/nashorn/internal/ir/ThrowNode.java
! src/jdk/nashorn/internal/ir/TryNode.java
! src/jdk/nashorn/internal/ir/UnaryNode.java
! src/jdk/nashorn/internal/ir/VarNode.java
! src/jdk/nashorn/internal/ir/WhileNode.java
! src/jdk/nashorn/internal/ir/WithNode.java
! src/jdk/nashorn/internal/ir/debug/JSONWriter.java
! src/jdk/nashorn/internal/objects/NativeDebug.java
! src/jdk/nashorn/internal/parser/AbstractParser.java
! src/jdk/nashorn/internal/parser/JSONParser.java
! src/jdk/nashorn/internal/parser/Parser.java
! src/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java
! src/jdk/nashorn/internal/runtime/ScriptObject.java
! src/jdk/nashorn/internal/runtime/arrays/ArrayLikeIterator.java
! src/jdk/nashorn/internal/runtime/linker/LinkerCallSite.java
! src/jdk/nashorn/tools/Shell.java

Changeset: fb1d7ea3e1b6
Author:    lagergren
Date:      2013-05-07 14:43 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/fb1d7ea3e1b6

8013914: Removed explicit LineNumberNodes that were too brittle when code moves around, and also introduced unnecessary footprint. Introduced the Statement node and fixed dead code elimination issues that were discovered by the absense of labels for LineNumberNodes.
Reviewed-by: jlaskey, attila

! make/project.properties
! src/jdk/nashorn/internal/codegen/Attr.java
! src/jdk/nashorn/internal/codegen/CodeGenerator.java
! src/jdk/nashorn/internal/codegen/FinalizeTypes.java
! src/jdk/nashorn/internal/codegen/FoldConstants.java
! src/jdk/nashorn/internal/codegen/Label.java
! src/jdk/nashorn/internal/codegen/Lower.java
! src/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk/nashorn/internal/codegen/Splitter.java
! src/jdk/nashorn/internal/ir/Block.java
! src/jdk/nashorn/internal/ir/BlockLexicalContext.java
! src/jdk/nashorn/internal/ir/BreakNode.java
! src/jdk/nashorn/internal/ir/BreakableNode.java
! src/jdk/nashorn/internal/ir/CallNode.java
! src/jdk/nashorn/internal/ir/CatchNode.java
! src/jdk/nashorn/internal/ir/ContinueNode.java
! src/jdk/nashorn/internal/ir/EmptyNode.java
! src/jdk/nashorn/internal/ir/ExecuteNode.java
! src/jdk/nashorn/internal/ir/ForNode.java
! src/jdk/nashorn/internal/ir/FunctionNode.java
! src/jdk/nashorn/internal/ir/IfNode.java
! src/jdk/nashorn/internal/ir/LabelNode.java
! src/jdk/nashorn/internal/ir/LexicalContextNode.java
- src/jdk/nashorn/internal/ir/LineNumberNode.java
! src/jdk/nashorn/internal/ir/LoopNode.java
! src/jdk/nashorn/internal/ir/Node.java
! src/jdk/nashorn/internal/ir/ReturnNode.java
! src/jdk/nashorn/internal/ir/SplitNode.java
+ src/jdk/nashorn/internal/ir/Statement.java
! src/jdk/nashorn/internal/ir/SwitchNode.java
! src/jdk/nashorn/internal/ir/Symbol.java
! src/jdk/nashorn/internal/ir/ThrowNode.java
! src/jdk/nashorn/internal/ir/TryNode.java
! src/jdk/nashorn/internal/ir/VarNode.java
! src/jdk/nashorn/internal/ir/WhileNode.java
! src/jdk/nashorn/internal/ir/WithNode.java
! src/jdk/nashorn/internal/ir/debug/JSONWriter.java
! src/jdk/nashorn/internal/ir/debug/PrintVisitor.java
! src/jdk/nashorn/internal/ir/visitor/NodeOperatorVisitor.java
! src/jdk/nashorn/internal/ir/visitor/NodeVisitor.java
! src/jdk/nashorn/internal/objects/Global.java
! src/jdk/nashorn/internal/objects/NativeDebug.java
! src/jdk/nashorn/internal/parser/Parser.java
! src/jdk/nashorn/internal/runtime/Context.java
! src/jdk/nashorn/internal/runtime/linker/LinkerCallSite.java
! src/jdk/nashorn/tools/Shell.java
+ test/script/basic/no_line_numbers.js
+ test/script/basic/no_line_numbers.js.EXPECTED

Changeset: d28180d97c61
Author:    attila
Date:      2013-05-08 15:51 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/d28180d97c61

8013912: Nashorn needs to reuse temporary symbols
Reviewed-by: jlaskey, lagergren

! src/jdk/nashorn/internal/codegen/Attr.java
! src/jdk/nashorn/internal/codegen/CompilationPhase.java
! src/jdk/nashorn/internal/codegen/Compiler.java
! src/jdk/nashorn/internal/codegen/CompilerConstants.java
! src/jdk/nashorn/internal/codegen/FinalizeTypes.java
! src/jdk/nashorn/internal/ir/AccessNode.java
! src/jdk/nashorn/internal/ir/BlockLexicalContext.java
! src/jdk/nashorn/internal/ir/CallNode.java
! src/jdk/nashorn/internal/ir/IdentNode.java
! src/jdk/nashorn/internal/ir/IndexNode.java
! src/jdk/nashorn/internal/ir/Node.java
! src/jdk/nashorn/internal/ir/RuntimeNode.java
! src/jdk/nashorn/internal/ir/Symbol.java
+ src/jdk/nashorn/internal/ir/TemporarySymbols.java
! src/jdk/nashorn/internal/ir/TypeOverride.java

Changeset: 18ce1cd3026c
Author:    attila
Date:      2013-05-08 16:48 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/18ce1cd3026c

8014225: Rerun only failed 262 tests
Reviewed-by: jlaskey, lagergren

! make/project.properties
! test/src/jdk/nashorn/internal/test/framework/AbstractScriptRunnable.java
! test/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java
! test/src/jdk/nashorn/internal/test/framework/TestConfig.java
! test/src/jdk/nashorn/internal/test/framework/TestFinder.java

Changeset: 9073bcc4307b
Author:    lagergren
Date:      2013-05-10 13:16 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/9073bcc4307b

8014329: Slim down the label stack structure in CodeGenerator
Reviewed-by: attila, jlaskey

! .hgignore
! src/jdk/nashorn/internal/codegen/Attr.java
! src/jdk/nashorn/internal/codegen/Compiler.java
! src/jdk/nashorn/internal/codegen/Label.java
! src/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk/nashorn/internal/ir/BlockLexicalContext.java

Changeset: 098a4cedcaf2
Author:    attila
Date:      2013-05-14 12:39 +0200
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/098a4cedcaf2

8014492: Make NashornLinker public
Reviewed-by: hannesw, jlaskey

! src/jdk/nashorn/internal/runtime/linker/NashornLinker.java

Changeset: 264bb0af9e4e
Author:    jlaskey
Date:      2013-05-14 09:05 -0300
URL:       http://hg.openjdk.java.net/jdk8/tl/nashorn/rev/264bb0af9e4e

Merge

- src/jdk/nashorn/internal/ir/LineNumberNode.java
- src/jdk/nashorn/internal/ir/Location.java
- src/jdk/nashorn/internal/runtime/SpillProperty.java
- test/script/trusted/logcoverage.js




More information about the security-dev mailing list