Brian Hackett
539e47cd96
Bug 1337117 - Remove references to main thread in the JS engine, r=jandem.
...
--HG--
extra : rebase_source : 466336ed48fb8636d1ef428195408411ed81473d
2017-02-11 05:27:32 -07:00
Benjamin Bouvier
02cd2cddce
Bug 1320374: Rename THREAD_TYPE_ASMJS into THREAD_TYPE_WASM; r=luke
...
--HG--
extra : rebase_source : 38d4f0b6b73d86fb65a1ad2ba20a839cc3034ed1
2016-11-25 11:50:12 +01:00
Emanuel Hoogeveen
8210833803
Bug 1294732 - Back out all of bug 1271165 as it has served its purpose. r=glandium
2016-08-23 08:45:00 -04:00
Luke Wagner
6b009b1299
Bug 1283924 - Baldr: dispatch WebAssembly.compile tasks to a helper thread (r=till)
...
MozReview-Commit-ID: Ll4zmDi7JuS
2016-08-17 17:06:24 -05:00
Emanuel Hoogeveen
8f67432641
Bug 1271165 - Part 3: Create and hook up an AllocPolicy for JSAPI. r=jandem
2016-08-12 07:37:00 -04:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Terrence Cole
f452b33559
Bug 1257387 - Annotate OOM allocation sizes where possible; r=jonco
...
--HG--
extra : rebase_source : 91d74e18238554d71452498bd25860e78993c7a0
2016-04-22 11:55:34 -07:00
Nicholas Nethercote
2511b2c327
Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
...
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.
MozReview-Commit-ID: 1VS4Dney4WX
--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Jan de Mooij
88d16d7efa
Bug 1267557 part 0 - Move JS poison constants to jsutil.h. r=jonco
2016-04-28 13:38:05 +02:00
Jon Coppeard
c20538fdb8
Bug 1263218 - Fix possbile race under oomTest involving background threads r=terrence
...
--HG--
extra : rebase_source : 89e57d0d85029caf301f63e8409bffbbd9fd9073
2016-04-12 09:44:11 +01:00
Jon Coppeard
ca319d558f
Bug 1235677 - Add assertion to catch unsafe concurrent use of AutoEnterOOMUnsafeRegion r=terrence
2016-03-30 12:33:56 +01:00
Jon Coppeard
f0d2a7676e
Bug 1256672 - Make OOM alloc counters 64 bit. r=terrence
2016-03-15 11:46:00 +01:00
Carsten "Tomcat" Book
41c5d93a8a
Backed out changeset 5e4e30fff99b (bug 1235677) for landing with wrong bugnumber
2016-03-16 10:59:41 +01:00
Jon Coppeard
93d786cfd8
Bug 1235677 - Refactor OOM simulation and make counters 64 bit r=terrence
2016-03-16 09:41:57 +00:00
Jon Coppeard
de80f46e74
Bug 1240416 Disallow setting GC mark stack size to zero, and assert on attempt to realloc() zero bytes r=terrence
2016-01-20 10:13:14 +00:00
Luke Wagner
72ea23c63e
Bug 1239601 - improve the UniquePtr situation (r=jandem)
...
--HG--
extra : commitid : JegWAoGsuQ9
extra : rebase_source : 995c1b6ab8e4fd3b83c44741cd84a2d7b0d934d7
2016-01-15 18:26:20 -06:00
Luke Wagner
ce49978208
Bug 1237508 - Odin: make AsmJSModule derive wasm::Module (r=bbouvier)
...
--HG--
extra : commitid : FRmfuJ5MQZo
extra : rebase_source : 603b10e7fcf1cd6daa9587cd8e7cab570c519230
2016-01-08 12:35:23 -06:00
Nick Fitzgerald
bc24ddcf02
Bug 1233101 - Use MOZ_LIKELY in js_new etc to help branch prediction; r=terrence
2015-12-18 12:05:14 -08:00
Lars T Hansen
38703f8d07
Bug 1212390 - fix lingering bugs around oomAtAllocation. r=jonco
2015-10-09 10:58:12 +01:00
Jon Coppeard
93caf76aac
Bug 1212430 - Remove CrashAtUnhandlableOOM() and replace with AutoEnterOOMUnsafeRegion r=jandem
2015-10-08 10:49:49 +01:00
Jon Coppeard
7187bae5a8
Bug 1208665 r=Waldo a=abillings
2015-10-07 11:04:37 +01:00
Jon Coppeard
a758f19926
Bug 1209911 - Remove option to simulate OOM on all threads r=terrence
...
--HG--
extra : rebase_source : c03694b314165446ffa3a6ab4d70fea02c202055
2015-10-06 14:50:50 +01:00
Jon Coppeard
810fbfb206
Bug 1209911 - Make AutoEnterOOMUnsafeRegion ignore threads that are not simulating OOM r=terrence
...
--HG--
extra : rebase_source : 99b217832f10946adf18896a1bb064092bb0b7fd
2015-10-06 14:50:49 +01:00
Nick Fitzgerald
30e17cfd82
Bug 1196461 - De-duplicate strings in heap snapshot core dumps; r=shu,jimb
...
This changeset replaces all of the
// char16_t[]
optional bytes someProperty = 1;
one- and two-byte string properties in the CoreDump.proto protobuf definition
file with:
oneof {
// char16_t[]
bytes someProperty = 1;
uint64 somePropertyRef = 2;
}
The first time the N^th unique string is serialized, then someProperty is used
and the full string is serialized in the protobuf message. All following times
that string is serialized, somePropertyRef is used and its value is N.
Among the other things, this also changes JS::ubi::Edge::name from a raw pointer
with commented rules about who does or doesn't own and should and shouldn't free
the raw pointer to a UniquePtr that enforces those rules rather than relying on
developers reading and obeying the rules in the comments.
2015-09-30 16:03:31 -07:00
Jon Coppeard
e189757ace
Bug 1200642 - Fix some more OOM handling problems r=terrence
2015-09-30 11:34:49 +01:00
Jon Coppeard
b815d04f9b
Bug 1201057 - Move AutoEnterOOMUnsafeRegion to Utility.h with the other OOM simulation infrastructure r=terrence
2015-09-21 14:31:51 +01:00
Christian Holler
3f7b44f628
Bug 1199203 - Add support for per-thread OOM testing. r=jonco
2015-09-11 16:11:56 +02:00
Nigel Babu
33d16f7c15
Backed out changeset ad5849c18324 (bug 1199203) for build bustage ON A CLOSED TREE
2015-09-10 08:26:52 +05:30
Christian Holler
f4d10e47aa
Bug 1199203 - Add support for per-thread OOM testing. r=jonco
2015-09-10 03:46:45 +02:00
Steve Fink
917fa3154c
Bug 1196378 - js_delete should accept a const pointer like builtin delete, r=fitzgen
...
--HG--
extra : rebase_source : 8fc0aa9b48d3fd8a0921fc9a9b920e6fd473226f
2015-08-19 10:59:50 -07:00
Jon Coppeard
57d849ede0
Bug 1155618 - Don't retry memory allocation if we're simulating OOM r=terrence
2015-07-01 18:53:04 +01:00
Jon Coppeard
81b5bd0867
Bug 1155618 - Add better support for testing OOM behaviour r=terrence
2015-05-22 18:52:38 +01:00
Ehsan Akhgari
f9d798bcbd
Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo
2015-04-21 14:22:43 -04:00
Jan de Mooij
b8b1677f0f
Bug 1144366
- Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 23:22:11 +01:00
Phil Ringnalda
c8a25251c1
Backed out changeset 0c030f97a04f (bug 1144366
) for being on top of patches being backed out
...
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
8d6d44ecb8
Bug 1144366
- Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 12:08:37 +01:00
Brian Hackett
a054a9a07e
Bug 1143521 - Remove IsPoisonedPtr stuff, r=sfink.
2015-03-18 18:01:35 -07:00
Terrence Cole
f4c5db74f1
Bug 1141234 - Part 1: Abstract PossiblyFail into the OOM testing machinery; r=sfink
...
--HG--
extra : rebase_source : b272f6805d505ad4ae7ac997c3d50b08eadca16c
2015-03-11 11:06:20 -07:00
Dan Gohman
0a60c87158
Bug 1131783 - Mark various unlikely conditions as MOZ_UNLIKELY r=waldo
2015-02-12 08:37:01 -08:00
Jeff Walden
1dc7ba8857
Bug 1125096 - Implement JS_DECLARE_NEW_METHODS and JS_DECLARE_MAKE_METHODS using variadic templates, not a gazillion unreadable lines of copypasta. r=jorendorff
...
--HG--
extra : rebase_source : 5acd9fa837980dbe9f5471efc08d16bd1de00e42
2015-01-24 20:18:21 -08:00
Dan Gohman
f233dc0d72
Bug 1125185
- Define MOZ_COLD for marking "cold" functions r=waldo
2015-01-26 17:30:19 -08:00
Lars T Hansen
1608603caa
Bug 1118170 - remove PJS-specific bits from the GC. r=terrence
2015-01-14 09:21:59 +01:00
Masatoshi Kimura
bf312ad056
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Ehsan Akhgari
895b53981b
Bug 1119228 - Fix a fatal warning in PossiblyFail; r=jandem
...
Recent clang emits the following warning (which is treated as an error) on this code:
error: implicit conversion of nullptr constant to 'bool' [-Werror,-Wnull-conversion]
2015-01-08 10:33:32 -05:00
Terrence Cole
11d0e8696d
Bug 1100652 - Simplify the store buffer implementation; r=sfink
...
--HG--
extra : rebase_source : caee6fef56e66a8af5be15678ffe29d6c618c0ba
2014-11-18 13:56:46 -08:00
Nicolas B. Pierron
5093e96c81
Bug 1074911 - Remove JS_ASSERT and JS_ASSERT_IF macros. r=jorendorff
2014-10-01 19:17:53 +02:00
Terrence Cole
91e1a9a93f
Bug 1068123
- Make the MOZ_GCTIMER logs more verbose and readable; r=jonco
2014-09-19 08:39:54 -07:00
Terrence Cole
05be72f555
Backed out changeset a53aa43ab5f4 for Windows build bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : d3a1aecd8882bc591898684c0a97f8929b7809a9
2014-09-19 09:40:53 -07:00
Terrence Cole
89f7f62c7c
Bug 1068123
- Make the MOZ_GCTIMER logs more verbose and readable; r=jonco
...
--HG--
extra : rebase_source : 010b83f2302c2b10e7ef3d3bb347a9b7b57a51b4
2014-09-19 08:39:54 -07:00
Terrence Cole
6606ad7310
Bug 1033442 - Remove non-pod realloc from MallocProvider and AllocPolicy; r=jonco
...
--HG--
extra : rebase_source : 507ab10313127ffcbf905c42438882aa9074c38a
2014-08-05 14:06:35 -07:00