hg: jdk8u/hs-dev/nashorn: 19 new changesets

alejandro.murillo at oracle.com alejandro.murillo at oracle.com
Fri Oct 31 19:34:37 UTC 2014


Changeset: 5aac3287ea5d
Author:    sundar
Date:      2014-10-10 19:09 +0530
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/5aac3287ea5d

8060101: AssertionError: __noSuchProperty__ placeholder called from NativeJavaImporter
Reviewed-by: attila, jlaskey

! src/jdk/nashorn/internal/objects/NativeJavaImporter.java
! src/jdk/nashorn/internal/runtime/WithObject.java
! src/jdk/nashorn/internal/runtime/resources/Messages.properties
+ test/script/basic/JDK-8060101.js

Changeset: c3fb7c0a95d9
Author:    attila
Date:      2014-10-13 20:10 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/c3fb7c0a95d9

8059842: Creating symbols for declared functions shouldn't be a special case
Reviewed-by: hannesw, lagergren

! src/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk/nashorn/internal/ir/VarNode.java

Changeset: a35c8136c045
Author:    sundar
Date:      2014-10-14 16:16 +0530
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/a35c8136c045

8050977: Java8 Javascript Nashorn exception: no current Global instance for nashorn
Reviewed-by: attila, lagergren, hannesw

! src/jdk/nashorn/api/scripting/NashornScriptEngine.java
! src/jdk/nashorn/api/scripting/ScriptUtils.java
! src/jdk/nashorn/internal/codegen/MethodEmitter.java
! src/jdk/nashorn/internal/objects/NativeJava.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterBytecodeGenerator.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterClassLoader.java
! src/jdk/nashorn/internal/runtime/linker/JavaAdapterServices.java
! src/jdk/nashorn/internal/runtime/linker/NashornBeansLinker.java
! src/jdk/nashorn/internal/runtime/linker/NashornLinker.java
! src/jdk/nashorn/internal/runtime/resources/mozilla_compat.js
! test/script/basic/convert.js
! test/script/nosecurity/JDK-8044798.js
! test/src/jdk/nashorn/api/scripting/ScriptEngineSecurityTest.java
! test/src/jdk/nashorn/api/scripting/ScriptEngineTest.java

Changeset: 3c57bcd0c73f
Author:    lagergren
Date:      2014-10-14 16:11 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/3c57bcd0c73f

8060471: DynamicLinker.getLinkedCallSiteLocation() is called even when logger is disabled, and it creates a stacktrace. This contributes unnecessarily to compile time.
Reviewed-by: lagergren, attila
Contributed-by: andreas.gabrielsson at oracle.com

! src/jdk/nashorn/internal/runtime/GlobalConstants.java

Changeset: 3736ebef15e9
Author:    attila
Date:      2014-10-14 13:04 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/3736ebef15e9

8060238: Reports for optimistic test run overwrite those for pessimistic run
Reviewed-by: hannesw, lagergren, sundar

! make/build.xml

Changeset: db675278b4d3
Author:    attila
Date:      2014-10-15 15:57 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/db675278b4d3

8060242: Compile-time expression evaluator was not seeing into ArrayBufferViews
Reviewed-by: hannesw, lagergren, sundar

! src/jdk/nashorn/internal/codegen/TypeEvaluator.java
! src/jdk/nashorn/internal/objects/ArrayBufferView.java
! src/jdk/nashorn/internal/objects/NativeFloat32Array.java
! src/jdk/nashorn/internal/objects/NativeFloat64Array.java
! src/jdk/nashorn/internal/objects/NativeInt16Array.java
! src/jdk/nashorn/internal/objects/NativeInt32Array.java
! src/jdk/nashorn/internal/objects/NativeInt8Array.java
! src/jdk/nashorn/internal/objects/NativeUint16Array.java
! src/jdk/nashorn/internal/objects/NativeUint32Array.java
! src/jdk/nashorn/internal/objects/NativeUint8Array.java
! src/jdk/nashorn/internal/objects/NativeUint8ClampedArray.java
! src/jdk/nashorn/internal/runtime/arrays/ContinuousArrayData.java
! src/jdk/nashorn/internal/runtime/arrays/IntArrayData.java
! src/jdk/nashorn/internal/runtime/arrays/LongArrayData.java
! src/jdk/nashorn/internal/runtime/arrays/NumberArrayData.java
! src/jdk/nashorn/internal/runtime/arrays/ObjectArrayData.java

Changeset: ef1e5e03e03e
Author:    attila
Date:      2014-10-15 16:00 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/ef1e5e03e03e

8060241: Immediately invoked function expressions cause lot of deoptimization
Reviewed-by: hannesw, lagergren

! src/jdk/nashorn/internal/codegen/TypeEvaluator.java
! src/jdk/nashorn/internal/runtime/RecompilableScriptFunctionData.java

