Commit Graph

992 Commits

Author SHA1 Message Date
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