Athijegannathan Sundararajan
4dd455e254
8058545: With strict mode, bean property assignment of a non-existent property should result in TypeError
...
Reviewed-by: hannesw, lagergren
2014-09-16 17:04:35 +05:30
Hannes Wallnöfer
9352e3ed55
8056978: ClassCastException: cannot cast jdk.nashorn.internal.scripts.JO*
...
Reviewed-by: jlaskey, sundar
2014-09-15 17:51:11 +02:00
Athijegannathan Sundararajan
8c0e33df17
8058422: Users should be able to overwrite "context" and "engine" variables
...
Reviewed-by: lagergren, attila
2014-09-15 15:18:13 +05:30
Hannes Wallnöfer
9afdb7964c
8058304: Non-serializable fields in serializable classes
...
Reviewed-by: lagergren, sundar
2014-09-12 15:01:48 +02:00
Hannes Wallnöfer
1e000f777d
8057743: Single quotes must be escaped in message resource file
...
Reviewed-by: attila, lagergren, sundar
2014-09-12 11:00:51 +02:00
Lana Steuck
87d4175a75
Merge
2014-09-11 14:30:00 -07:00
Bradford Wetmore
7286ac2773
8058180: .hgignore should be updated with webrev in all repos
...
Reviewed-by: jrose, katleman, jjg
2014-09-11 12:18:02 -07:00
David Katleman
2fa1c08b52
Added tag jdk9-b30 for changeset 00bb2442d1d6
2014-09-11 09:09:02 -07:00
Hannes Wallnöfer
26d9d19841
8058179: Global constants get in the way of self-modifying properties
...
Reviewed-by: attila, jlaskey, sundar, lagergren
2014-09-11 17:23:02 +02:00
Attila Szegedi
c121e477c0
8058100: Reduce the RecompilableScriptFunctionData footprint
...
Reviewed-by: jlaskey, lagergren
2014-09-11 17:12:38 +02:00
Lana Steuck
49d33d66eb
Merge
2014-09-10 19:37:52 -07:00
Hannes Wallnöfer
6a9239547f
8057021: UserAccessorProperty guards fail with multiple globals
...
Reviewed-by: attila, lagergren
2014-09-10 15:19:26 +02:00
Attila Szegedi
621efcd976
8034954: Optimistic iteration in for-in and for-each
...
Reviewed-by: hannesw, lagergren
2014-09-10 13:08:58 +02:00
Marcus Lagergren
c0bc4f8216
8057703: More empty classes generated by Nashorn
...
Reviewed-by: attila, sundar
2014-09-10 12:37:44 +02:00
Attila Szegedi
7dfcc902f6
8057931: Instead of not skipping small functions in parser, make lexer avoid them instead
...
Reviewed-by: hannesw, sundar
2014-09-09 15:34:14 +02:00
Attila Szegedi
f8b399466b
8057930: remove eval ID
...
Reviewed-by: hannesw, sundar
2014-09-09 15:33:58 +02:00
Attila Szegedi
c6dd744ff0
8057148: Skip nested functions on reparse
...
Reviewed-by: hannesw, lagergren
2014-09-08 18:40:58 +02:00
Sergey Lugovoy
5c841f8049
8057678: Tests for let and const keywords in Nashorn
...
Reviewed-by: hannesw, lagergren
2014-09-08 15:37:50 +04:00
Athijegannathan Sundararajan
f7042614f7
8057742: ant clean test should not fail if one or more external test suites are missing
...
Reviewed-by: lagergren, hannesw
2014-09-08 15:51:27 +05:30
Marcus Lagergren
5c74cf0819
8057588: Lots of trivial (empty) classes were generated by the Nashorn compiler as part of restOf-method generation
...
Reviewed-by: attila, sundar, hannesw
2014-09-05 16:28:17 +02:00
Marcus Lagergren
cbd2f643ad
8057611: Nashorn did not dump the JOx classes to disk when running with the -d flag
...
Reviewed-by: attila, sundar, hannesw
2014-09-05 16:28:02 +02:00
Lana Steuck
c14ade213d
Merge
2014-09-04 14:45:42 -07:00
David Katleman
85ccd04a3c
Added tag jdk9-b29 for changeset 14591ffc0c61
2014-09-04 13:26:40 -07:00
Attila Szegedi
6e6817cf2b
8056129: AtomicInteger is treated as primitive number with optimistic compilation
...
Reviewed-by: jlaskey, lagergren
2014-09-04 18:57:14 +02:00
Hannes Wallnöfer
7ecdd47620
8051889: Implement block scoping in symbol assignment and scope computation
...
Reviewed-by: attila, lagergren
2014-09-04 15:37:14 +02:00
Marcus Lagergren
917f13e5db
8057551: Let the -d flag dump _all_ generated classes to disk and work outside --compile-only mode
...
Reviewed-by: attila, jlaskey
2014-09-04 14:42:30 +02:00
Marcus Lagergren
6db003872b
8057019: Various problems with extra arguments to applies
...
Reviewed-by: attila, hannesw, jlaskey
2014-09-04 10:52:42 +02:00
Attila Szegedi
b0b75a5371
8056913: Limit the size of type info cache on disk
...
Reviewed-by: jlaskey, lagergren
2014-09-03 14:33:34 +02:00
Sergey Lugovoy
d23eaa4432
8054343: Nashorn: Some tests fails on windows with AccessControlException
...
Reviewed-by: lagergren, sundar
2014-09-01 17:34:37 +04:00
Lana Steuck
05ab04b816
Merge
2014-08-29 11:58:19 -07:00
David Katleman
fef0a608c7
Added tag jdk9-b28 for changeset b7633e8ce82a
2014-08-29 11:30:59 -07:00
Lana Steuck
46a7de200b
Merge
2014-08-28 14:53:37 -07:00
Attila Szegedi
5e59a2ef0d
8056243: OptimisticTypePersistence should refuse to work in symlinked directories
...
Reviewed-by: lagergren, sundar
2014-08-28 16:38:23 +02:00
Athijegannathan Sundararajan
b5af5f7eae
8056123: Anonymous function statements leak internal function names into global scope
...
Reviewed-by: hannesw, attila
2014-08-27 14:27:56 +05:30
Athijegannathan Sundararajan
b915e1a4ad
8056094: [nashorn] tests fail when running via jtreg
...
Reviewed-by: jlaskey, hannesw
2014-08-26 22:57:24 +05:30
Attila Szegedi
91f1c2c34c
8056025: CompilationPhase.setStates() is hot in class installation phase
...
Reviewed-by: jlaskey, sundar
2014-08-26 15:52:55 +02:00
Attila Szegedi
a72b265924
8056052: Source.getContent() does excess Object.clone()
...
Reviewed-by: jlaskey, sundar
2014-08-26 15:04:48 +02:00
Attila Szegedi
5eb6a95a44
8055954: Do not parallelize class installation
...
Reviewed-by: jlaskey, sundar
2014-08-26 15:04:20 +02:00
Athijegannathan Sundararajan
4bca3ec0bf
8056050: runExternalJsTest method in test/jdk/nashorn/internal/runtime/ClassFilter.java slows down "ant test"
...
Reviewed-by: attila, jlaskey
2014-08-26 17:21:17 +05:30
Attila Szegedi
362089dbfc
8055923: collect timings using System.nanoTime
...
Reviewed-by: hannesw, lagergren
2014-08-26 11:45:36 +02:00
Marcus Lagergren
e533964fc8
8055906: Avoid throwing an exception with filled in stack trace as part of the normal control flow
...
Reviewed-by: attila, hannesw
2014-08-26 11:42:07 +02:00
Attila Szegedi
8525a0f5b5
8055913: Node.hashCode() delegates to Object.hashCode() and is hot
...
Reviewed-by: lagergren, sundar
2014-08-26 11:32:12 +02:00
Attila Szegedi
2fc5ea4674
8055911: Don't use String.intern for IdentNode
...
Reviewed-by: lagergren, sundar
2014-08-26 11:31:31 +02:00
Sergey Lugovoy
b04e423d8d
8055811: Tests for Nashorn ClassFilter Support
...
Reviewed-by: sundar, attila
2014-08-26 13:26:15 +04:00
Attila Szegedi
4aeaccdf69
8055870: iteration fails if index var is not used
...
Reviewed-by: hannesw, lagergren
2014-08-25 22:36:05 +02:00
Athijegannathan Sundararajan
ed9b4d01ec
8055899: Two nashorn tests fail in 8u40 nightly build with ClassNotFoundException
...
Reviewed-by: jlaskey, lagergren
2014-08-25 20:26:53 +05:30
Sergey Lugovoy
279e660367
8055878: Nashorn: all tests failed with AccessControlException
...
Reviewed-by: sundar, hannesw
2014-08-25 17:38:53 +04:00
Athijegannathan Sundararajan
cb277efc44
8055830: JDK-8015969.js is silently failing
...
Reviewed-by: lagergren, jlaskey, hannesw
2014-08-22 22:50:38 +05:30
Athijegannathan Sundararajan
9700f06b1b
8055796: JSObject and browser JSObject linkers should provide fallback to call underlying Java methods directly
...
Reviewed-by: attila, hannesw
2014-08-22 15:47:28 +05:30
David Katleman
9f1adbcbb3
Added tag jdk9-b27 for changeset d38d876f1654
2014-08-21 14:16:28 -07:00
Athijegannathan Sundararajan
017d321931
8055762: Nashorn misses linker for netscape.javascript.JSObject instances
...
Reviewed-by: lagergren, jlaskey
2014-08-21 20:06:48 +05:30
Athijegannathan Sundararajan
eadc8dbe75
8055687: Wrong "this" passed to JSObject.eval call
...
Reviewed-by: lagergren, hannesw, attila
2014-08-20 21:32:09 +05:30
Athijegannathan Sundararajan
16bef5aa2a
8050078: Nashorn ClassFilter Support
...
Reviewed-by: lagergren, hannesw
2014-08-20 20:04:19 +05:30
Athijegannathan Sundararajan
fa78f33af1
8055395: Nashorn should use source, target to be 1.8 and use ASM5 version for generated code
...
Reviewed-by: attila, lagergren, jlaskey
2014-08-19 18:14:45 +05:30
Hannes Wallnöfer
47a0c94d3f
8055368: Ant build broken after modular source code change
...
Reviewed-by: attila, sundar, lagergren
2014-08-19 11:25:14 +02:00
Chris Hegarty
57d4d0207b
Merge
2014-08-18 10:59:40 +01:00
Chris Hegarty
5fe51a5b71
8054834: Modular Source Code
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:56:32 +01:00
Attila Szegedi
9227b18d8a
8055199: Tidy up Nashorn codebase for code standards (August 2014)
...
Reviewed-by: hannesw, lagergren
2014-08-15 17:30:49 +02:00
Athijegannathan Sundararajan
983051a456
8055139: test/script/trusted/JDK-8055107.js fails with access control exception
...
Reviewed-by: lagergren, attila, jlaskey
2014-08-14 20:14:54 +05:30
Athijegannathan Sundararajan
62e846549d
8055107: Extension directives to turn on callsite profiling, tracing, AST print and other debug features locally
...
Reviewed-by: attila, jlaskey
2014-08-14 18:54:54 +05:30
Attila Szegedi
dbb42efd61
8055042: Compile-time expression evaluator was missing variables
...
Reviewed-by: jlaskey, lagergren
2014-08-14 14:35:44 +02:00
Athijegannathan Sundararajan
a98a0d19e1
8055034: jjs exits interactive mode if exception was thrown when trying to print value of last evaluated expression
...
Reviewed-by: jlaskey, attila
2014-08-13 21:03:37 +05:30
Athijegannathan Sundararajan
f2ebff72ba
8054993: type info cache may be disabled for test262 and tests explicitly changing that property should use @fork
...
Reviewed-by: lagergren, hannesw
2014-08-13 15:00:24 +05:30
Hannes Wallnöfer
20607aa6c3
8054898: Avoid creation of empty type info files
...
Reviewed-by: attila, sundar, jlaskey
2014-08-12 13:23:47 +02:00
Hannes Wallnöfer
f71b48d575
8044851: nashorn properties leak memory
...
Reviewed-by: attila, jlaskey, lagergren
2014-08-12 13:22:05 +02:00
Lana Steuck
25ce52548d
Merge
2014-08-11 10:07:15 -07:00
Athijegannathan Sundararajan
a603833464
8054503: test/script/external/test262/test/suite/ch12/12.6/12.6.4/12.6.4-2.js fails with tip
...
Reviewed-by: jlaskey, hannesw, attila
2014-08-11 20:35:21 +05:30
Lana Steuck
d4142068b2
Added tag jdk9-b26 for changeset e60692e4f736
2014-08-10 19:39:07 -07:00
Lana Steuck
051ebee267
Added tag jdk9-b26 for changeset a64f0cd60e66
2014-08-09 21:27:44 -07:00
Athijegannathan Sundararajan
3b73e95849
8054651: Global.initConstructor and ScriptFunction.getPrototype(Object) can have stricter types
...
Reviewed-by: attila, jlaskey, hannesw
2014-08-08 19:07:17 +05:30
Hannes Wallnöfer
a8ece5cffc
8043956: Make code caching work with optimistic typing and lazy compilation
...
Reviewed-by: attila, lagergren
2014-08-08 12:50:46 +02:00
Athijegannathan Sundararajan
35c5f0ad5d
8051346: Test262 tests for ECMAScript 5 now in branch "es5-tests"
...
Reviewed-by: attila, hannesw
2014-08-07 19:19:46 +05:30
Attila Szegedi
9d38762126
8046026: CompiledFunction.relinkComposableInvoker assert is being hit
...
Reviewed-by: hannesw, jlaskey, sundar
2014-08-07 11:06:45 +02:00
Athijegannathan Sundararajan
cf32cd8ae4
8053910: ScriptObjectMirror causing havoc with Invocation interface
...
Reviewed-by: jlaskey, attila, hannesw
2014-08-06 22:11:12 +05:30
Attila Szegedi
3dc86bb834
8054411: Add nashorn.args.prepend system property
...
Reviewed-by: hannesw, jlaskey
2014-08-06 11:54:50 +02:00
Attila Szegedi
5d2615f1cb
8051439: Wrong type calculated for ADD operator with undefined operand
...
Reviewed-by: jlaskey, sundar
2014-08-06 11:02:14 +02:00
Attila Szegedi
1eb6e5cb42
8044786: Some tests fail with non-optimistic compilation
...
Reviewed-by: hannesw, jlaskey
2014-08-06 10:42:46 +02:00
Lana Steuck
15e6c25a6a
Merge
2014-08-04 15:34:57 -07:00
Athijegannathan Sundararajan
578ec9d11e
8054223: Nashorn: AssertionError when use __DIR__ and ScriptEngine.eval()
...
Reviewed-by: lagergren, hannesw
2014-08-04 21:37:45 +05:30
Tim Bell
48710812cb
Added tag jdk9-b25 for changeset 064db4f56d0d
2014-08-01 14:09:25 -07:00
Athijegannathan Sundararajan
a55d1b4b75
8053908: jdeps is not PATH on Mac, results in ant clean test failure on Mac
...
Reviewed-by: hannesw, jlaskey
2014-07-31 18:14:46 +05:30
Lana Steuck
3640bd0029
Merge
2014-07-30 11:49:28 -07:00
Attila Szegedi
d8c8841e2a
8051839: GuardedInvocation needs to clone an argument
...
Reviewed-by: hannesw, sundar
2014-07-30 10:06:42 -07:00
Sergey Lugovoy
ce3b922118
8049318: Test hideLocationProperties.js fails on Window due to backslash in path
...
Reviewed-by: lagergren, sundar
2014-07-30 16:49:02 +04:00
Marcus Lagergren
99e23fa4ab
8053913: Auto format caused warning in CompositeTypeBasedGuardingDynamicLinker
...
Reviewed-by: attila, jlaskey
2014-07-29 14:35:24 -07:00
Marcus Lagergren
5c93b19922
8048869: Reduce compile time by about 5% by removing the Class.casts from the AST nodes
...
Removed the native casts that slow down the compiler unnecessarily. I also modified the compile-octane harness so that it can run with --verbose and --iterations flags so that you can run the compiler for an arbitrary time, gathering a mission control executing profile.
Reviewed-by: attila, jlaskey
2014-07-29 14:21:45 -07:00
Tim Bell
0e56704088
Added tag jdk9-b24 for changeset abe2821cc591
2014-07-25 15:38:12 -07:00
Lana Steuck
ad9ca4fb43
Merge
2014-07-22 11:55:03 -07:00
Lana Steuck
3bc1beed81
Merge
2014-07-18 08:25:35 -07:00
Lev Priima
a27f5c073f
8051019: Separate src and test execution sandbox directories
...
Reviewed-by: jlaskey
2014-07-18 16:53:17 +05:30
David Katleman
aff3d74cb4
Added tag jdk9-b23 for changeset 000e5d36d0e3
2014-07-17 09:50:46 -07:00
Athijegannathan Sundararajan
4323d2ade5
8050964: OptimisticTypesPersistence.java should use java.util.Date instead of java.sql.Date
...
Reviewed-by: jlaskey
2014-07-17 16:47:06 +05:30
Athijegannathan Sundararajan
8a77a443db
8050432: javax.script.filename variable should not be enumerable with nashorn engine's ENGINE_SCOPE bindings
...
Reviewed-by: jlaskey
2014-07-15 16:54:01 +05:30
Lana Steuck
f03bea190f
Merge
2014-07-10 12:41:23 -07:00
David Katleman
e0d3041a71
Added tag jdk9-b22 for changeset aa64bc1a97d9
2014-07-10 12:13:37 -07:00
Lana Steuck
5ce4626e1a
Merge
2014-07-09 10:41:34 -07:00
Attila Szegedi
a9b421dd42
8047067: all eval arguments need to be copied in Lower
...
Reviewed-by: lagergren, sundar
2014-07-08 13:13:31 +02:00
Athijegannathan Sundararajan
4048ec18f3
8049524: Global object initialization via javax.script API should be minimal
...
Reviewed-by: attila, hannesw
2014-07-08 16:30:42 +05:30
Athijegannathan Sundararajan
8159b11738
8044760: Avoid PropertyMap duplicate for global instances
...
Reviewed-by: attila, hannesw
2014-07-04 20:15:41 +05:30
Athijegannathan Sundararajan
ca212c0d9e
8049086: Minor API convenience functions on "Java" object
...
Reviewed-by: attila, hannesw
2014-07-04 15:56:53 +05:30
David Katleman
75ac0ce693
Added tag jdk9-b21 for changeset e4ffc9bab6f2
2014-07-03 11:37:57 -07:00
Athijegannathan Sundararajan
14eb01cb47
8049242: Explicit constructor overload selection should work with StaticClass as well
...
Reviewed-by: jlaskey, attila
2014-07-03 23:03:37 +05:30
Attila Szegedi
ade82779ac
8047331: Assertion in CompiledFunction when running earley-boyer after Merge
...
Reviewed-by: hannesw, jlaskey
2014-07-03 17:14:38 +02:00
Attila Szegedi
d9cdc6efec
8047166: 'do with({}) break ; while(0);' crashes in CodeGenerator
...
Reviewed-by: hannesw, jlaskey
2014-07-03 16:15:33 +02:00
Attila Szegedi
c6dda4ed20
8049225: Source class exposes public mutable array
...
Reviewed-by: hannesw, sundar
2014-07-03 11:18:38 +02:00
Attila Szegedi
1377f6380e
8049223: RewriteException class exposes public mutable arrays
...
Reviewed-by: hannesw, sundar
2014-07-03 11:18:26 +02:00
Attila Szegedi
7620f47068
8049222: JSType class exposes public mutable arrays
...
Reviewed-by: hannesw, sundar
2014-07-03 11:18:10 +02:00
Athijegannathan Sundararajan
27ba0956b6
8043232: Index selection of overloaded java new constructors
...
Reviewed-by: attila, hannesw, jlaskey
2014-07-02 18:10:31 +05:30
Lana Steuck
113a7f0c05
Merge
2014-07-01 14:27:28 -07:00
Athijegannathan Sundararajan
81f8f93225
8047359: large string size RangeError should be thrown rather than reporting negative length
...
Reviewed-by: hannesw, attila
2014-07-01 17:37:39 +05:30
Hannes Wallnöfer
3e0fd99223
8048586: String concatenation with optimistic types is slow
...
Reviewed-by: lagergren, attila
2014-06-30 17:31:28 +02:00
Athijegannathan Sundararajan
51aad86e6b
8048718: JSON.parse('{"0":0, "64":0}') throws ArrayindexOutOfBoundsException
...
Reviewed-by: lagergren, hannesw, attila
2014-06-30 20:23:16 +05:30
Athijegannathan Sundararajan
4b428d5833
8046013: TypeError: Cannot apply "with" to non script object
...
Reviewed-by: lagergren, hannesw
2014-06-27 21:54:16 +05:30
Marcus Lagergren
8f69a3e4a8
8048505: ScriptingFunctions.readFully couldn't handle file names represented as ConsStrings
...
Reviewed-by: sundar, hannesw
2014-06-27 10:47:44 +02:00
David Katleman
b078d4c58e
Added tag jdk9-b20 for changeset 7fb8003ec760
2014-06-26 12:51:50 -07:00
Attila Szegedi
3168df50f5
8047371: local variable declaration in TypeEvaluator should use ScriptObject.addOwnProperty instead of .set
...
Reviewed-by: jlaskey, lagergren
2014-06-26 15:36:15 +02:00
Attila Szegedi
9dde0bfa35
8047357: More precise synthetic return + unreachable throw
...
Reviewed-by: lagergren, sundar
2014-06-26 13:12:32 +02:00
Hannes Wallnöfer
ccb4ecb339
8048079: Persistent code store is broken after optimistic types merge
...
Reviewed-by: sundar, jlaskey, attila
2014-06-25 14:36:24 +02:00
Athijegannathan Sundararajan
dee1364e7c
8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
...
Reviewed-by: hannesw, jlaskey
2014-06-25 17:08:47 +05:30
Attila Szegedi
d983b0b09c
8048009: Type info caching accidentally defeated
...
Reviewed-by: hannesw, jlaskey
2014-06-24 19:29:41 +02:00
Athijegannathan Sundararajan
566786aba6
8047959: bindings created for declarations in eval code are not mutable
...
Reviewed-by: jlaskey, attila
2014-06-24 19:43:44 +05:30
Hannes Wallnöfer
3ad3dd1d89
8046201: Avoid repeated flattening of nested ConsStrings
...
Reviewed-by: lagergren, attila
2014-06-23 18:32:11 +02:00
Athijegannathan Sundararajan
90b667d865
8047728: (function(x){var o={x:0}; with(o){delete x} return o.x})() evaluates to 0 instead of undefined
...
Reviewed-by: jlaskey, hannesw, attila
2014-06-23 21:23:53 +05:30
Attila Szegedi
7aa808a993
8046905: apply on apply is broken
...
Reviewed-by: hannesw, lagergren
2014-06-23 10:59:33 +02:00
Lana Steuck
e6a9b34299
Merge
2014-06-20 10:14:50 -07:00
Attila Szegedi
f4c68a9cfc
8046921: Deoptimization type information peristence
...
Reviewed-by: hannesw, lagergren
2014-06-20 12:25:00 +02:00
David Katleman
2a9e69a4b6
Added tag jdk9-b19 for changeset a7c5ef3bb9d4
2014-06-19 11:22:50 -07:00
Athijegannathan Sundararajan
2bdfb1233c
8047369: Add regression tests for passing test cases of JDK-8024971
...
Reviewed-by: hannesw, jlaskey
2014-06-19 20:36:03 +05:30
Marcus Lagergren
18ac28e76f
8047078: Fuzzing bug discovered when ArrayLiteralNodes weren't immutable
...
Reviewed-by: attila, sundar
2014-06-19 10:46:31 +02:00
Lana Steuck
5ba4319c94
Merge
2014-06-18 10:54:57 -07:00
Lana Steuck
0eeff11878
Merge
2014-06-18 10:08:47 -07:00
Athijegannathan Sundararajan
186990579d
8047057: Add a regression test for the passing test cases from JDK-8042304
...
Reviewed-by: lagergren, attila
2014-06-17 18:23:35 +05:30
Athijegannathan Sundararajan
ff164ddca5
8047035: (function() "hello")() crashes in Lexer with jdk9
...
Reviewed-by: lagergren, hannesw, attila
2014-06-17 15:55:39 +05:30
Marcus Lagergren
ede81f43f7
8046898: Make sure that lazy compilation is the default, remove redundant "enable lazy compilation" flags, added warning message if compile logging is enabled and lazy is switched off. Verified existing test suite code coverage equivalence between lazy and eager
...
Reviewed-by: attila, hannesw
2014-06-17 11:37:03 +02:00
David Katleman
618ad4c940
Added tag jdk9-b18 for changeset 6ff236765d3b
2014-06-13 11:21:41 -07:00
Lana Steuck
3bedcfd62e
Merge
2014-06-12 15:37:37 -07:00
David Katleman
324195d441
Added tag jdk9-b17 for changeset 681b70d49d8d
2014-06-12 10:32:44 -07:00
Jaroslav Tulach
9e1754581f
8044517: Run & debug single Nashorn test
...
Reviewed-by: lagergren, attila
2014-06-12 17:39:09 +05:30
Athijegannathan Sundararajan
5de5a29808
8044798: API for debugging Nashorn
...
Reviewed-by: jlaskey, hannesw
2014-06-11 08:53:35 +05:30
Attila Szegedi
9f8c1be305
8046025: AccessorProperty.getGetter is not threadsafe
...
Reviewed-by: jlaskey, lagergren
2014-06-09 16:00:06 +02:00
Hannes Wallnöfer
eab7ad0813
8046215: Running uncompilable scripts throws NullPointerException
...
Reviewed-by: sundar, jlaskey
2014-06-06 16:51:53 +02:00
Lana Steuck
250d670627
Merge
2014-06-05 19:38:45 -07:00
Attila Szegedi
6a2b656e1a
8044816: On-demand compiled top-level program doesn't need :createProgramFunction
...
Reviewed-by: jlaskey, lagergren, sundar
2014-06-05 12:16:09 +02:00
Attila Szegedi
ea992354d0
8046014: MultiGlobalCompiledScript should cache :createProgramFunction handle
...
Reviewed-by: lagergren, sundar
2014-06-05 12:15:45 +02:00
David Katleman
13cf13e341
Added tag jdk9-b16 for changeset e3b9d834796d
2014-06-04 20:20:44 -07:00
Attila Szegedi
fb404de88f
8038413: NPE in unboxInteger
...
Reviewed-by: jlaskey, sundar
2014-06-04 20:43:37 +02:00
Attila Szegedi
1fa7f152d3
8044803: Unnecessary restOf check
...
Reviewed-by: hannesw, jlaskey
2014-06-04 16:52:50 +02:00
Athijegannathan Sundararajan
a5af8cb53e
8044695: __stack__ becomes visible in Error properties
...
Reviewed-by: lagergren, jlaskey, attila
2014-06-04 19:01:24 +05:30
Attila Szegedi
52ac2452d0
8044502: Get rid of global optimistic flag
...
Reviewed-by: lagergren, sundar
2014-06-04 14:32:23 +02:00
Attila Szegedi
5ec014a881
8044638: Tidy up Nashorn codebase for code standards
...
Reviewed-by: lagergren, sundar
2014-06-04 13:08:57 +02:00
Athijegannathan Sundararajan
7898fee89e
8044750: megamorphic getter for scope objects does not call __noSuchProperty__ hook
...
Reviewed-by: attila, lagergren, hannesw
2014-06-04 13:55:21 +05:30
Attila Szegedi
133f05971e
8044518: Ensure exceptions related to optimistic recompilation are not serializable
...
Reviewed-by: lagergren, sundar
2014-06-03 12:05:59 +02:00
Attila Szegedi
52e0363faa
8044534: Constant folding for unary + should produce int for boolean literals
...
Reviewed-by: lagergren, sundar
2014-06-03 12:05:42 +02:00
Attila Szegedi
938ab83ff7
8044533: Deoptimizing negation produces wrong result for zero
...
Reviewed-by: lagergren, sundar
2014-06-03 12:04:36 +02:00
Attila Szegedi
11fb0e2143
8044171: Make optimistic exception handlers smaller
...
Reviewed-by: hannesw, lagergren
2014-06-03 11:31:06 +02:00
Athijegannathan Sundararajan
dba2bf3f02
8044520: Nashorn cannot execute node.js's express module
...
Reviewed-by: hannesw, lagergren
2014-06-03 14:13:03 +05:30
Athijegannathan Sundararajan
95ad9113d9
8044612: StringIndexOutOfBoundException in NativeRegExp.appendReplacement
...
Reviewed-by: hannesw, lagergren
2014-06-03 13:57:52 +05:30
Attila Szegedi
2ff2ad2750
Merge
2014-06-02 17:36:43 +02:00
Lana Steuck
242bb486da
Merge
2014-05-30 09:24:59 -07:00
Athijegannathan Sundararajan
07b40bb298
8044415: ant makefile should have a target to generate javadoc only for jdk.nashorn.api and sub-packages
...
Reviewed-by: jlaskey
2014-05-30 17:22:38 +05:30
David Katleman
38325cc800
Added tag jdk9-b15 for changeset 67e22e0e8473
2014-05-29 22:32:20 -07:00
Attila Szegedi
9fb4c3accc
Merge
2014-05-28 16:53:43 +02:00
Marcus Lagergren
d4287c2288
8044102: Ensure bechmark exclude list for Octane benchmarks is in only one place, project.properties, and fix benchmark harness
...
Reviewed-by: attila, sundar
2014-05-28 13:58:46 +02:00
Marcus Lagergren
a6e90a4ba3
8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
...
Reviewed-by: jlaskey, sundar
2014-05-27 21:25:07 +02:00
Athijegannathan Sundararajan
d779eeab89
8044000: Access to undefined property yields "null" instead of "undefined"
...
Reviewed-by: lagergren, jlaskey
2014-05-27 17:40:19 +05:30
Athijegannathan Sundararajan
f7940fec73
8043930: TypeError when attemping to create an instance of non-public class could be better
...
Reviewed-by: attila, lagergren
2014-05-26 15:48:25 +05:30
Lana Steuck
27608d88d6
Merge
2014-05-22 14:40:06 -07:00
David Katleman
80e6121270
Added tag jdk9-b14 for changeset 2187cb29a50c
2014-05-22 12:54:12 -07:00
Hannes Wallnöfer
67d65fd0df
8030202: Nashorn: Multiple RegExp#ignoreCase issues
...
Reviewed-by: sundar, jlaskey
2014-05-22 17:51:56 +02:00
Sergey Lugovoy
c1d46ac985
8028615: jdk.nashorn.x3::some.serious.failure needs more memory to run
...
Reviewed-by: attila, sundar
2014-05-22 11:12:29 +02:00
Marcus Lagergren
b4b7b4e53d
8043632: Parallelize class installation and various script fixes
...
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Marcus Lagergren
cc1275a3bf
8043611: Move timing dependent benchmark for apply2call specialization to currently_failing. It is dependent that nothing takes machine time when doing the two runs, causing spurious assertions. Suggest running octane.raytrace manually instead to verify that this works, or incorporating it in the nightly test suite
...
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Marcus Lagergren
7c50cd3e51
8043633: In order to remove global state outside of contexts, make sure Timing class is an instance and not a static global collection of data. Move into Context. Move -Dnashorn.timing to an official logging option
...
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Attila Szegedi
5ffa8e1bd4
8043605: Enable history for empty property maps
...
Reviewed-by: jlaskey, sundar
2014-05-21 15:38:11 +02:00
Attila Szegedi
ce8b91fec8
8043608: Make equality tests inline better
...
Reviewed-by: lagergren, sundar
2014-05-21 12:52:58 +02:00
Marcus Lagergren
3d7f88fb31
8043504: Octane test harness was missing argument to print_always at one callsite, causing erroneous logging
...
Reviewed-by: sundar, attila
2014-05-20 10:40:28 +02:00
Athijegannathan Sundararajan
db62a418b3
8043443: Test framework changes to run script tests without security manager
...
Reviewed-by: attila
2014-05-20 08:32:09 +05:30
Attila Szegedi
cfbed730b7
8043431: Fix yet another corner case of JDK-8041995
...
Reviewed-by: hannesw, lagergren
2014-05-19 18:24:12 +02:00
Marcus Lagergren
26308e1cd6
8034206: Make parts of code pipeline reusable in order to facilitate faster warmup and faster lazy compilation
...
Reviewed-by: hannesw, attila
2014-05-19 15:29:42 +02:00
Lana Steuck
75a1915cbb
Merge
2014-05-15 10:42:19 -07:00
David Katleman
d0b62420a1
Added tag jdk9-b13 for changeset 743eee69ce3f
2014-05-15 10:26:03 -07:00
Attila Szegedi
b0873269dc
8043235: Type-based optimizations interfere with continuation methods
...
Reviewed-by: jlaskey, lagergren
2014-05-15 15:28:51 +02:00
Attila Szegedi
4fd3436709
8043133: Fix corner cases of JDK-8041995
...
Reviewed-by: hannesw, lagergren
2014-05-14 17:05:08 +02:00
Matherey Nunez
4470510f04
8044154: Nashorn : all tests failed with java.security.AccessControlException
...
Reviewed-by: attila, sundar
2014-05-14 15:50:04 +02:00
Attila Szegedi
a305329ba1
8043137: Collapse long sequences of NOP in Nashorn bytecode output
...
Reviewed-by: jlaskey, lagergren
2014-05-14 16:29:14 +02:00
Attila Szegedi
9f521f94cc
8043004: Reduce variability at JavaAdapter call sites
...
Reviewed-by: lagergren, sundar
2014-05-14 15:55:27 +02:00
Athijegannathan Sundararajan
309274646c
8043132: Nashorn : all tests failed with java.security.AccessControlException
...
Reviewed-by: jlaskey, attila
2014-05-14 19:01:05 +05:30
Attila Szegedi
3f3f8fddc7
8043003: Use strongly referenced generic invokers
...
Reviewed-by: lagergren, sundar
2014-05-14 10:51:39 +02:00
Attila Szegedi
6242ce6c5f
8043002: Improve performance of Nashorn equality operators
...
Reviewed-by: lagergren, sundar
2014-05-13 14:54:21 +02:00
Attila Szegedi
64fd9c191a
8042118: Separate types from symbols
...
Reviewed-by: hannesw, lagergren
2014-05-13 11:30:40 +02:00
Lana Steuck
cbe16a93ee
Merge
2014-05-08 15:28:15 -07:00
David Katleman
ac3dd3f132
Added tag jdk9-b12 for changeset 8e7a633f1d8e
2014-05-08 01:05:33 -07:00
Athijegannathan Sundararajan
f7e89ae474
8042600: Add more samples in nashorn/samples directory
...
Reviewed-by: jlaskey, hannesw
2014-05-07 20:20:58 +05:30
Athijegannathan Sundararajan
b705fef9d6
8041697: CompiledScript slower when eval with binding
...
Reviewed-by: lagergren, attila, hannesw
2014-05-07 14:07:19 +05:30
Athijegannathan Sundararajan
f96b4d2e4e
8042364: Make __proto__ ES6 draft compliant
...
Reviewed-by: jlaskey, lagergren, attila
2014-05-06 17:54:15 +05:30
Hannes Wallnöfer
77834a008e
8041998: RegExp implementation is not thread-safe
...
Reviewed-by: lagergren, sundar, attila
2014-05-06 12:38:12 +02:00
Matherey Nunez
31c5e7065a
8037572: Add more test cases to check static types
...
Reviewed-by: attila, lagergren
2014-05-05 14:17:20 +02:00
Marcus Lagergren
2f01820f6d
8041625: AccessorProperty currentType must only by Object.class when non-primitive, and scoping followup problem for lazily generated with bodies
...
Reviewed-by: jlaskey, attila
2014-05-02 18:22:29 +02:00
Athijegannathan Sundararajan
7579bb9eb4
8027933: Add --const-as-var option
...
Reviewed-by: jlaskey, hannesw
2014-05-02 19:15:59 +05:30
Lana Steuck
456074c38f
Merge
2014-05-01 14:20:06 -07:00
David Katleman
8106c40f24
Added tag jdk9-b11 for changeset 1786ce9ab4a7
2014-05-01 12:52:15 -07:00
Matherey Nunez
e9e18d5614
8038398: OptimisticRecompilationTest fails on staging repo nashorn/jdk9/nashorn due to test framework
...
Reviewed-by: attila, lagergren
2014-04-29 16:00:53 +02:00
Marcus Lagergren
a3f88441db
8041995: Problems when loading tree expressions with several optimistic program points when optimistically initializing ObjectNodes
...
Reviewed-by: jlaskey, attila
2014-04-28 16:37:36 +02:00
Hannes Wallnöfer
60a0f257df
8040078: Avoid repeated reading of source for cached loads
...
Reviewed-by: jlaskey, lagergren
2014-04-25 16:34:17 +02:00
Marcus Lagergren
b85c2613cb
8041905: Fix apply2call bug that prevented avatar.js unit tests from running correctly
...
Reviewed-by: attila, hannesw
2014-04-25 14:26:07 +02:00
Attila Szegedi
8fb1f303f7
8034967: Reduce access to Nashorn internals
...
Reviewed-by: ahgross, jlaskey, sundar
2014-04-25 14:20:07 +02:00
David Katleman
772e4dba4c
Added tag jdk9-b10 for changeset 8e30fd90c1db
2014-04-24 12:21:20 -07:00
Marcus Lagergren
e30eb1b6bb
8041434: Add synchronization to the common global constants structure
...
Reviewed-by: attila, hannesw
2014-04-23 17:37:41 +02:00
Marcus Lagergren
7bb2546460
8038426: Move all loggers from process wide scope into Global scope
...
Reviewed-by: attila, hannesw
2014-04-23 16:13:47 +02:00
Marcus Lagergren
6163a42a8e
8033105: Make sure Nashorn test harness can run zlib benchmark
...
Reviewed-by: attila, hannesw
2014-04-22 14:09:46 +02:00
Matherey Nunez
af27b4200d
8040655: When processing a RewriteException debug object, the return value has already been reset to null. We need to catch this value before that
...
Reviewed-by: attila, lagergren
2014-04-18 21:24:34 +02:00
Marcus Lagergren
187399b1fd
8040102: Remove all references to Unsafe and definition of anonymous clases from the code
...
As the catch combinator optimization is now part of java.lang.invoke we don't need to put our own in the boot class path in any configuration anymore. Furthermore, with the completion of the array performance subtask of optimistic typing, we can remove the experimental (commented out) Unsafe accessors in the ArrayData classes
Reviewed-by: attila, jlaskey
2014-04-18 20:12:21 +02:00
Lana Steuck
c84c9292f6
Merge
2014-04-17 15:22:07 -07:00
Marcus Lagergren
89f65d6006
8040089: Apply to call transform was incomplete. Now passes all tests and performance is back
...
Reviewed-by: hannesw, attila, sundar, jlaskey
2014-04-17 20:01:19 +02:00
David Katleman
f0a6ae97ec
Added tag jdk9-b09 for changeset 9c965577fb13
2014-04-17 10:14:08 -07:00
David Katleman
91e03b7d29
Added tag jdk9-b08 for changeset 1b70f28ef99f
2014-04-15 12:14:31 -07:00
Marcus Lagergren
e83ae85105
Merge
2014-04-11 16:52:56 +02:00
Marcus Lagergren
8692f48723
8039746: Transform applies to calls wherever possible, for ScriptFunctions and JSObjects
...
Reviewed-by: hannesw, attila, sundar, jlaskey
2014-04-11 16:52:14 +02:00
Attila Szegedi
67871d3371
8040024: BranchOptimizer produces bad code for NaN FP comparison
...
Reviewed-by: jlaskey, lagergren
2014-04-11 16:40:06 +02:00
Lana Steuck
2a0e24f09e
Merge
2014-04-09 17:18:48 -07:00
Lana Steuck
73ef2bf360
Merge
2014-04-09 09:20:03 -07:00
Matherey Nunez
900591b4ed
8039403: Write sanity tests for persistent caching
...
Reviewed-by: hannesw, sundar
2014-04-09 10:14:34 +02:00
Athijegannathan Sundararajan
319aa4c4c5
8039387: Nashorn supports indexed access of List elements, but length property is not supported
...
Reviewed-by: lagergren, jlaskey
2014-04-07 21:57:33 +05:30
Hannes Wallnöfer
a9fb361904
8039181: Persistent code store does not use absolute paths internally
...
Reviewed-by: sundar, lagergren
2014-04-03 17:35:13 +02:00
David Katleman
e97f5d3818
Added tag jdk9-b07 for changeset dd19ff015a33
2014-04-02 22:00:15 -07:00
Hannes Wallnöfer
d801fbbc9d
8038638: Persistent store for compiled scripts
...
Reviewed-by: lagergren, sundar
2014-04-02 18:26:57 +02:00
Athijegannathan Sundararajan
79fba7993d
8039047: Parser accepts conditional catch clauses even when --no-syntax-extensions / -nse option is passed
...
Reviewed-by: lagergren, attila
2014-04-02 15:52:31 +05:30
Marcus Lagergren
d12e5e7d29
8039044: Expand undefined intrinsics for all commutative combinators of scrict undefined checks
...
Reviewed-by: jlaskey, hannesw
2014-04-02 10:52:39 +02:00
Lana Steuck
1eab51598e
Merge
2014-04-01 17:28:17 -07:00
Marcus Lagergren
fd8e5653a0
8038945: Simplify strict undefined checks
...
Reviewed-by: jlaskey, hannesw
2014-04-01 16:12:38 +02:00
Marcus Lagergren
1584dc799c
8038799: Guard and unbox boxed primitives types on setting them in Properties to avoid megamorphisism
...
Reviewed-by: attila, jlaskey
2014-04-01 11:19:32 +02:00
Marcus Lagergren
379d9f239f
8027043: Turn global accesses into MethodHandle.constant, with one chance of reassignment, e.g. x = value occuring once in the global scope is ok, twice is not
...
Reviewed-by: attila, sundar, jlaskey
2014-03-31 14:13:34 +02:00
Athijegannathan Sundararajan
0a8095d53a
8038615: test262 repo is now a git repo in github
...
Reviewed-by: lagergren, hannesw
2014-03-28 13:24:07 +05:30
David Katleman
1c09424c5e
Added tag jdk9-b06 for changeset 6bb719005d47
2014-03-27 11:38:41 -07:00
Athijegannathan Sundararajan
7ea75c6bbb
8038456: improve nasgen type checks and use specific return type for @Function, @SpecializedFunctio methods
...
Reviewed-by: lagergren, jlaskey
2014-03-27 19:39:18 +05:30
Attila Szegedi
e0f84784f2
8038416: Access to undefined scoped variables deoptimized too much
...
Reviewed-by: jlaskey, lagergren
2014-03-27 14:09:40 +01:00
Marcus Lagergren
f6722c9a3f
8038406: Testability: as a first step of moving loggers away from the process global space, the Debug object now supports logging POJOs from log entries as an event queue, which can be introspected from test scripts. This is way better than screen scraping brittle and subject-to-change log output
...
Reviewed-by: attila, hannesw, sundar
2014-03-27 11:45:54 +01:00
Attila Szegedi
f6aada536e
8038396: fix for the compiler expression evaluator to be more inquisitive about types
...
Reviewed-by: hannesw, lagergren
2014-03-26 15:00:32 +01:00
Lana Steuck
411b9b7846
Merge
2014-03-25 14:52:34 -07:00
Lana Steuck
e39a0f47d0
Merge
2014-03-25 12:31:54 -07:00
Attila Szegedi
0cbec476dd
8037534: Use scope types to determine optimistic types
...
Reviewed-by: hannesw, lagergren
2014-03-24 18:41:06 +01:00
Attila Szegedi
a7394f09e5
8038223: Symbol trace debug output takes time
...
Reviewed-by: hannesw, lagergren
2014-03-24 18:40:11 +01:00
Attila Szegedi
85bc811235
Merge
2014-03-21 17:52:03 +01:00
Athijegannathan Sundararajan
4036a466ca
8037562: Nashorn: JSON.parse comes up with nonexistent entries if there are gaps between the keys
...
Reviewed-by: jlaskey, hannesw
2014-03-21 20:24:01 +05:30
David Katleman
c17681a17e
Added tag jdk9-b05 for changeset 9471aad8444f
2014-03-20 13:44:54 -07:00
Marcus Lagergren
6c44c81a95
8037967: Broke the build, by commiting without saving the last review comment
...
Reviewed-by: jlaskey, hannesw
2014-03-20 16:26:54 +01:00
Marcus Lagergren
ca1752f337
8033334: Make sure that scope depth information is maintained in the RecompilableScriptFunctionDatas, to avoid unnecessary slow proto linkage when doing on demand compilation
...
Compute RecompiledScriptFunctionDatas eagerly, annotate them with scope depth information and use them in recompilations.
Reviewed-by: attila, hannesw, jlaskey
2014-03-20 16:16:42 +01:00
Matherey Nunez
71ded92863
8037779: NoPersistenceCachingTest fails with ant test
...
Reviewed-by: sundar, hannesw
2014-03-19 16:01:19 +01:00
Lana Steuck
8f22b7676c
Merge
2014-03-18 17:49:48 -07:00
Matherey Nunez
2937094508
8037378: Write sanity tests for bytecode persistence feature
...
Reviewed-by: sundar, hannesw
2014-03-17 18:27:30 +01:00