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
Athijegannathan Sundararajan
e34f74421a
8037400: Remove getInitialMap getters and GlobalObject interface
...
Reviewed-by: lagergren, jlaskey, attila
2014-03-17 18:02:00 +05:30
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
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
Marcus Lagergren
9d927196e8
8036127: Prototype filter needs to be applied to getter guard as well, not just getter
...
This manifests itself as a bug in optimistic types, as inner functions may access properties of the wrong type, but it is also a bug in tip. Without optimistic types, we have been unable to find a reproducer due to more similar PropertyMaps
Reviewed-by: attila, jlaskey, sundar
2014-03-05 09:51:00 +01:00
Hannes Wallnöfer
3b5ca2458c
8035948: Redesign property listeners for shared classes
...
Reviewed-by: sundar, lagergren
2014-03-03 15:23:01 +01:00
Marcus Lagergren
8d4fc394e0
8035836: Array performance improvements
...
Implement typed arrays with native byte buffers and do fast linking for all continuous arrays
Reviewed-by: attila, jlaskey, sundar, hannesw
2014-03-03 11:24:44 +01:00
Attila Szegedi
e9e7dd2ec1
8035820: Optimistic recompilation
...
Co-authored-by: Marcus Lagergren <marcus.lagergren@oracle.com>
Reviewed-by: hannesw, jlaskey, sundar
2014-02-26 13:17:57 +01:00
Athijegannathan Sundararajan
18489cc7a4
8030197: Nashorn: Object.defineProperty() can be lured to change fixed NaN property
...
Reviewed-by: attila, jlaskey
2014-02-25 18:56:10 +05:30
Athijegannathan Sundararajan
ff64022738
8034962: Dynalink to handle superclasses more carefully
...
Reviewed-by: ahgross, attila, jlaskey
2014-02-21 10:31:40 +05:30
Athijegannathan Sundararajan
1110a73114
8033745: Reflect upon Nashorn reflection
...
Reviewed-by: ahgross, attila, jlaskey
2014-02-21 10:01:59 +05:30
Hannes Wallnöfer
2194adb36b
8030200: Wrong result for Number.prototype.toString() for certain radix/inputs
...
Reviewed-by: sundar, jlaskey, lagergren
2014-04-14 17:45:05 +02:00
Hannes Wallnöfer
08bec4bee8
8030199: Nashorn: Uint8ClampedArray - Incorrect ToUint8Clamp implementation
...
Reviewed-by: sundar, jlaskey, lagergren
2014-04-14 17:43:38 +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
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
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
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
Athijegannathan Sundararajan
1dd97ac6e7
8011964: need indexed access to externally-managed ByteBuffer
...
Reviewed-by: lagergren, hannesw
2014-02-14 19:02:02 +05:30
Athijegannathan Sundararajan
118cf2ba60
8033924: Default permissions are not given for eval code
...
Reviewed-by: lagergren, jlaskey
2014-02-07 18:47:46 +05:30
Attila Szegedi
281b87b796
8032681: Issues with Nashorn
...
Reviewed-by: ahgross, jlaskey, sundar
2014-01-30 20:13:27 +01:00
Athijegannathan Sundararajan
ea24aa581b
8032948: Nashorn linkages awry
...
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 19:28:40 +05:30
Athijegannathan Sundararajan
6d897ac7a8
8032954: Nashorn: extend Java.extend
...
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 18:49:47 +05:30
Athijegannathan Sundararajan
3d9115510c
8032943: Improve reflection in Nashorn
...
Reviewed-by: jlaskey, attila, ahgross
2014-01-30 18:26:15 +05:30
Athijegannathan Sundararajan
86a64a99fd
8032068: implement @sourceURL and #sourceURL directives
...
Reviewed-by: hannesw, lagergren
2014-01-20 19:51:54 +05:30
Athijegannathan Sundararajan
961103778f
8032060: PropertyMap of Error objects is not stable
...
Reviewed-by: jlaskey, hannesw
2014-01-17 20:09:47 +05:30
Athijegannathan Sundararajan
bb600b7978
8032004: instance property "message" of Error objects should be non-enumerable
...
Reviewed-by: hannesw, jlaskey
2014-01-16 22:50:53 +05:30
Athijegannathan Sundararajan
9ce7db11e3
8031983: Error objects should capture stack at the constructor
...
Reviewed-by: jlaskey, hannesw
2014-01-16 21:26:21 +05:30
Athijegannathan Sundararajan
d7d8810466
8031715: Indexed access to java package not working
...
Reviewed-by: lagergren, hannesw
2014-01-15 14:51:49 +05:30
Athijegannathan Sundararajan
dffad236b0
Merge
2014-01-14 14:18:24 +05:30
Athijegannathan Sundararajan
3b6813140c
Merge
2014-01-14 09:03:54 +05:30
Athijegannathan Sundararajan
fee7c642da
8029332: Do not require nasgen-generated functions to return Object
...
Reviewed-by: lagergren, jlaskey, hannesw
2014-01-13 18:13:55 +05:30
Athijegannathan Sundararajan
305de05b44
8031359: Invocable.getInterface() works incorrectly if interface has default methods
...
Reviewed-by: attila, hannesw
2014-01-09 19:23:34 +05:30
Athijegannathan Sundararajan
9304f8da29
8031317: SyntaxError when property setter has no parameter
...
Reviewed-by: lagergren, hannesw
2014-01-08 17:51:47 +05:30
Hannes Wallnöfer
5071b80944
8029667: Prototype linking is incorrect
...
Reviewed-by: jlaskey, sundar
2014-01-07 14:16:23 +01:00