Commit Graph

790 Commits

Author SHA1 Message Date
Marcus Lagergren
a6e90a4ba3 8044012: Integrate the latest best known performance flags int ant octane jobs, and make sure that it's easy to compare 'ant octane-nashorn' and 'ant octane-v8' at the push of a button. (or rather; the entry of a command line)
Reviewed-by: jlaskey, sundar
2014-05-27 21:25:07 +02:00
Marcus Lagergren
b4b7b4e53d 8043632: Parallelize class installation and various script fixes
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Marcus Lagergren
cc1275a3bf 8043611: Move timing dependent benchmark for apply2call specialization to currently_failing. It is dependent that nothing takes machine time when doing the two runs, causing spurious assertions. Suggest running octane.raytrace manually instead to verify that this works, or incorporating it in the nightly test suite
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Marcus Lagergren
7c50cd3e51 8043633: In order to remove global state outside of contexts, make sure Timing class is an instance and not a static global collection of data. Move into Context. Move -Dnashorn.timing to an official logging option
Reviewed-by: sundar, attila
2014-05-21 16:12:40 +02:00
Attila Szegedi
5ffa8e1bd4 8043605: Enable history for empty property maps
Reviewed-by: jlaskey, sundar
2014-05-21 15:38:11 +02:00
Attila Szegedi
ce8b91fec8 8043608: Make equality tests inline better
Reviewed-by: lagergren, sundar
2014-05-21 12:52:58 +02:00
Marcus Lagergren
3d7f88fb31 8043504: Octane test harness was missing argument to print_always at one callsite, causing erroneous logging
Reviewed-by: sundar, attila
2014-05-20 10:40:28 +02:00
Attila Szegedi
cfbed730b7 8043431: Fix yet another corner case of JDK-8041995
Reviewed-by: hannesw, lagergren
2014-05-19 18:24:12 +02:00
Marcus Lagergren
26308e1cd6 8034206: Make parts of code pipeline reusable in order to facilitate faster warmup and faster lazy compilation
Reviewed-by: hannesw, attila
2014-05-19 15:29:42 +02:00
Attila Szegedi
b0873269dc 8043235: Type-based optimizations interfere with continuation methods
Reviewed-by: jlaskey, lagergren
2014-05-15 15:28:51 +02:00
Attila Szegedi
4fd3436709 8043133: Fix corner cases of JDK-8041995
Reviewed-by: hannesw, lagergren
2014-05-14 17:05:08 +02:00
Matherey Nunez
4470510f04 8044154: Nashorn : all tests failed with java.security.AccessControlException
Reviewed-by: attila, sundar
2014-05-14 15:50:04 +02:00
Attila Szegedi
a305329ba1 8043137: Collapse long sequences of NOP in Nashorn bytecode output
Reviewed-by: jlaskey, lagergren
2014-05-14 16:29:14 +02:00
Attila Szegedi
9f521f94cc 8043004: Reduce variability at JavaAdapter call sites
Reviewed-by: lagergren, sundar
2014-05-14 15:55:27 +02:00
Attila Szegedi
3f3f8fddc7 8043003: Use strongly referenced generic invokers
Reviewed-by: lagergren, sundar
2014-05-14 10:51:39 +02:00
Attila Szegedi
6242ce6c5f 8043002: Improve performance of Nashorn equality operators
Reviewed-by: lagergren, sundar
2014-05-13 14:54:21 +02:00
Attila Szegedi
64fd9c191a 8042118: Separate types from symbols
Reviewed-by: hannesw, lagergren
2014-05-13 11:30:40 +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
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
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
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
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