Changeset: 2bf4c14345aa
Author:    sundar
Date:      2014-10-15 19:50 +0530
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/2bf4c14345aa

8060688: Nashorn: Generated script class name fails --verify-code for names with special chars
Reviewed-by: jlaskey, hannesw

! src/jdk/nashorn/internal/codegen/Compiler.java
+ test/script/nosecurity/JDK-8060688.js
! test/src/jdk/nashorn/internal/codegen/CompilerTest.java
! test/src/jdk/nashorn/internal/runtime/TrustedScriptEngineTest.java

Changeset: 1dd26718dbaa
Author:    attila
Date:      2014-10-16 11:34 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/1dd26718dbaa

8061113: Boolean used as optimistic call return type
Reviewed-by: hannesw, sundar

! src/jdk/nashorn/internal/codegen/TypeEvaluator.java
+ test/script/basic/JDK-8061113.js
+ test/script/basic/JDK-8061113.js.EXPECTED

Changeset: 6de46794603c
Author:    hannesw
Date:      2014-10-17 15:04 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/6de46794603c

8060011: Concatenating an array and converting it to Java gives wrong result
Reviewed-by: lagergren, attila

! src/jdk/nashorn/internal/runtime/arrays/DeletedRangeArrayFilter.java
! src/jdk/nashorn/internal/runtime/arrays/IntArrayData.java
! src/jdk/nashorn/internal/runtime/arrays/LongArrayData.java
! src/jdk/nashorn/internal/runtime/arrays/NumberArrayData.java
! src/jdk/nashorn/internal/runtime/arrays/ObjectArrayData.java
! src/jdk/nashorn/internal/runtime/arrays/SparseArrayData.java
+ test/script/basic/JDK-8060011.js

Changeset: 42fc6bc42dae
Author:    sundar
Date:      2014-10-20 18:40 +0530
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/42fc6bc42dae

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

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

Changeset: bf5f28dafa7c
Author:    hannesw
Date:      2014-10-20 14:09 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/bf5f28dafa7c

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/nashorn/internal/runtime/Context.java
! test/src/jdk/nashorn/internal/test/framework/ParallelTestRunner.java

Changeset: 8c51767d534d
Author:    attila
Date:      2014-10-17 14:24 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/8c51767d534d

8059843: Make AST serializable
Reviewed-by: hannesw, lagergren

! src/jdk/nashorn/internal/codegen/CompileUnit.java
! src/jdk/nashorn/internal/codegen/Label.java
! src/jdk/nashorn/internal/codegen/types/ArrayType.java
! src/jdk/nashorn/internal/codegen/types/BitwiseType.java
! src/jdk/nashorn/internal/codegen/types/BooleanType.java
! src/jdk/nashorn/internal/codegen/types/IntType.java
! src/jdk/nashorn/internal/codegen/types/LongType.java
! src/jdk/nashorn/internal/codegen/types/NumberType.java
! src/jdk/nashorn/internal/codegen/types/NumericType.java
! src/jdk/nashorn/internal/codegen/types/ObjectType.java
! src/jdk/nashorn/internal/codegen/types/Type.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/BlockStatement.java
! src/jdk/nashorn/internal/ir/BreakNode.java
! src/jdk/nashorn/internal/ir/BreakableStatement.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/Expression.java
! src/jdk/nashorn/internal/ir/ExpressionStatement.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/JoinPredecessorExpression.java
! src/jdk/nashorn/internal/ir/JumpStatement.java
! src/jdk/nashorn/internal/ir/LabelNode.java
! src/jdk/nashorn/internal/ir/LexicalContextExpression.java
! src/jdk/nashorn/internal/ir/LexicalContextStatement.java
! src/jdk/nashorn/internal/ir/LiteralNode.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/Statement.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/parser/Lexer.java

Changeset: 03c06c337d9d
Author:    attila
Date:      2014-10-20 12:06 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/03c06c337d9d

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

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

Changeset: 3219e9e47daf
Author:    attila
Date:      2014-10-21 14:27 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/3219e9e47daf

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

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

Changeset: 7fad0ce81344
Author:    amurillo
Date:      2014-10-22 08:24 -0700
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/7fad0ce81344

Merge


Changeset: 81483abb4ff9
Author:    lana
Date:      2014-10-22 12:29 -0700
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/81483abb4ff9

Merge

- src/jdk/nashorn/internal/codegen/SplitMethodEmitter.java

Changeset: 375a3a3256d0
Author:    hannesw
Date:      2014-10-23 18:07 +0200
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/375a3a3256d0

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

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

Changeset: 21efaa9e20a5
Author:    katleman
Date:      2014-10-29 10:50 -0700
URL:       http://hg.openjdk.java.net/jdk8u/hs-dev/nashorn/rev/21efaa9e20a5

Added tag jdk8u40-b12 for changeset 375a3a3256d0

! .hgtags



More information about the jdk8u-hs-changes mailing list