Commit Graph

145 Commits

Author SHA1 Message Date
Boris Zbarsky
e3d6f3c0a4 Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink, a=waldo on the gcc-specific bits. 2017-03-10 23:52:55 -05:00
Boris Zbarsky
6c7787df36 Backed out changeset c1978f7d49c4 for build failures.
MozReview-Commit-ID: FOwcGtykkXR
2017-03-11 00:10:36 -05:00
Boris Zbarsky
09244ad037 Bug 1346389. Make --enable-shared-js link again, at least for an opt mac build with intl api disabled. r=sfink
MozReview-Commit-ID: 264vsCvhh9Z
2017-03-10 23:52:55 -05:00
Brian Hackett
ceaec99607 Bug 1337117 - Remove references to main thread in the JS engine, r=jandem. 2017-02-11 05:27:32 -07:00
Benjamin Bouvier
d15b76ca39 Bug 1320374: Rename THREAD_TYPE_ASMJS into THREAD_TYPE_WASM; r=luke 2016-11-25 11:50:12 +01:00
Emanuel Hoogeveen
363f9560d9 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
72842d15eb 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
2fb163aebd Bug 1271165 - Part 3: Create and hook up an AllocPolicy for JSAPI. r=jandem 2016-08-12 07:37:00 -04:00
Chris Peterson
c35faf4632 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
Terrence Cole
34f289f3f2 Bug 1257387 - Annotate OOM allocation sizes where possible; r=jonco 2016-04-22 11:55:34 -07:00
Nicholas Nethercote
26b6e79d96 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
2016-04-27 14:16:50 +10:00
Jan de Mooij
6594f7a4e7 Bug 1267557 part 0 - Move JS poison constants to jsutil.h. r=jonco 2016-04-28 13:38:05 +02:00
Jon Coppeard
a0dabda20f Bug 1263218 - Fix possbile race under oomTest involving background threads r=terrence 2016-04-12 09:44:11 +01:00
Jon Coppeard
5f1935fe4d Bug 1235677 - Add assertion to catch unsafe concurrent use of AutoEnterOOMUnsafeRegion r=terrence 2016-03-30 12:33:56 +01:00
Jon Coppeard
bc76452e65 Bug 1256672 - Make OOM alloc counters 64 bit. r=terrence 2016-03-15 11:46:00 +01:00
Carsten "Tomcat" Book
bc5ed4e57e Backed out changeset 5e4e30fff99b (bug 1235677) for landing with wrong bugnumber 2016-03-16 10:59:41 +01:00
Jon Coppeard
1a94857192 Bug 1235677 - Refactor OOM simulation and make counters 64 bit r=terrence 2016-03-16 09:41:57 +00:00
Jon Coppeard
27753660e4 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
786af33c6f Bug 1239601 - improve the UniquePtr situation (r=jandem) 2016-01-15 18:26:20 -06:00
Luke Wagner
803a59deed Bug 1237508 - Odin: make AsmJSModule derive wasm::Module (r=bbouvier) 2016-01-08 12:35:23 -06:00
Nick Fitzgerald
d8978fcbe1 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
926a04b88a Bug 1212390 - fix lingering bugs around oomAtAllocation. r=jonco 2015-10-09 10:58:12 +01:00
Jon Coppeard
efbddf3d47 Bug 1212430 - Remove CrashAtUnhandlableOOM() and replace with AutoEnterOOMUnsafeRegion r=jandem 2015-10-08 10:49:49 +01:00
Jon Coppeard
fac200181c Bug 1208665 r=Waldo a=abillings 2015-10-07 11:04:37 +01:00
Jon Coppeard
e7ba618a4b Bug 1209911 - Remove option to simulate OOM on all threads r=terrence 2015-10-06 14:50:50 +01:00
Jon Coppeard
29f89186d1 Bug 1209911 - Make AutoEnterOOMUnsafeRegion ignore threads that are not simulating OOM r=terrence 2015-10-06 14:50:49 +01:00
Nick Fitzgerald
1d821c15c6 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
edcaf74171 Bug 1200642 - Fix some more OOM handling problems r=terrence 2015-09-30 11:34:49 +01:00
Jon Coppeard
ccce12ac4e 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
d85eb48924 Bug 1199203 - Add support for per-thread OOM testing. r=jonco 2015-09-11 16:11:56 +02:00
Nigel Babu
78a047580a Backed out changeset ad5849c18324 (bug 1199203) for build bustage ON A CLOSED TREE 2015-09-10 08:26:52 +05:30
Christian Holler
0f1a4a3852 Bug 1199203 - Add support for per-thread OOM testing. r=jonco 2015-09-10 03:46:45 +02:00
Steve Fink
2ce37f544f Bug 1196378 - js_delete should accept a const pointer like builtin delete, r=fitzgen 2015-08-19 10:59:50 -07:00
Jon Coppeard
8b72db34b7 Bug 1155618 - Don't retry memory allocation if we're simulating OOM r=terrence 2015-07-01 18:53:04 +01:00
Jon Coppeard
2ab36aada9 Bug 1155618 - Add better support for testing OOM behaviour r=terrence 2015-05-22 18:52:38 +01:00
Ehsan Akhgari
d9acf29164 Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Jan de Mooij
c6596c5fa8 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
1a1c158706 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
369ef1b850 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
65c0af280b Bug 1143521 - Remove IsPoisonedPtr stuff, r=sfink. 2015-03-18 18:01:35 -07:00
Terrence Cole
28dc637fdb Bug 1141234 - Part 1: Abstract PossiblyFail into the OOM testing machinery; r=sfink 2015-03-11 11:06:20 -07:00
Dan Gohman
a423f47fe2 Bug 1131783 - Mark various unlikely conditions as MOZ_UNLIKELY r=waldo 2015-02-12 08:37:01 -08:00
Jeff Walden
386ec0926b Bug 1125096 - Implement JS_DECLARE_NEW_METHODS and JS_DECLARE_MAKE_METHODS using variadic templates, not a gazillion unreadable lines of copypasta. r=jorendorff 2015-01-24 20:18:21 -08:00
Dan Gohman
8c756ddddb Bug 1125185 - Define MOZ_COLD for marking "cold" functions r=waldo 2015-01-26 17:30:19 -08:00
Lars T Hansen
618cdd9b9b Bug 1118170 - remove PJS-specific bits from the GC. r=terrence 2015-01-14 09:21:59 +01:00
Masatoshi Kimura
bae0a32948 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Ehsan Akhgari
db23a4b822 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
7cc50da1c0 Bug 1100652 - Simplify the store buffer implementation; r=sfink 2014-11-18 13:56:46 -08:00
Nicolas B. Pierron
fb07fa8a1d Bug 1074911 - Remove JS_ASSERT and JS_ASSERT_IF macros. r=jorendorff 2014-10-01 19:17:53 +02:00
Terrence Cole
a9e8f831d8 Bug 1068123 - Make the MOZ_GCTIMER logs more verbose and readable; r=jonco 2014-09-19 08:39:54 -07:00