Commit Graph

299 Commits

Author SHA1 Message Date
Attila Szegedi
6a35e8c5a8 8013912: Nashorn needs to reuse temporary symbols
Reviewed-by: jlaskey, lagergren
2013-05-08 15:51:36 +02:00
Marcus Lagergren
c668214703 8013914: Removed explicit LineNumberNodes that were too brittle when code moves around, and also introduced unnecessary footprint. Introduced the Statement node and fixed dead code elimination issues that were discovered by the absense of labels for LineNumberNodes
Reviewed-by: jlaskey, attila
2013-05-07 14:43:17 +02:00
Marcus Lagergren
a788347b73 8013913: Removed Source field from all nodes except FunctionNode in order to save footprint
Reviewed-by: jlaskey, attila
2013-05-07 14:36:57 +02:00
Lana Steuck
12203fae88 Merge 2013-05-06 11:53:58 -07:00
Hannes Wallnöfer
5504a220f7 8013874: Function argument's prototype seem cached and wrongly reused
Reviewed-by: jlaskey
2013-05-03 22:50:51 +02:00
Hannes Wallnöfer
253e421ec5 8013873: Regexp regression for escaped dash in character class
Reviewed-by: jlaskey
2013-05-03 22:48:53 +02:00
Hannes Wallnöfer
973d656320 8013878: ClassCastException in Regex
Reviewed-by: jlaskey
2013-05-03 22:47:23 +02:00
Marcus Lagergren
87ff1bd751 8013871: mem usage histograms enabled with compiler logging level set to more specific than or equals to info when --print-mem-usage flag is used
Reviewed-by: jlaskey, hannesw
2013-05-03 16:01:33 +02:00
Marcus Lagergren
6f6ec2d9d1 8013477: Node.setSymbol needs to be copy on write - enable IR snapshots for recompilation based on callsite type specialization. [not enabled by default, hidden by a flag for now]
Reviewed-by: jlaskey, hannesw
2013-05-03 15:33:54 +02:00
David Katleman
cd39069cf4 Added tag jdk8-b88 for changeset ddfec66935ab 2013-05-02 13:35:59 -07:00
James Laskey
cd9c2c1bb2 8013796: load("fx:base.js") should not be in fx:bootstrap.js
Reviewed-by: sundar, lagergren
2013-05-02 15:01:16 -03:00
Jim Laskey
cfcdf2c4c1 Merge 2013-05-02 13:23:36 -03:00
James Laskey
6ee68537b6 8013794: JDK-8006220 caused an octane performance regression
Reviewed-by: lagergren, sundar
2013-05-02 13:22:46 -03:00
Hannes Wallnöfer
323a923236 8013729: SwitchPoint invalidation not working over prototype chain
Reviewed-by: lagergren, sundar
2013-05-02 09:19:44 +02:00
Lana Steuck
24b1af66cb Merge 2013-04-30 17:53:41 -07:00
James Laskey
ab18b431cb 8006220: Simplify PropertyMaps
Reviewed-by: hannesw, lagergren
2013-04-30 10:05:42 -03:00
Marcus Lagergren
a2c222ef34 8013533: Increase code coverage report for types and logging
Reviewed-by: hannesw, sundar
2013-04-30 09:42:13 +02:00
Jim Laskey
5c0631d52b Merge 2013-04-29 21:38:08 -03:00
Attila Szegedi
8c132a0300 8008814: Configurable ignore/warning/error behavior for function declaration as statement
Reviewed-by: jlaskey, sundar
2013-04-29 23:22:20 +02:00
Athijegannathan Sundararajan
56129142b0 8013444: JSON.parse does not invoke "reviver" callback as per spec
Reviewed-by: jlaskey, hannesw
2013-04-29 18:40:40 +05:30
Attila Szegedi
a659fce8ff 8013419: Streamline handling of with and eval
Reviewed-by: hannesw, lagergren
2013-04-29 13:21:17 +02:00
James Laskey
0a036d8c65 8013360: Should be using JavaFX 8 classes for -fx support
Reviewed-by: hannesw, sundar
2013-04-26 15:13:09 -03:00
Athijegannathan Sundararajan
cae93c2746 8013369: nashorn build failure with jdk8 b84
Reviewed-by: hannesw
2013-04-26 22:29:11 +05:30
Hannes Wallnöfer
65661628af 8006559: Octane:pdfjs leaks memory, runs slower iteration to iteration
Reviewed-by: attila, sundar, jlaskey
2013-04-26 17:35:40 +02:00
Athijegannathan Sundararajan
b165a1a882 8013337: Issues with Date.prototype's get, set functions
Reviewed-by: jlaskey, hannesw, lagergren
2013-04-26 18:31:42 +05:30
James Laskey
806256d657 8013208: Octane performance regression
Reviewed-by: hannesw, sundar
2013-04-26 09:48:41 -03:00
Attila Szegedi
08a8593cd6 8013325: function named 'arguments' should set DEFINES_ARGUMENTS flag in its parent, not itself
Reviewed-by: hannesw, sundar
2013-04-26 09:20:37 +02:00
Athijegannathan Sundararajan
76c993b302 8013295: ScriptEngineTest.java fails with compilation error when running under jtreg
Reviewed-by: attila, hannesw
2013-04-26 12:17:11 +05:30
David Katleman
1418f59c79 Added tag jdk8-b87 for changeset 5884314a2095 2013-04-25 09:24:44 -07:00
Attila Szegedi
dc20ce76ca 8013167: Vararg constructor not found
Reviewed-by: jlaskey, lagergren, sundar
2013-04-25 15:31:23 +02:00
Attila Szegedi
d32994d944 8013203: A collection of smaller speedups to compilation pipeline
Reviewed-by: hannesw, jlaskey
2013-04-25 14:47:17 +02:00
Hannes Wallnöfer
1ac0e870a1 8013131: Various compatibility issues in String.prototype.split()
Reviewed-by: lagergren, jlaskey
2013-04-25 14:20:23 +02:00
James Laskey
9f005902b9 8012251: jjs should support -fx option
Reviewed-by: sundar, attila, lagergren
2013-04-24 14:25:28 -03:00
Hannes Wallnöfer
512740c397 8008238: Labeled break in finally causes stack overflow in Node copy
Reviewed-by: lagergren, attila
2013-04-24 13:36:31 +02:00
Hannes Wallnöfer
48b0c0e8f3 8012931: NativeDate.safeToString() throws RangeError for invalid date
Reviewed-by: lagergren, attila
2013-04-24 13:34:22 +02:00
Hannes Wallnöfer
77d7f14b96 8012334: ToUint32, ToInt32, and ToUint16 don't conform to spec
Reviewed-by: lagergren, attila
2013-04-24 13:28:25 +02:00
Lana Steuck
d67eee0ece Merge 2013-04-23 15:09:23 -07:00
Lana Steuck
a177bbde67 Merge 2013-04-23 09:26:52 -07:00
Attila Szegedi
491404586d 8010731: Don't expose internal symbols to scripts
Reviewed-by: jlaskey, lagergren
2013-04-23 16:48:57 +02:00
Attila Szegedi
f5b57754c3 8011065: Problems when script implements an interface with variadic methods
Reviewed-by: jlaskey, hannesw, sundar
2013-04-23 12:52:29 +02:00
James Laskey
6004d46935 8012919: findMegaMorphicSetMethod should not cast result type
Reviewed-by: attila, sundar
2013-04-22 10:37:58 -03:00
Athijegannathan Sundararajan
3722b6d434 8012673: Nashorn's package name vs class name inferring logic is wrong
Reviewed-by: hannesw, jlaskey, attila
2013-04-22 18:09:04 +05:30
James Laskey
1334460008 8011578: -Dnashorn.unstable.relink.threshold=1 causes tests to fail
Reviewed-by: sundar, lagergren
2013-04-20 08:54:13 -03:00
Marcus Lagergren
fb7a325141 8010701: Immutable nodes - final iteration
Reviewed-by: sundar, hannesw, jlaskey
2013-04-19 16:11:16 +02:00
Athijegannathan Sundararajan
f9a53d819f 8012593: JSAdapter overrides impacts strongly construction time
Reviewed-by: jlaskey, attila
2013-04-19 18:23:00 +05:30
Athijegannathan Sundararajan
865a11d502 8012612: Compile failed
Reviewed-by: hannesw, jlaskey, attila
2013-04-19 17:46:01 +05:30
David Katleman
c00ad9959f Added tag jdk8-b86 for changeset 6ee429aebbde 2013-04-18 10:30:34 -07:00
Hannes Wallnöfer
4239700710 8012460: RegExp regression
Reviewed-by: jlaskey, sundar
2013-04-18 14:25:45 +02:00
Athijegannathan Sundararajan
649b7e005b 8012462: Date.prototype.toJSON does not handle non-Date 'this' as per the spec
Reviewed-by: jlaskey, hannesw
2013-04-18 15:50:30 +05:30
Lana Steuck
5795e80ed6 Merge 2013-04-17 21:50:54 -07:00
James Laskey
b8f4f275b4 8012529: Remove -esa from testing jvmargs
Reviewed-by: sundar
2013-04-17 15:36:48 -03:00
Jim Laskey
c72bd85140 Merge 2013-04-17 08:48:00 -03:00
Athijegannathan Sundararajan
49eb3c0de1 8012457: Function.prototype.apply should accept any array-like argument for function arguments
Reviewed-by: lagergren, jlaskey
2013-04-17 16:52:06 +05:30
Mandy Chung
88e1b69223 8010117: Annotate jdk caller sensitive methods with @sun.reflect.CallerSensitive
Reviewed-by: jrose, alanb, twisti, sundar
2013-04-16 22:11:33 -07:00
David Katleman
09a38fa260 Merge 2013-04-16 15:00:54 -07:00
Lana Steuck
53ae5516ff Merge 2013-04-16 08:16:17 -07:00
David Katleman
9d3be8c928 Merge 2013-04-15 14:21:08 -07:00
Athijegannathan Sundararajan
a4bf4b9be6 8012240: Array.prototype.map.call({length: -1, get 0(){throw 0}}, function(){}).length does not throw error
Reviewed-by: lagergren, jlaskey
2013-04-15 20:12:50 +05:30
Jim Laskey
835ab2e91d Merge 2013-04-15 08:39:48 -03:00
David Katleman
e574671868 8012048: JDK8 b85 source with GPL header errors
Reviewed-by: iris, mduigou, jjg
2013-04-12 15:22:56 -07:00
Hannes Wallnöfer
3e3d516b78 8011885: Switch to Joni as default Regexp engine
Reviewed-by: lagergren, sundar
2013-04-12 16:32:24 +02:00
Hannes Wallnöfer
f88be03f6b 8011884: Regexp literals are compiled twice
Reviewed-by: lagergren, sundar
2013-04-12 16:31:16 +02:00
Lana Steuck
700185e334 Merge 2013-04-11 19:16:01 -07:00
David Katleman
0ce8d41fad Added tag jdk8-b85 for changeset 769940c9fbc4 2013-04-11 09:40:24 -07:00
Hannes Wallnöfer
0e49b64b83 8011980: Allow NUL character in character class
Reviewed-by: sundar, lagergren
2013-04-11 12:16:39 +02:00
Athijegannathan Sundararajan
9170d68b5a 8011974: Comparator function returning negative and positive Infinity does not work as expected with Array.prototype.sort
Reviewed-by: hannesw, lagergren
2013-04-11 15:04:55 +05:30
Athijegannathan Sundararajan
30fdece570 8011960: [2,1].sort(null) should throw TypeError
Reviewed-by: hannesw, lagergren
2013-04-11 13:20:03 +05:30
Hannes Wallnöfer
ad7e2cd8de 8011756: Wrong characters supported in RegExp \c escape
Reviewed-by: lagergren, attila
2013-04-10 14:08:00 +02:00
Hannes Wallnöfer
3c60983c02 8011749: Bugs with empty character class handling
Reviewed-by: lagergren, attila
2013-04-10 14:05:11 +02:00
Hannes Wallnöfer
ab923e74bf 8011714: Regexp decimal escape handling still not correct
Reviewed-by: lagergren, attila
2013-04-10 14:00:11 +02:00
Jim Laskey
c590589054 Merge 2013-04-09 08:36:32 -03:00
Lana Steuck
a8231f55a8 Merge 2013-04-05 14:52:00 -07:00
Hannes Wallnöfer
bc7905ab3a 8009230: Nashorn rejects extended RegExp syntax accepted by all major JS engines
Reviewed-by: jlaskey, lagergren
2013-04-05 19:50:10 +02:00
David Katleman
403f66ad1d Added tag jdk8-b84 for changeset c3a8125548f0 2013-04-04 19:05:46 -07:00
Attila Szegedi
35f9ab2054 8011555: Invalid class name in with block with JavaImporter causes MH type mismatch
Reviewed-by: jlaskey, lagergren
2013-04-04 18:32:00 +02:00
Athijegannathan Sundararajan
194f867e24 8011552: Arrays with missing elements are not properly sorted
Reviewed-by: jlaskey, lagergren
2013-04-04 20:46:31 +05:30
Attila Szegedi
a6439d2b72 Merge 2013-04-04 15:55:42 +02:00
Attila Szegedi
5a45a7da03 8011544: Allow subclassing Java classes from script without creating instances
Reviewed-by: jlaskey, sundar
2013-04-04 15:53:26 +02:00
Athijegannathan Sundararajan
76f2aa79e6 8011543: "".split(undefined,{valueOf:function(){throw 2}}) does not throw exception
Reviewed-by: lagergren, jlaskey
2013-04-04 18:30:30 +05:30
Jim Laskey
04fdfe9984 Merge 2013-04-04 09:06:29 -03:00
James Laskey
70276abeb1 8011540: PropertyMap histories should not begin with empty map
Reviewed-by: lagergren, sundar
2013-04-04 09:05:38 -03:00
Athijegannathan Sundararajan
e20dc52ab2 8011421: When using Object.defineProperty on arrays, PropertyDescriptor's property accessors are invoked multiple times
Reviewed-by: lagergren, hannesw
2013-04-04 13:54:51 +05:30
Athijegannathan Sundararajan
2b494aafd9 8011394: RegExp.prototype.test() does not call valueOf on lastIndex property as per the spec
Reviewed-by: lagergren, jlaskey, hannesw
2013-04-04 10:24:46 +05:30
Athijegannathan Sundararajan
84f1ee1581 8011382: Data prototype methods and constructor do not call user defined toISOString, valueOf methods per spec
Reviewed-by: lagergren, jlaskey
2013-04-03 20:17:05 +05:30
Hannes Wallnöfer
6b89fa96a3 8007774: Enable code cache again
Reviewed-by: lagergren, attila, sundar
2013-04-03 12:43:59 +02:00
Athijegannathan Sundararajan
a85fab2730 8011365: Array.prototype.join and Array.prototype.toString do not throw TypeError on null, undefined
Reviewed-by: attila, hannesw, lagergren
2013-04-03 15:27:28 +05:30
Attila Szegedi
7891ed4115 8011362: Overloaded method resolution foiled by nulls
Reviewed-by: hannesw, sundar
2013-04-03 11:13:08 +02:00
Athijegannathan Sundararajan
d35b6ae5f6 8011357: Array.prototype.slice and Array.prototype.splice should not call user defined valueOf of start, end arguments more than once
Reviewed-by: lagergren, hannesw
2013-04-03 11:41:42 +05:30
Lana Steuck
b0cd59474f Merge 2013-04-02 12:01:01 -07:00
Athijegannathan Sundararajan
e96d207c68 8011274: Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get.hasOwnProperty("prototype") should be false
Reviewed-by: lagergren, jlaskey
2013-04-02 23:01:10 +05:30
Athijegannathan Sundararajan
fcc548f01d 8011237: Object.isExtensible(Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get) should be false
Reviewed-by: lagergren, jlaskey
2013-04-02 20:42:03 +05:30
Jim Laskey
6819808bea Merge 2013-04-02 11:38:04 -03:00
James Laskey
53d40472c2 8011233: Create a Nashorn shell for JavaFX
Reviewed-by: lagergren, sundar
2013-04-02 11:37:22 -03:00
Athijegannathan Sundararajan
da76d3b5ec 8011209: Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get.length is not 0
Reviewed-by: lagergren, hannesw, jlaskey
2013-04-02 17:40:53 +05:30
Hannes Wallnöfer
10cd2de7ed 8011219: Regression with recent PropertyMap history changes
Reviewed-by: jlaskey, lagergren
2013-04-02 13:55:49 +02:00
Lana Steuck
f614f5d693 Merge 2013-04-01 21:42:31 -07:00
James Laskey
1cfc0cae65 8011095: PropertyHashMap.rehash() does not grow enough
Reviewed-by: hannesw, lagergren
2013-03-31 08:19:11 -03:00
Athijegannathan Sundararajan
db89cafb53 8011063: With older ant, we get the error "The <property> type doesn't support nested text data ("${run.te...jvmargs}")."
Reviewed-by: hannesw, ksrini
2013-03-29 18:38:27 +05:30
Marcus Lagergren
fec16029ea 8010995: The bug ID 8010710 accidentally got two digits transposed in the checkin and unit test name
Reviewed-by: hannesw, sundar
2013-03-29 08:55:05 +01:00
David Katleman
ea13857a21 Added tag jdk8-b83 for changeset 4f4788d62566 2013-03-28 10:55:17 -07:00