Lana Steuck
4b4e46f1fb
Merge
2014-10-23 13:45:22 -07:00
David Katleman
8d400b3ced
Added tag jdk9-b36 for changeset bed94e5e4a68
2014-10-23 11:19:29 -07:00
Hannes Wallnöfer
02308fac34
8059813: Type Info Cache flag must must be documented
...
Reviewed-by: attila, jlaskey
2014-10-23 17:25:39 +02:00
Marcus Lagergren
5f5c28bf63
8061391: concat as a builtin optimistic form, had to remove NoTypedArrayData and replace it, as we throw away a lot of optimistic link opportunities with NoTypedArrayData not being Continuous
...
Reviewed-by: attila, hannesw
2014-10-23 15:19:00 +04:00
Attila Szegedi
e170fafd7c
8058610: must not let long operations overflow
...
Reviewed-by: hannesw, jlaskey, lagergren
2014-10-21 14:27:49 +02:00
Hannes Wallnöfer
de498625b3
8060724: ant test262parallel in Nashorn spends a significant amount of time after almost all the tests are run
...
Reviewed-by: lagergren, attila, sundar
2014-10-20 14:09:17 +02:00
Attila Szegedi
7bb8d39499
8059844: Implement optimistic splitter
...
Reviewed-by: hannesw, lagergren
2014-10-20 12:06:36 +02:00
Athijegannathan Sundararajan
aeed202b0b
8061257: nashorn ant build script should have a sanity target
...
Reviewed-by: lagergren, hannesw, attila
2014-10-20 13:27:22 +05:30
Attila Szegedi
36ddb21187
8059843: Make AST serializable
...
Reviewed-by: hannesw, lagergren
2014-10-17 14:24:26 +02:00
Lana Steuck
6a5adc81a0
Merge
2014-10-16 14:16:03 -07:00
David Katleman
33180b072e
Added tag jdk9-b35 for changeset b5cd0f03efc4
2014-10-16 12:02:10 -07:00
Attila Szegedi
6da7daa4c2
8061113: Boolean used as optimistic call return type
...
Reviewed-by: hannesw, sundar
2014-10-16 11:34:31 +02:00
Athijegannathan Sundararajan
6427d424c8
8060688: Nashorn: Generated script class name fails --verify-code for names with special chars
...
Reviewed-by: jlaskey, hannesw
2014-10-15 19:50:03 +05:30
Attila Szegedi
f571816c79
8060241: Immediately invoked function expressions cause lot of deoptimization
...
Reviewed-by: hannesw, lagergren
2014-10-15 16:00:21 +02:00
Attila Szegedi
5d93e4cb25
8060242: Compile-time expression evaluator was not seeing into ArrayBufferViews
...
Reviewed-by: hannesw, lagergren, sundar
2014-10-15 15:57:46 +02:00
Andreas Gabrielsson
bd3defa4bb
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
2014-10-14 16:11:07 +02:00
Andreas Gabrielsson
fab85d4210
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR
...
Remove the kludges introduced to make the parser work with the copy on write IR. Now everything is done bottom up, finshing node children completely before node parents. The repeated non-functional pattern 'node = node.setSomething(something);' is gone. Resulting code is much more readable, and extensible for future work. The parser is now also consistent with the rest of the stateless copy-on-write world in code generation.
Reviewed-by: lagergren, attila, hannesw, shade
2014-10-14 15:28:24 +02:00
Attila Szegedi
a891de3114
8060238: Reports for optimistic test run overwrite those for pessimistic run
...
Reviewed-by: hannesw, lagergren, sundar
2014-10-14 13:04:56 +02:00
Attila Szegedi
c032844121
8059842: Creating symbols for declared functions shouldn't be a special case
...
Reviewed-by: hannesw, lagergren
2014-10-13 20:10:14 +02:00
Athijegannathan Sundararajan
2d6eed916f
8050977: Java8 Javascript Nashorn exception: no current Global instance for nashorn
...
Reviewed-by: attila, lagergren, hannesw
2014-10-13 23:38:49 +05:30
Hannes Wallnöfer
4fcc6c8f4f
8060011: Concatenating an array and converting it to Java gives wrong result
...
Reviewed-by: lagergren, attila
2014-10-13 17:16:32 +02:00
Athijegannathan Sundararajan
f2913f0270
8060101: AssertionError: __noSuchProperty__ placeholder called from NativeJavaImporter
...
Reviewed-by: attila, jlaskey
2014-10-10 17:59:22 +05:30
Lana Steuck
0bc4b4cef4
Merge
2014-10-09 12:17:10 -07:00
David Katleman
033c1e097d
Added tag jdk9-b34 for changeset b5f80ea5eb07
2014-10-09 11:24:22 -07:00
Marcus Lagergren
8d304985e6
8059811: Turn off optimistic typing by default and add both ant test-pessimistic and ant test-optimistic sub-test suites
...
Reviewed-by: attila, shade, hannesw
2014-10-09 10:19:24 +02:00
Hannes Wallnöfer
2134f7554d
8059938: NPE restoring cached script with optimistic types disabled
...
Reviewed-by: lagergren, sundar
2014-10-08 17:20:29 +02:00
Hannes Wallnöfer
4f8e9a09e2
8059236: Memory leak when executing octane pdfjs with optimistic typing
...
Reviewed-by: jlaskey, attila
2014-10-08 15:50:36 +02:00
Marcus Lagergren
d2a36ed370
8059231: Verify that octane raytrace now works with optimistic types turned off. Add better logging for optimistic types in the compiler
...
Reviewed-by: attila
2014-10-06 10:43:57 +02:00
Lana Steuck
0e99ed2e46
Merge
2014-10-03 12:10:58 -07:00
Lana Steuck
7b7bffa5f1
Added tag jdk9-b33 for changeset 41df1bde8056
2014-10-03 11:07:16 -07:00
Erik Joelsson
192376f622
8059135: New Nasgen dependencies to Nashorn breaks the JDK 9 build - bootstrapping problem?
...
Reviewed-by: tbell, attila, lagergren
2014-10-03 10:37:12 +02:00
Attila Szegedi
c7df19bca4
8059346: Single class loader is used to load compiled bytecode
...
Reviewed-by: hannesw, lagergren
2014-10-02 16:30:49 +02:00
Attila Szegedi
e97393b108
8059372: Code duplication in split emitter
...
Reviewed-by: jlaskey, lagergren
2014-10-01 12:22:12 +02:00
Attila Szegedi
8f4114ee43
8059371: Code duplication in handling of break and continue
...
Reviewed-by: jlaskey, lagergren
2014-10-01 10:26:53 +02:00
Attila Szegedi
80fe5fad5c
8059370: Unnecessary work in deoptimizing recompilation
...
Reviewed-by: jlaskey, lagergren
2014-10-01 10:26:25 +02:00
Marcus Lagergren
3d538d9cfd
8059321: Decrease warmup time by caching common structures that were reused during parse
...
Reviewed-by: attila, shade
2014-09-29 14:39:58 -07:00
Marcus Lagergren
3d2c518ad8
8059211: Changed ArrayData.length accessor to use the protected field and fixed javadoc warnings related to this
...
Reviewed-by: attila, hannesw
2014-09-26 18:47:20 +02:00
Lana Steuck
4e55c12a6e
Merge
2014-09-25 16:21:37 -07:00
David Katleman
aaa117b441
Added tag jdk9-b32 for changeset 281a3ca2fd5e
2014-09-25 12:40:31 -07:00
Marcus Lagergren
d4f3f7da8f
8059132: Nasgen build in JDK9 can't handle new class dependencies to Nashorn - bootstrapping problem
...
Reviewed-by: sundar
2014-09-25 18:21:15 +02:00
Marcus Lagergren
da0b4cb7df
8025435: Optimistic builtins support, implemented initial optimistic versions of push, pop, and charCodeAt
...
Reviewed-by: attila, hannesw, sundar
2014-09-25 15:53:47 +02:00
Sergey Lugovoy
643e8d87e6
8057779: Tests failed on Windows when in output contains path to script
...
Reviewed-by: sundar, lagergren, hannesw
2014-09-23 15:58:44 +04:00
Attila Szegedi
00019f9c03
8058561: NPE in LocalVariableTypesCalculator
...
Reviewed-by: lagergren, sundar
2014-09-22 14:46:04 +02:00
Hannes Wallnöfer
62f4b355b5
8047764: Indexed or polymorphic set on global affects Object.prototype
...
Reviewed-by: lagergren, attila
2014-09-22 13:28:28 +02:00
Hannes Wallnöfer
7cb28afba6
8046202: Make persistent code store more flexible
...
Reviewed-by: lagergren, sundar
2014-09-19 13:13:20 +02:00
Lana Steuck
e4302b0b2d
Merge
2014-09-18 13:27:22 -07:00
David Katleman
a1186e07b9
Added tag jdk9-b31 for changeset 12198895df07
2014-09-17 22:56:12 -07:00
Sergey Lugovoy
3d7f4564c6
8057035: Some tests failed using java.awt.Color on Solaris without X11 libraries
...
Reviewed-by: lagergren
2014-09-17 16:44:23 +04:00
Athijegannathan Sundararajan
bddf81075a
8058615: Overload resolution ambiguity involving ConsString
...
Reviewed-by: lagergren, hannesw
2014-09-17 15:02:42 +05:30
Athijegannathan Sundararajan
e149222854
8058551: Top level README accidentally modified with changeset 1025:1d7a917a35e2
...
Reviewed-by: jlaskey, hannesw
2014-09-16 17:47:58 +05:30
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