Commit Graph

1056 Commits

Author SHA1 Message Date
Lana Steuck
840418be85 Merge 2014-10-30 13:56:29 -07:00
Hannes Wallnöfer
5d33a33e2f 8062401: User accessors require boxing and do not support optimistic types
Reviewed-by: jlaskey, lagergren
2014-10-30 19:55:56 +01:00
David Katleman
baf8cabd66 Added tag jdk9-b37 for changeset 957656314d82 2014-10-30 08:35:05 -07:00
Athijegannathan Sundararajan
c92cca11f6 8062216: [nashorn] regresion test failure with TimeZone
Reviewed-by: hannesw, lagergren
2014-10-28 17:22:17 +05:30
Athijegannathan Sundararajan
b7956c76bc 8062024: Issue with date.setFullYear when time other than midnight
Reviewed-by: jlaskey, lagergren
2014-10-27 17:54:00 +05:30
Attila Szegedi
3dadb9d8e3 8061955: asm.js idioms result in unnecessarily code emission
Reviewed-by: hannesw, jlaskey
2014-10-24 13:25:23 +02:00
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