Jon Coppeard
aa11b22465
Bug 1259042 - Re-introduce a version of ZoneCellIter for use under GC r=terrence
2016-03-30 12:33:55 +01:00
Phil Ringnalda
4204667ede
Back out 735da799e3bb (bug 1211723) for assertion failures and crashes in SharedImmutableStringsCache
...
CLOSED TREE
2016-03-29 21:57:51 -07:00
Eric Faust
ef48766d83
Bug 1260577 - Fix |obj[expr] += e2| erroneously calling expr.toString() twice. (r=till)
2016-03-29 16:46:20 -07:00
Nick Fitzgerald
35e15a7ddb
Bug 1211723 - Share JS source text between JSRuntimes; r=jimb
...
This commit adds `SharedImmutableStringsCache` which allows for de-duplication
and sharing of immutable strings between threads and JSRuntimes.
Each JSRuntime gets a SharedImmutableStringsCache member, but the accessor
always returns the parent runtime's cache. The caches in child JSRuntime's are
not wasting space, however, as initialization and allocation of the table
happens lazily within SharedImmutableStringsCache.
Furthermore, this commit removes `js::ScriptSource::Parent` and the
`CompressedSourceSet`. They are unnecessary because source text is always shared
via the parent runtime's `SharedImmutableStringsCache` now.
2016-03-29 15:15:47 -07:00
Mike Hommey
96b6664c24
Bug 1257516 - Rename error() to die() and make it take arguments like the logging module. r=ted
2016-03-30 06:59:44 +09:00
Nicholas Nethercote
e114b226dc
Bug 1259194 (part 4) - Separate js::ObjectOps from js::Class. r=efaust,mrbkap,bz.
...
js::ObjectOps is often all null. When it's not all null, it's often duplicated
many times among classes. By pulling it out into its own struct, and using a
(possibly null) pointer in js::Class, we can save 208 KiB per process on
64-bit, and half that on 32-bit.
--HG--
extra : rebase_source : 5be8fe45f652392571b8a6d7b63777cbafba6ae4
2016-03-24 07:00:29 +11:00
Nathan Froyd
cccdd9fbca
Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
...
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-23 10:40:53 -04:00
Jeff Walden
3ef9bb2477
Bug 1259877 - Rename Invoke[GS]etter to Call[GS]etter, more in line with the spec's calling nomenclature. r=jorendorff
...
--HG--
extra : rebase_source : 4a810f7b6b6fc6a9849b827b8a593251e02cc915
2016-03-10 21:46:10 -08:00
Jeff Walden
7e3a50ba41
Bug 1259877 - Remove the unused JSObject::callMethod. r=jorendorff
...
--HG--
extra : rebase_source : 23a67cdd21e564d7f6575ec85a19b7c093cdddc7
2016-03-18 17:56:15 -07:00
Jeff Walden
a1b0adad7b
Bug 1259877 - Remove jsarray.cpp's now-unused SortComparatorFunction. r=mrrrgn
...
--HG--
extra : rebase_source : 39f56e9232cc09c2a64749731a607c270b741172
2016-03-21 15:51:01 -07:00
Jeff Walden
eaedb4a7ed
Bug 1259877 - Intl.cpp:GetInternals should directly return its result, not go via outparam. r=till
...
--HG--
extra : rebase_source : 5e3d0ff09fc3604f32641428f672c54f45d43937
2016-03-18 17:41:01 -07:00
Nicolas B. Pierron
79a7becbc8
Bug 1259476 - Branch Pruning: Check if the Phi nodes have removed uses after popping them out of the worklist. r=jandem
2016-03-29 13:43:22 +00:00
Tobias Schneider
9dd3cff0b6
Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois
2016-03-29 00:37:44 -07:00
Jan de Mooij
615d679373
Bug 1259699 - Adjust Windows stack limits to account for large PGO stack frames. r=bholley
2016-03-29 08:03:54 +02:00
Nicholas Nethercote
f09c1cb32e
Bug 1259194 (part 3) - Remove PopulateJSClass(). r=mrbkap.
...
PopulateJSClass() is only called immediately after the constructor, so it can
be merged into the constructor. (This helps with the next patch.)
The patch also removes an unnecessary |new| check.
2016-03-24 06:58:23 +11:00
Nicholas Nethercote
45b72ac8ed
Bug 1259194 (part 2) - Remove XPCWrappedNativeJSClass. r=mrbkap.
...
It's a trivial and pointless wrapper for js::Class.
This patch also fixes some ridiculous formatting in XPCNativeScriptableShared.
2016-03-24 06:53:28 +11:00
Morgan Phillips
f5282c201e
Bug 1259600 - Divert typed arrays passed to Array.sort to a typed array specific sort; r=till
...
--HG--
extra : rebase_source : 36465eb5e48d8e25250082e77b45a171dc321bfd
2016-03-28 13:02:17 -07:00
Terrence Cole
27b80f93ec
Bug 1259490 - Update the DtoA cache after compacting GC; r=jandem
2016-03-28 10:07:36 -07:00
Kyle Huey
b55b8c715b
Bug 1259290
: Part 3 - Remove JS_ReportError and cx handling from RegisterWorker and friends. r=bz,jandem
2016-03-28 10:28:14 -07:00
Tooru Fujisawa
1b904497e5
Backed out changeset 63d6812ce8cc (bug 1165053) for jsreftest failure
...
--HG--
extra : amend_source : e86376e4807c2a78d7588d887b0951226a602a07
2016-03-28 06:49:59 +09:00
Tooru Fujisawa
bdbe852624
Backed out changeset fffa0e5cc406 (bug 1165053)
2016-03-28 06:49:59 +09:00
Tooru Fujisawa
01dd647400
Backed out changeset f3195319f23d (bug 1165053)
2016-03-28 06:49:58 +09:00
Tooru Fujisawa
76c2754652
Backed out changeset f66243f0197e (bug 1165053)
2016-03-28 06:49:58 +09:00
Tooru Fujisawa
2c5e1c5b5c
Backed out changeset 6ec3a764a8a5 (bug 1165053)
2016-03-28 06:49:58 +09:00
Tooru Fujisawa
ce45e839ed
Backed out changeset 31ce940c509c (bug 1165053)
2016-03-28 06:49:58 +09:00
Tooru Fujisawa
bd2e68d165
Backed out changeset fdef3048ed77 (bug 1165053)
2016-03-28 06:49:58 +09:00
Tooru Fujisawa
4c1d577e06
Backed out changeset 71ef5f8009ec (bug 1165053)
2016-03-28 06:49:58 +09:00
Tooru Fujisawa
d0a11af789
Backed out changeset 27189d8e678d (bug 1165053)
2016-03-28 06:49:58 +09:00
Tooru Fujisawa
a8a8cdb5e9
Backed out changeset 51249df95c69 (bug 1165053)
2016-03-28 06:49:58 +09:00
Tooru Fujisawa
f31d053fad
Backed out changeset 77117d1570b1 (bug 1165053)
2016-03-28 06:49:57 +09:00
Tooru Fujisawa
6a4fabef62
Backed out changeset 504f235c11ce (bug 1165053)
2016-03-28 06:49:57 +09:00
Tooru Fujisawa
b3fa2814b9
Backed out changeset 17a5a95bf6cc (bug 1233642)
2016-03-28 06:49:57 +09:00
Tooru Fujisawa
35d4dbe850
Backed out changeset b535cc24f7d0 (bug 1233642)
2016-03-28 06:49:57 +09:00
Tooru Fujisawa
3efb5bd9c2
Backed out changeset 8825d25eab2d (bug 1165052)
2016-03-28 06:49:57 +09:00
Tooru Fujisawa
72a15704e9
Backed out changeset 2a3147dc1003 (bug 1165052)
2016-03-28 06:49:57 +09:00
Tooru Fujisawa
a7baf2b4fc
Backed out changeset 5e02cbf51e45 (bug 1165052)
2016-03-28 06:49:57 +09:00
Tooru Fujisawa
0c21285c57
Backed out changeset fdbb1c215d78 (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
b0f74a8c6b
Backed out changeset cb171b15a882 (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
b5f61d2a75
Backed out changeset 0344adae92f3 (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
65ee39fbf2
Backed out changeset aa59399ae8e0 (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
23028dc2aa
Backed out changeset 0c725d3463f1 (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
92106bd9fd
Backed out changeset e49d0dfcaa5c (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
d4c12c56c8
Backed out changeset 5d13efb13fec (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
b2ab491fa0
Backed out changeset e682faee5bff (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
71874ab94b
Backed out changeset 5e108d752209 (bug 1165052)
2016-03-28 06:49:56 +09:00
Tooru Fujisawa
8113cda77c
Backed out changeset 52a142a57bf6 (bug 1165052)
2016-03-28 06:49:55 +09:00
Tooru Fujisawa
72c00fa642
Backed out changeset 10621b5e7de5 (bug 887016)
2016-03-28 06:49:55 +09:00
Tooru Fujisawa
128a910b68
Backed out changeset adca5076bc46 (bug 887016)
2016-03-28 06:49:55 +09:00
Tooru Fujisawa
02f82130f5
Backed out changeset 043f06dd9135 (bug 887016)
2016-03-28 06:49:55 +09:00
Tooru Fujisawa
6f2391f9f9
Backed out changeset 67346678966f (bug 887016)
2016-03-28 06:49:55 +09:00