Commit Graph

43713 Commits

Author SHA1 Message Date
Tom Schuster
6f7efe6bbf Bug 1244442 - Warn about Proxy.create and Proxy.createFunction. r=Waldo 2016-01-30 17:46:52 +01:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Luke Wagner
cbe1f8b9b2 Fix recent non-unified build bustage (no bug, rs=sunfish) 2016-01-29 21:54:47 -06:00
Wes Kocher
e5a6b681c9 Backed out changeset 2c56aed63687 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE 2016-01-29 10:15:38 -08:00
Jan de Mooij
872571e2cd Bug 1206652 part 2 - Disentangle ma_mov and ma_alu. r=nbp 2016-01-29 10:15:50 +01:00
Jan de Mooij
7b17d0ec94 Bug 1206652 part 1 - Remove ma_mov's SBit argument. r=nbp 2016-01-29 10:15:30 +01:00
Benjamin Bouvier
c4391a6b8f Bug 1243815: Put hard limits to some variable lengths in wasm; r=luke 2016-01-28 18:56:01 +01:00
Nick Fitzgerald
11edf68e4e Bug 1240090 - Make owned copies of filenames in JS::ubi::ByFilename. r=jimb
This commit makes the ByFilename census counter create its own owned copies of
script filenames. If we don't do this, and the heap graph we are analyzing is
the live heap, then the ScriptSource (from which we get the filename) could
disappear out from under us. We can't use a ScriptSourceHolder to keep the
ScriptSource alive because we might be analyzing an offline heap snapshot, in
which case there is no ScriptSource at all.
2016-01-28 16:33:00 -05:00
sajitk
faa12dafad Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in various files. r=bsmedberg 2016-01-28 10:35:00 -05:00
Nick Fitzgerald
0548b4942e Bug 1242691 - Merge overlapping SlotsEdges in the store buffer. r=terrence
Frequently, the mutator will modify nearly the same elements of an object
repeatedly. However, because the set of elements aren't exactly the same, the
single item buffer in front of MonoTypeBuffer can't de-duplicate these
edges. For example, in one CodeMirror test case, we would add 245 SlotsEdges
entries for almost the same 50,000 elements in an object, causing us to trace
these same 50,000 elements 245 times!

This patch makes `js::gc::StoreBuffer::putSlot` check to see if the new range is
overlapping with the last range added, and if so, merge the ranges rather than
adding partially duplicated elements into the store buffer.

