Andrew McCreight
86f277bb36
Bug 1093278 - Null check in nsPurpleBuffer::VisitEntries. r=smaug
2014-11-03 16:50:00 -05:00
Nathan Froyd
7c3afbd946
Bug 1095633 - part 1 - remove uses of HAVE_CPP_TROUBLE_COMPARING_TO_ZERO from headers; r=bz
2014-11-07 14:44:12 -05:00
Emanuel Hoogeveen
fbc3e91445
Bug 1084651 - Part 5: Simplify Cycle Collector logic now that SliceBudget makes more sense. r=mccr8
2014-11-06 10:14:00 +01:00
Emanuel Hoogeveen
b7672edb91
Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=billm r=mccr8
2014-10-22 14:13:00 +02:00
Nicholas Nethercote
c881cf722e
Bug 1094564 - Used SegmentedArray in SnowWhiteKiller. r=smaug.
...
This patch generalizes SegmentedArray a little, and then uses it instead of
nsTArray in SnowWhiteKiller. This avoids some large (sometimes 1 MiB or more)
allocations which were usually mostly unused.
2014-11-09 14:57:09 -08:00
Nathan Froyd
e9ec6ebc1b
Bug 1095117 - forward-declare cycle collection things in nsRefPtr.h; r=mccr8
2014-11-07 09:13:18 -05:00
Carsten "Tomcat" Book
ba5a7941af
Backed out changeset ebdebc9251be (bug 1084651)
2014-11-07 15:30:49 +01:00
Carsten "Tomcat" Book
d87e8af66c
Backed out changeset 77959236fb15 (bug 1084651)
2014-11-07 15:30:16 +01:00
Emanuel Hoogeveen
0d92fda72d
Bug 1084651 - Part 5: Simplify Cycle Collector logic now that SliceBudget makes more sense. r=mccr8
2014-11-06 10:14:00 +01:00
Emanuel Hoogeveen
2efb3493a7
Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8
2014-10-22 14:13:00 +02:00
Jed Davis
59573e5f85
Bug 1077057 - Expose Linux sandboxing information to JS via nsSystemInfo. r=kang r=froydnj
...
This adds "hasSeccompBPF" for seccomp-bpf support; other "has" keys
will be added in the future (e.g., user namespaces).
This also adds "canSandboxContent" and "canSandboxMedia", which are
absent if the corresponding type of sandboxing isn't enabled at build
type (or is disabled with environment variables), and otherwise present
as a boolean indicating whether that type of sandboxing is supported.
Currently this is always the same as hasSeccompBPF, but that could change
in the future.
Some changes have been made to the "mozilla/Sandbox.h" interface to
support this; the idea is that the MOZ_DISABLE_*_SANDBOX environment
variables should be equivalent to disabling MOZ_*_SANDBOX at build time.
2014-11-06 13:11:00 +01:00
Carsten "Tomcat" Book
13de0f42c9
Backed out 7 changesets (bug 1084651) for ASAN Bustage on a CLOSED TREE
...
Backed out changeset dd2b3e78b425 (bug 1084651)
Backed out changeset 2711fbd91819 (bug 1084651)
Backed out changeset 59a163addd79 (bug 1084651)
Backed out changeset d36f6dbbf925 (bug 1084651)
Backed out changeset 78102b62a4a0 (bug 1084651)
Backed out changeset 06387a2343a0 (bug 1084651)
Backed out changeset 2f8e7c39573e (bug 1084651)
2014-11-05 15:20:25 +01:00
Emanuel Hoogeveen
dd0cdda357
Bug 1084651 - Part 5: Simplify Cycle Collector logic now that SliceBudget makes more sense. r=mccr8
2014-10-21 11:54:00 +02:00
Emanuel Hoogeveen
f6218097c0
Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8
2014-10-22 14:13:00 +02:00
Steven Michaud
3c5c8c63c4
Bug 1091801 - fix inline assembly constraints; r=froydnj, a=Tomcat
2014-10-29 08:47:18 -04:00
Anuj Agarwal
d8d543d7b2
Bug 907327 - Added ErrorNames.h and ErrorNames.cpp. r=nfroyd
2014-10-20 13:09:00 +02:00
Carsten "Tomcat" Book
0c3d2acf16
Backed out changeset 3333c226a1d8 (bug 792989) for wrong commit number
2014-10-30 14:39:15 +01:00
Anuj Agarwal
78f9e5301b
Bug 792989 - Added ErrorNames.h and ErrorNames.cpp. r=nfroyd
2014-10-20 13:09:00 +02:00
Steven Michaud
0e5350ab35
Bug 997908 - crash in ReleaseSliceNow(unsigned int, void*) accessing memory at 0x5a5a5a5a5a5a5a5a, test patch. r=nfroyd
2014-10-29 21:50:29 -05:00
Paolo Amadini
e1e4b620e8
Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey
2014-10-28 12:08:19 +00:00
Panos Astithas
785bd0838e
Bug 1086936 part 2 - Add a flag to nsIAppStartup::quit that restarts the browser without using the same profile and use it for the Aurora UI switch. r=bsmedberg
2014-10-27 21:46:56 +02:00
Andrew McCreight
526df61329
Bug 1087799, part 3 - Do not include any JS things in the list of white nodes. r=smaug
...
Root() does not actually root JS things, so if some other class's Unlink() method ends
up calling the GC, whiteNodes will end up containing dead pointers. (This is safe right
now because the Unlink and Unroot methods do not do anything to JS things.) It is less
error prone to simply never store those pointers.
Also, add some asserts to enforce that we never call any of the white-object methods
for JS things.
2014-10-24 15:06:56 -07:00
Andrew McCreight
04f4e49d61
Bug 1087799, part 2 - Rename count to numWhiteNodes in nsCycleCollector::CollectWhite(). r=smaug
2014-10-24 15:06:56 -07:00
Andrew McCreight
14343f4a96
Bug 1087799, part 1 - Loosen the invariant in nsCycleCollector::FinishAnyCurrentCollection(). r=smaug
...
If an Unlink() method ends up running JS, it can cause a GC, which will make us reenter the CC,
which will not do anything because we're already in a CC. Therefore, FinishAnyCurrentCollection()
won't finish the CC. This is safe because the CC only touches things it actually holds alive via
the Root() method.
2014-10-24 15:06:55 -07:00
Nicholas Nethercote
e3513fb564
Bug 1087128 - Remove some "Leaky" remnants. r=glandium.
...
--HG--
extra : rebase_source : b73df80267960f44edb768ff1e2f14ab8134d308
2014-10-21 19:13:05 -07:00
Andrew McCreight
cc506c4751
Bug 727965 - Trigger CC_WAITING GCs based on number of freed JS objects and zones. r=smaug
2014-10-20 10:07:52 -07:00
Nicholas Nethercote
11f776f668
Bug 1044709 - Improve the comment describing the memory report file format. r=mccr8.
...
--HG--
extra : rebase_source : 41738a5a898c67f6dd4a41cbf0d877d85f3f4feb
2014-09-28 18:35:14 -07:00
Nicholas Nethercote
09a193e478
Bug 1044709 - DMD: emit JSON output and use Python for post-processing. r=mccr8.
...
--HG--
extra : rebase_source : ddc94d9be1ee0acc6dda30540defd5f40db0adcb
2014-09-02 20:34:58 -07:00
Nicholas Nethercote
94adb30f77
Bug 1062709 (part 2, attempt 2) - Clean up stack printing and fixing. r=dbaron.
...
--HG--
extra : rebase_source : 626fd23a14ec90cfc9807c3d555169ec6463d19d
2014-09-01 22:56:05 -07:00
Nicholas Nethercote
2eb56008e2
Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
...
--HG--
extra : rebase_source : 4f7060a9ae0bed180899651c50e8ea8857e72d63
2014-09-10 21:47:01 -07:00
Ed Morley
2d0f9579b5
Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs
2014-10-03 15:06:16 +01:00
Ed Morley
9e223d8a19
Backed out changeset 7a1b7d7eba12 (bug 1062709)
2014-10-03 15:05:26 +01:00
Nicholas Nethercote
5a257b83f9
Bug 1062709 (part 2) - Clean up stack printing and fixing. r=dbaron.
...
--HG--
extra : rebase_source : 18158d4474cb8826813a3866eba57b710e14db99
2014-09-01 22:56:05 -07:00
Nicholas Nethercote
c9c64de53c
Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
...
--HG--
extra : rebase_source : 0f9b2d6310433ed56f5552706fcf2a96571aee25
2014-09-10 21:47:01 -07:00
Cervantes Yu
f306f96f76
Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey
...
--HG--
extra : rebase_source : 5e2dedb855dd5e0e6637d6f42c80c69df8081971
2014-09-30 00:00:00 +08:00
Anuj Agarwal
2494ef253f
Bug 1071100 - Moved nsRefPtr from nsAutoPtr.h to a new nsRefPtr.h r=froydnj
2014-09-26 10:53:47 -07:00
Carsten "Tomcat" Book
293a55afc8
Backed out changeset 1e25cd3e8219 (bug 1051633) for B2G ICS Emulator Opt m4 test failures
2014-09-24 11:28:37 +02:00
Cervantes Yu
5d34df52be
Bug 1051633: Make sure magic file descriptors in the content process will not be taken for other uses. r=khuey
...
--HG--
extra : rebase_source : 2c9baf6ac87744d7049c90284990c0aa48e0f058
2014-08-15 17:19:05 +08:00
Eric Rahm
96463c70e7
Bug 1060171 - Part 3: Map log level to logcat level in ConsoleService. r=dhylands
2014-09-22 15:33:36 -07:00
Eric Rahm
83245fc00d
Bug 1060171 - Part 1: Add log levels to nsIConsoleMessage. r=froydnj
2014-09-22 15:32:21 -07:00
Ryan VanderMeulen
cae5eb937c
Merge m-c to inbound. a=merge
2014-09-22 15:51:51 -04:00
Eric Rahm
94ca85eb44
Bug 1069490 - Part 2: Add columnNumber to nsIStackFrame and set in JSStackFrame. r=bz
2014-09-22 11:28:31 -07:00
Vlatko Markovic
8818f4947f
Bug 1059216 - Verification of Trusted Hosted Apps manifest signature, part 1. r=dkeeler,rlb
2014-09-22 07:58:59 -07:00
Nick Thomas
8a362441f2
Bug 1063237, include android sdk version in FirefoxOS update requests, r=dhylands
2014-09-22 22:08:01 +12:00
Nicholas Nethercote
eb4d250262
Bug 1067711 (attempt 2) - Fix an assertion failure in the System memory reporter. r=erahm.
2014-09-17 18:23:33 -07:00
Carsten "Tomcat" Book
186ce26b02
Backed out changeset ba6a9e60d2c6 (bug 1067711) for XPCshell Test failures
2014-09-18 11:50:34 +02:00
Nicholas Nethercote
4a7eef6b52
Bug 1067711 - Fix an assertion failure in the System memory reporter. r=erahm.
...
--HG--
extra : rebase_source : 06fa4b0d706414901ce2475e987067d5cb4f0f6f
2014-09-17 18:23:33 -07:00
Nicholas Nethercote
273d7cc068
Bug 1067699 (part 2) - Add mfbt/JSONWriter.h and use it for memory reporting. r=froydnj.
...
--HG--
extra : rebase_source : 7eb21c4c20c0434b3b236d1c53cbef9cb6a4759c
2014-09-14 23:36:18 -07:00
Bill McCloskey
4735655406
Bug 1049275 - Don't use IPC for crash reporting after NS_ABORT (r=bsmedberg)
2014-09-12 11:44:38 -07:00
Nicholas Nethercote
28935b35cb
Bug 1065834 - Remove long-busted Solaris stack-walking code. r=froydnj.
2014-09-10 19:46:54 -07:00