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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Athijegannathan Sundararajan
578ec9d11e
8054223: Nashorn: AssertionError when use __DIR__ and ScriptEngine.eval()
...
Reviewed-by: lagergren, hannesw
2014-08-04 21:37:45 +05:30
Attila Szegedi
d8c8841e2a
8051839: GuardedInvocation needs to clone an argument
...
Reviewed-by: hannesw, sundar
2014-07-30 10:06:42 -07: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
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
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