Commit Graph

23175 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Marcus Lagergren
6c44c81a95 8037967: Broke the build, by commiting without saving the last review comment
Reviewed-by: jlaskey, hannesw
2014-03-20 16:26:54 +01:00
Marcus Lagergren
ca1752f337 8033334: Make sure that scope depth information is maintained in the RecompilableScriptFunctionDatas, to avoid unnecessary slow proto linkage when doing on demand compilation
Compute RecompiledScriptFunctionDatas eagerly, annotate them with scope depth information and use them in recompilations.

Reviewed-by: attila, hannesw, jlaskey
2014-03-20 16:16:42 +01:00
Matherey Nunez
71ded92863 8037779: NoPersistenceCachingTest fails with ant test
Reviewed-by: sundar, hannesw
2014-03-19 16:01:19 +01:00
Matherey Nunez
2937094508 8037378: Write sanity tests for bytecode persistence feature
Reviewed-by: sundar, hannesw
2014-03-17 18:27:30 +01:00
Matherey Nunez
42f5d9558a 8037086: Check that deoptimizing recompilations are correct
Reviewed-by: attila, lagergren
2014-03-17 15:05:18 +01:00
Athijegannathan Sundararajan
e34f74421a 8037400: Remove getInitialMap getters and GlobalObject interface
Reviewed-by: lagergren, jlaskey, attila
2014-03-17 18:02:00 +05:30
Matherey Nunez
ba6fce6273 8036986: Test should check that correctly type is returned running with optimistic. If optimistic assumption was wrong we should get the right one
This uses the inspection framework for generated code to ensure optimisim.

Reviewed-by: attila, lagergren
2014-03-14 14:27:32 +01:00
Athijegannathan Sundararajan
572d581262 8015958: DataView constructor is not defined
Reviewed-by: attila, hannesw, lagergren
2014-03-13 15:58:24 +05:30
Hannes Wallnöfer
6f1436baa2 8034055: delete on global object not properly guarded
Reviewed-by: sundar, lagergren
2014-03-12 16:33:28 +01:00
Hannes Wallnöfer
5c683d18a4 8021350: Share script classes between threads/globals within context
Reviewed-by: lagergren, sundar
2014-03-12 11:26:00 +01:00
Marcus Lagergren
76bde64811 8037177: -Dnashorn.optimistic should be enabled by default, meaning that it has to be explicitly set to false to run with the jdk 8 style conservative types
This will be the new default setting, so the explicit flag should be removed, and instead reverse checked for explicitly DISABLED optimistic types. In the future, we might remove the flag altogether.

Reviewed-by: attila, hannesw
2014-03-12 10:31:22 +01:00
Phil Race
b10430f917 Merge 2014-03-07 10:59:02 -08:00
J. Duke
67810b5cb5 Merge 2017-07-05 19:32:12 +02:00
J. Duke
ef97fdd4e7 Merge 2017-07-05 19:32:08 +02:00
J. Duke
6cf86da089 Merge 2017-07-05 19:31:58 +02:00
J. Duke
bdcfa971f0 Merge 2017-07-05 19:31:51 +02:00
J. Duke
ca6d79e538 Merge 2017-07-05 19:31:43 +02:00
J. Duke
b6478d3aba Merge 2017-07-05 19:31:35 +02:00
J. Duke
0e1a8bf85c Merge 2017-07-05 19:31:27 +02:00
J. Duke
96235da15b Merge 2017-07-05 19:31:02 +02:00
J. Duke
88e0bccd2b Added tag jdk9-b03 for changeset 7f655f31f9bc 2017-07-05 19:30:03 +02:00
J. Duke
8ac95cfe80 Merge 2017-07-05 19:30:02 +02:00
J. Duke
cea692bb68 Merge 2017-07-05 19:29:59 +02:00
J. Duke
2d0f70d529 Merge 2017-07-05 19:29:50 +02:00
J. Duke
fb2cc9ef15 Merge 2017-07-05 19:29:41 +02:00
J. Duke
f38977cc40 Merge 2017-07-05 19:29:36 +02:00
J. Duke
2f74183843 Merge 2017-07-05 19:29:30 +02:00
J. Duke
bcf9ea85c8 Merge 2017-07-05 19:29:25 +02:00
J. Duke
248b4b63de Merge 2017-07-05 19:28:59 +02:00
J. Duke
be10ffa640 Added tag jdk9-b02 for changeset b32e2219736e 2017-07-05 19:28:22 +02:00
J. Duke
e403295cae Merge 2017-07-05 19:28:21 +02:00
J. Duke
13a015a154 Merge 2017-07-05 19:28:18 +02:00
J. Duke
f1b0f0a0b6 Merge 2017-07-05 19:28:11 +02:00
J. Duke
5978721467 Merge 2017-07-05 19:28:03 +02:00
J. Duke
73c59a2643 Merge 2017-07-05 19:27:58 +02:00
J. Duke
4189ae491e Merge 2017-07-05 19:27:42 +02:00