1005 Commits

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