This gives a 1000 point increase on Octane's pdf.js subsuite locally. The
CodeMirror test case mentioned above goes from ~10 seconds execution time to
~1.5 seconds, with the max minor gc pause dropping from up to 40 milliseconds,
down to 4 milliseconds.
2016-01-28 15:52:00 -05:00
Shu-yu Guo
19b5d46c9d Bug 1242111 - Fix references to oomTest. (r=me) 2016-01-28 18:08:11 -08:00
Shu-yu Guo
71d5a70365 Bug 1242111 - Handle OOM in UpdateExecutionObservabilityOfScriptsInZone. (r=jimb) 2016-01-28 17:04:01 -08:00
Shu-yu Guo
0d7629b5e0 Bug 1240503 - Skip the initial block scope when unwinding scopes due to an exception that's thrown in the prologue before the scope chain is properly initialized for a script that starts with a block scope. (r=jorendorff) 2016-01-28 17:04:01 -08:00
Shu-yu Guo
fd2cc33039 Bug 1234738 - Emit ALIASEDVAR ops or block-scoped lexicals right below global level. (r=jorendorff) 2016-01-28 17:04:01 -08:00
Terrence Cole
7eccfdbfa9 Bug 1234862 - Part 5.1: Followup comment fixes; r=sfink 2016-01-28 14:48:17 -08:00
Luke Wagner
29c7253647 Bug 1243633 - Baldr: add call/call_import (r=bbouvier) 2016-01-28 11:51:39 -06:00
Luke Wagner
a03dae9b1c Bug 1243633 - Odin: switch to lineOrBytecode from line/column (r=bbouvier) 2016-01-28 11:20:13 -06:00
Luke Wagner
3a9688db10 Bug 1243633 - Odin: tidy up call emitting (r=bbouvier) 2016-01-28 11:20:08 -06:00
Luke Wagner
15e4e9a1f0 Bug 1243252 - Baldr: add import section (r=bbouvier) 2016-01-28 10:30:41 -06:00
Luke Wagner
3ed0e03775 Bug 1243252 - Baldr: refactor exports (r=bbouvier) 2016-01-28 09:21:31 -06:00
Luke Wagner
1cc2cd5959 Bug 1243252 - Remove const restriction on CharsToNewUTF8CharsZ (r=jandem) 2016-01-28 09:20:19 -06:00
Luke Wagner
236053a051 Bug 1243632 - Baldr: check TypeError vs. SyntaxError (r=bbouvier) 2016-01-28 09:20:18 -06:00
Luke Wagner
61ac0db2d1 Bug 1243626 - Baldr: tweak block text format (r=bbouvier) 2016-01-28 09:19:22 -06:00
Jan de Mooij
a34aedbb0c Bug 1232859 - Don't crash or abort compilation if we're unable to compile the regex stubs. r=nbp 2016-01-28 14:59:42 +01:00
Benjamin Bouvier
2eb4030f07 Bug 1243031: Throw when WebAssembly is not supported; r=luke
And in deterministic builds, print an error on stderr so that fuzzers know that
they need to abort differential testing fuzzing.
2016-01-27 11:58:41 +01:00
Tom Schuster
47802285b0 Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor everywhere else. r=smaug 2016-01-28 11:28:04 +01:00
Tom Schuster
e1fabbba96 Bug 1242214 - Rename JSPropertyDescriptor JS::PropertyDescriptor in js. r=sstangl 2016-01-28 11:28:04 +01:00
Bogdan Postelnicu
9200718362 Bug 1243401 - removed unused variables fun_ and nslots_ from MIRGenerator. r=jorendorff 2016-01-27 18:04:18 +02:00
Chris Manchester
835d2f9bd5 Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps 2016-01-27 17:46:34 -08:00
Jeff Walden
c5a00d7798 Bug 1242043 - {Array,%TypedArray%}.prototype.{i,lastI}ndexOf should never return -0. r=jorendorff 2016-01-24 23:41:38 -08:00
Jeff Walden
24d3f30ce1 Bug 1243242 - Don't make structured cloning O(n**2) in the size of the transferables array. r=sfink 2016-01-27 12:29:17 -08:00
Terrence Cole
14a4339577 Bug 1007136 - Ensure malloc/free always match when using JSAutoByteString; r=bz 2016-01-26 14:53:38 -08:00
Terrence Cole
9964bfe4ca Bug 1234862 - Part 5: Rename DefaultGCPolicy to GCPolicy; r=sfink 2016-01-26 12:53:35 -08:00
Terrence Cole
ba5d237f9c Bug 1234862 - Part 4: Always use DefaultGCPolicy for TraceableFifo; r=sfink 2016-01-25 11:12:13 -08:00
Terrence Cole
5b214194eb Bug 1234862 - Part 3: Always use DefaultGCPolicy for GCHashTables; r=sfink 2016-01-25 08:43:53 -08:00
Terrence Cole
1271797189 Bug 1234862 - Part 2: Always use DefaultGCPolicy with GCVector; r=sfink 2016-01-22 11:24:11 -08:00
Terrence Cole
48265427a8 Bug 1234862 - Part 1: Rename GCMethods to BarrierMethods; r=sfink 2015-12-28 10:11:40 -08:00
Eric Faust
99925bf95f Bug 1238461 - Fix differential output involving JSOP_TOID. (r=jandem) 2016-01-27 11:26:52 -08:00
Sebastian Hengst
06580c8754 Backed out changeset 40b6b9e6562a (bug 1243031) for Spidermonkey bustage. r=bustage on a CLOSED TREE 2016-01-27 19:27:44 +01:00
Hannes Verschore
34c6166fbe Backed out changeset cdd0f1f00cda (bug 1241087) for leaking memory on win x64 a=backout 2016-01-27 12:50:00 -05:00
Steve Fink
af51eca272 Bug 1237445 - Rekey ArrayObjectTable, r=terrence 2016-01-20 09:27:02 -08:00
Steve Fink
5f1408fee8 Bug 1237445 - Use GCHashSet for RegExpShared sweeping, r=terrence 2016-01-12 12:55:35 -08:00
Steve Fink
0096938b09 Bug 1237445 - Use GCHashSet for BaseShapeSet and InitialShapeSet, r=terrence 2015-11-13 16:22:35 -08:00
Benjamin Bouvier
7e221f0076 Bug 1242949: Add explicit keyword to WasmAstBlock ctor; r=bustage 2016-01-27 18:36:16 +01:00
Benjamin Bouvier
d028fb1648 Bug 1243373: Ensure all declared functions are defined; r=luke 2016-01-27 15:30:08 +01:00
Benjamin Bouvier
004117ad04 Bug 1242949: Implement Block in WebAssembly; r=luke 2016-01-27 10:51:03 +01:00
Benjamin Bouvier
9ef7fdd2d1 Bug 1243031: Throw when WebAssembly is not supported; r=luke
And in deterministic builds, print an error on stderr so that fuzzers know that
they need to abort differential testing fuzzing.
2016-01-27 11:58:41 +01:00
Hannes Verschore
cf0f05743a Bug 1241087: SharedStubs: Enable shared stubs by default for ion, r=jandem 2016-01-27 11:20:10 -05:00
Luke Wagner
9df133fb32 Bug 1243239 - Baldr: tighten signature index check (r=bbouvier) 2016-01-27 09:25:45 -06:00
Tooru Fujisawa
2a3ef4b279 Bug 1240353 - Fallback to js::Allocate on allocation failure in RegExpMatcherStub. r=jandem 2016-01-27 23:29:36 +09:00