Athijegannathan Sundararajan
34673eaf92
8067136: BrowserJSObjectLinker does not handle call on JSObjects
...
Reviewed-by: attila, hannesw, lagergren
2014-12-10 19:42:01 +05:30
Attila Szegedi
3330ff38e9
8066236: RuntimeNode forces copy creation on visitation
...
Reviewed-by: hannesw, lagergren
2014-12-10 12:30:48 +01:00
Attila Szegedi
22573e0db4
8066224: fixes for folding a constant-test ternary operator
...
Reviewed-by: hannesw, lagergren
2014-12-10 11:55:25 +01:00
Attila Szegedi
47e744920e
8066225: NPE in MethodEmitter with duplicate integer switch cases
...
Reviewed-by: hannesw, lagergren
2014-12-10 11:55:04 +01:00
Attila Szegedi
d3b4347330
8066227: CodeGenerator load unitialized slot
...
Reviewed-by: hannesw, lagergren
2014-12-08 15:14:11 +01:00
Attila Szegedi
1284542fb3
8066230: Undefined object type assertion when computing TypeBounds
...
Reviewed-by: hannesw, lagergren
2014-12-08 15:13:16 +01:00
Paul Sandoz
20c4b7ce9d
8066777: OptimisticTypesPersistence.java should use Files.readAllBytes instead of getting size and then read
...
Reviewed-by: attila, lagergren
2014-12-05 20:17:51 +05:30
Athijegannathan Sundararajan
b2c1e8a2e7
8066753: OptimisticTypePersistence.java should work properly with "jrt" URL
...
Reviewed-by: lagergren, attila
2014-12-05 19:01:26 +05:30
Athijegannathan Sundararajan
f42d5e85e3
8066749: jdk9-dev/nashorn ant build fails with jdk9 modular image build as JAVA_HOME
...
Reviewed-by: lagergren, hannesw
2014-12-05 14:35:00 +05:30
Lana Steuck
35a74c5264
Merge
2014-12-04 15:23:04 -08:00
David Katleman
bd075b7eb8
Added tag jdk9-b41 for changeset 08ef93eaca80
2014-12-04 12:58:22 -08:00
Athijegannathan Sundararajan
369861355d
8066696: test/script/nosecurity/JDK-8055034.js -Xbootclasspath option is wrong
...
Reviewed-by: attila, lagergren
2014-12-04 21:52:58 +05:30
Athijegannathan Sundararajan
949112fab2
8066683: nashorn test failures after modular image changes
...
Reviewed-by: attila, jlaskey
2014-12-04 20:40:48 +05:30
Chris Hegarty
2dbed37b5e
Merge
2014-12-03 17:55:36 +00:00
Attila Szegedi
29eb5ce73d
8066232: problem with conditional catch compilation
...
Reviewed-by: hannesw, lagergren
2014-12-03 16:31:39 +01:00
Attila Szegedi
deabb040d5
8066222: too strong assertion on function expression names
...
Reviewed-by: hannesw, lagergren
2014-12-03 16:31:15 +01:00
Chris Hegarty
174f2cfc80
8049367: Modular Run-Time Images
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: James Laskey <james.laskey@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Sundararajan Athijegannathan <sundararajan.athijegannathan@oracle.com>
Reviewed-by: chegar, dfuchs, ihse, joehw, mullan, psandoz, wetmore
2014-12-03 14:26:07 +00:00
Hannes Wallnöfer
8d3af43a7c
8065769: OOM on Window/Solaris in test compile-octane-splitter.js
...
Reviewed-by: sundar, jlaskey
2014-12-03 14:49:36 +01:00
Hannes Wallnöfer
e3a64209bc
8066214: Fuzzing bug: Object.prototype.toLocaleString(0)
...
Reviewed-by: attila, lagergren
2014-12-03 11:43:57 +01:00
Andreas Gabrielsson
beb05bda0d
8066238: AssertionError in parser when syntax errors appeared in non finished Blocks
...
Reviewed-by: hannesw, sundar, lagergren
2014-12-01 13:17:24 +01:00
Marcus Lagergren
9c7f48c842
8066119: Invalid resource tag used for looking up error message in NativeDataView
...
Reviewed-by: hannesw, sundar
2014-11-28 11:02:54 +01:00
Hannes Wallnöfer
7b35db48f7
8057980: let & const: remaining issues with lexical scoping
...
Reviewed-by: lagergren, attila
2014-11-27 16:42:53 +01:00
Vladimir Ivanov
a0485e336d
8065985: Inlining failure of Number.doubleValue() in JSType.toNumeric() causes 15% peak perf regresion on Box2D
...
Reviewed-by: lagergren, hannesw
2014-11-27 17:14:01 +04:00
Attila Szegedi
e79371a0bc
8051778: support bind on all Nashorn callables
...
Reviewed-by: hannesw, lagergren
2014-11-27 13:04:46 +01:00
Hannes Wallnöfer
b5ae347f9c
8057691: Nashorn: let & const declarations are not shared between scripts
...
Reviewed-by: lagergren, attila
2014-11-21 17:44:57 +01:00
Lana Steuck
35268dc495
Merge
2014-11-20 10:58:25 -08:00
David Katleman
9c481b142e
Added tag jdk9-b40 for changeset 4bb9d8815020
2014-11-18 15:25:19 -08:00
Marcus Lagergren
ad0645eb58
8049407: Endianness problem with TypedArrays
...
Reviewed-by: hannesw, sundar
2014-11-17 14:36:15 +01:00
Sergey Lugovoy
42c6853ed1
8062638: RuntimeException when run command from js with -scripting on Cygwin
...
Reviewed-by: hannesw, lagergren
2014-11-17 14:57:28 +03:00
Lana Steuck
30066363bb
Merge
2014-11-13 09:38:35 -08:00
Marcus Lagergren
ebdc046949
8062937: Need to block constant assumption for index setters and defineOwnProperty, not just delete
...
Reviewed-by: hannesw, jlaskey
2014-11-13 16:59:03 +01:00
Hannes Wallnöfer
20bfcfa75a
8064789: Nashorn should just warn on code store instantiation error
...
Reviewed-by: attila, lagergren
2014-11-13 15:29:22 +01:00
David Katleman
54cc0b0fff
Added tag jdk9-b39 for changeset d34febeff13b
2014-11-12 20:32:28 -08:00
Marcus Lagergren
ca13b9a903
8063036: Various pretty printing issues with --log=recompile
...
Reviewed-by: hannesw, jlaskey
2014-11-12 17:19:04 +01:00
Attila Szegedi
2761db3bb6
8064707: Remove NativeArray link logic fields
...
Reviewed-by: hannesw, lagergren
2014-11-12 15:13:08 +01:00
Attila Szegedi
e0d1d687f2
8063037: ApplySpecialization.hasApplies shouuld not descend into nested functions
...
Reviewed-by: hannesw, lagergren
2014-11-12 14:54:40 +01:00
Marcus Lagergren
1fd2db0b1a
8064705: Build breaking warning in LengthNotWritableFilter
...
Reviewed-by: hannesw, attila
2014-11-12 14:40:05 +01:00
Marcus Lagergren
434b1899be
8035312: Various array and ScriptObject length issues for non writable length fields
...
Reviewed-by: hannesw, attila
2014-11-12 14:12:01 +01:00
Attila Szegedi
c0e0171008
8062799: Binary logical expressions can have numeric types
...
Reviewed-by: lagergren, sundar
2014-11-11 17:27:44 +01:00
Attila Szegedi
ed690e7835
8064467: type info persistence failed to calculate directory name
...
Reviewed-by: hannesw, lagergren
2014-11-11 16:17:37 +01:00
Lana Steuck
f0dc68f1aa
Merge
2014-11-06 15:13:08 -08:00
David Katleman
4c77e33f9b
Added tag jdk9-b38 for changeset 7f3150885118
2014-11-06 10:11:40 -08:00
Attila Szegedi
c2b5d15a9d
8062308: Incorrect constant linkage with multiple Globals in a Context
...
Reviewed-by: lagergren, sundar
2014-11-06 17:06:56 +01:00
Hannes Wallnöfer
ed9bce193a
8047365: Very long function names break codegen
...
Reviewed-by: attila, lagergren
2014-11-06 13:17:47 +01:00
Hannes Wallnöfer
0c4006a654
8062624: java.lang.String methods not available on concatenated strings
...
Reviewed-by: lagergren, attila
2014-11-06 13:15:52 +01:00
Hannes Wallnöfer
043a07e654
8062386: Different versions of nashorn use same code cache directory
...
Reviewed-by: lagergren, attila
2014-11-05 17:07:26 +01:00
Marcus Lagergren
fe0da815c5
8057825: Bug in apply specialization - if an apply specialization that is available doesn't fit, a new one wouldn't be installed, if the new code generated as a specialization didn't manage to do the apply specialization. Basically changing a conditional to an unconditional
...
Reviewed-by: attila, hannesw
2014-11-05 12:34:06 +01:00
Marcus Lagergren
d82a461e44
8062490: Out of memory problems, as untouched array datas didn't go directly to SparseArrayDatas, but dragged very large int arrays around
...
Reviewed-by: attila, sundar
2014-11-03 14:59:34 +01:00
Marcus Lagergren
75d37c8e9c
8061959: ArrayBuffer lacked static isViewMethod
...
Reviewed-by: attila, sundar
2014-11-03 13:58:52 +01:00
Marcus Lagergren
f27f5dd651
8062381: Wrong index was used for linking charCodeAt specializations
...
Reviewed-by: attila, hannesw
2014-11-03 12:34:39 +01:00
Marcus Lagergren
88fcdf5d05
8060204: Fix warnings in Joni and tests
...
Reviewed-by: hannesw, sundar, attila
2014-11-03 11:47:41 +01:00
Attila Szegedi
5d2bb4cd2d
8059443: NPE when unboxing return values
...
Reviewed-by: lagergren, sundar
2014-11-03 09:49:52 +01:00
Attila Szegedi
10ebc44ee0
8062050: A method is considered caller sensitive, but it doesn't have the CallerSensitive annotation
...
Reviewed-by: hannesw, lagergren
2014-11-03 07:29:46 +01:00
Attila Szegedi
c0a2e40859
8061957: Some arithmetic operations have unnecessary widening
...
Reviewed-by: hannesw, lagergren
2014-11-03 07:28:08 +01:00
Hannes Wallnöfer
44b0af6eb9
8062583: Throwing object with error prototype causes error proto to be caught
...
Reviewed-by: sundar, jlaskey
2014-10-31 16:50:31 +01:00
Hannes Wallnöfer
cd2c4bfd1d
8062132: Nashorn incorrectly binds this for constructor created by another function
...
Reviewed-by: jlaskey, sundar
2014-10-31 10:06:52 +01:00
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