gecko-dev/dom/ipc
Nicholas Nethercote 1455a7fc09 Bug 1414150 - Remove the "memory.low_*" prefs. r=erahm,dmajor.
There's no good reason why these should't just be constants. The patch also
appends "MiB" to some of the C++ values to make their meaning clearer.

This patch fixes one outright bug, and one inconsistency.

The bug is due to a prefname mismatch:

- ContentPrefs.cpp and AvailableMemoryTracker.cpp use
  "memory.low_virtual_mem_threshold_mb".

- all.js uses "memory.low_virtual_memory_threshold_mb".

Which means that "memory.low_virtual_memory_threshold_mb" showed up in
about:config, but if you changed it nothing would happen because the callback
listened for changes to to "memory.low_virtual_mem_threshold_mb"!

Now for the inconsistency. The above means we actually use a value of 256 for
the virtual memory threshold, even though all.js says 128. But we *do* use a
value of 128 for the commit space threshold, because that's what all.js says
and that prefname is used correctly everywhere. The patch changes the commit
space threshold to 256 for consistency with the virtual memory threshold.

What a mess!

--HG--
extra : rebase_source : d3842c732efa9ab0e90eeb6a4f341aeb289589ed
2017-11-08 07:49:46 +11:00
..
tests bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter 2017-10-30 10:47:39 -04:00
CPOWManagerGetter.h
CoalescedInputData.h Bug 1407700 Part1: Revise CoalescedInputData interfaces. r=smaug. 2017-10-12 11:22:36 +08:00
CoalescedMouseData.cpp Bug 1407700 Part2: Handle the case to re-entry event loop for mousemove coalescing. r=smaug. 2017-10-12 09:05:40 +08:00
CoalescedMouseData.h Bug 1404273 - [Pointer Event] Coalescing mousemove for different pointers. r=smaug. 2017-09-20 11:57:56 +08:00
CoalescedWheelData.cpp Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
CoalescedWheelData.h Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
ColorPickerParent.cpp
ColorPickerParent.h
ContentBridgeChild.cpp Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentBridgeChild.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentBridgeParent.cpp Backed out changeset 46d8f42863af (bug 1351148) 2017-08-11 15:19:44 +08:00
ContentBridgeParent.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentChild.cpp Bug 1413606 P2 Add IPC actor structure and boilerplate. r=baku 2017-11-01 13:19:38 -04:00
ContentChild.h Bug 1413606 P2 Add IPC actor structure and boilerplate. r=baku 2017-11-01 13:19:38 -04:00
ContentParent.cpp Bug 1413011 - Allow the UI/chrome process to shutdown if the compositor thread failed to start. r=dvander 2017-11-06 17:51:48 -05:00
ContentParent.h Bug 1413606 P2 Add IPC actor structure and boilerplate. r=baku 2017-11-01 13:19:38 -04:00
ContentPrefs.cpp Bug 1414150 - Remove the "memory.low_*" prefs. r=erahm,dmajor. 2017-11-08 07:49:46 +11:00
ContentPrefs.h Bug 1356414 - Add comment explaining the purpose of ContentPrefs.cpp (NPOTB, DONTBUILD) 2017-04-13 15:20:44 -07:00
ContentProcess.cpp Bug 1394176 - Use default values for scheduler prefs if the parent process didn't send any. r=billm 2017-08-29 10:30:03 -07:00
ContentProcess.h bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
ContentProcessManager.cpp Bug 558184 - Part 7 - Keep track of the content parent that opened a tab so that ContentProcessManager::GetTopLevelTabParent can walk up to the top level tab parent for a JS plugin tab child. r=kanru. 2017-01-16 21:15:11 +01:00
ContentProcessManager.h Bug 558184 - Part 7 - Keep track of the content parent that opened a tab so that ContentProcessManager::GetTopLevelTabParent can walk up to the top level tab parent for a JS plugin tab child. r=kanru. 2017-01-16 21:15:11 +01:00
DOMTypes.ipdlh Bug 1343728 - Part 4: Remove the window creation sync IPC calls, r=billm, r=smaug 2017-06-28 12:25:30 -04:00
FilePickerParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
FilePickerParent.h Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
IdType.h
MemoryReportRequest.cpp Add GPU process support to nsMemoryReportingManager. (bug 1321492 part 7, r=erahm) 2017-01-26 16:35:55 -08:00
MemoryReportRequest.h Remove PMemoryReportRequest. (bug 1321492 part 3, r=erahm) 2017-01-26 16:35:54 -08:00
MemoryReportTypes.ipdlh Move MaybeFileDesc out of PContent and into an IPDL header. (bug 1321492 part 5, r=erahm) 2017-01-26 16:35:54 -08:00
PBrowser.ipdl Backed out changeset 71790f0ea832 (bug 967895) 2017-10-09 19:18:12 +02:00
PBrowserOrId.ipdlh
PColorPicker.ipdl
PContent.ipdl Bug 1413606 P2 Add IPC actor structure and boilerplate. r=baku 2017-11-01 13:19:38 -04:00
PContentBridge.ipdl Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
PContentPermission.ipdlh
PContentPermissionRequest.ipdl
PCycleCollectWithLogs.ipdl
PDocumentRenderer.ipdl
PFilePicker.ipdl Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
PPluginWidget.ipdl Backed out 5 changesets (bug 1338172) for linux crashtest failures a=backout 2017-02-14 14:31:54 -08:00
PProcessHangMonitor.ipdl Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm 2017-08-17 20:17:51 -07:00
PTabContext.ipdlh Bug 558184 - Part 8 - Load js plugins in a separate process. r=billm. 2017-05-29 12:38:46 +02:00
PURLClassifier.ipdl Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
PURLClassifierInfo.ipdlh Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
PURLClassifierLocal.ipdl Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
PermissionMessageUtils.cpp
PermissionMessageUtils.h
PreallocatedProcessManager.cpp Bug 1363601 - Let the ContentParent destroy the preallocated process during shutdown. r=mrbkap 2017-08-08 13:32:57 +02:00
PreallocatedProcessManager.h Bug 1373660 - Block the preallocated process manager while a content process is being launched. r=mrbkap 2017-07-11 17:30:08 +02:00
ProcessHangMonitor.cpp Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm 2017-08-17 20:17:51 -07:00
ProcessHangMonitor.h Bug 1393230 - Part 1: Remove remaining string forward declarations. r=njn 2017-08-23 16:27:16 -07:00
ProcessHangMonitorIPC.h
ProcessPriorityManager.cpp Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn 2017-10-15 23:15:40 -07:00
ProcessPriorityManager.h Bug 1366356 - Decrease the process priority of content processes that are not running a foreground tab - part 1 - visibility logic, r=smaug 2017-06-07 09:59:00 +02:00
ServiceWorkerConfiguration.ipdlh
StructuredCloneData.cpp Bug 1353629 - PBlob refactoring - part 3 - IPCBlob in ClonedMessageData, r=smaug 2017-04-24 12:09:40 +02:00
StructuredCloneData.h Bug 1353629 - PBlob refactoring - part 3 - IPCBlob in ClonedMessageData, r=smaug 2017-04-24 12:09:40 +02:00
TabChild.cpp Bug 1390741 - Use BasicCompositor if widget type does not support acceleration r=aosmond,kats 2017-11-03 16:38:34 +09:00
TabChild.h Bug 1390741 - Use BasicCompositor if widget type does not support acceleration r=aosmond,kats 2017-11-03 16:38:34 +09:00
TabContext.cpp Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
TabContext.h Bug 558184 - Part 8 - Load js plugins in a separate process. r=billm. 2017-05-29 12:38:46 +02:00
TabMessageUtils.cpp
TabMessageUtils.h Bug 1388236 - Remove B2G-only AudioChannel code from dom/ipc. r=jwwang 2017-08-10 13:00:09 +12:00
TabParent.cpp Bug 1340415 - Ensure main-thread and async autoscrolling do not happen at the same time. r=kats 2017-10-18 18:18:13 -04:00
TabParent.h Bug 1390445 - Fix select popup positioning for oop extensions options_ui pages. r=billm,kats,kmag 2017-09-20 20:03:58 +02:00
TelemetryScrollProbe.cpp Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz 2017-05-08 15:49:31 +02:00
TelemetryScrollProbe.h Bug 1340904 - Implement telemetry scroll tracking in C++ r=smaug 2017-03-02 00:51:40 -05:00
URLClassifierChild.h Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
URLClassifierParent.cpp Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
URLClassifierParent.h Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
jar.mn
manifestMessages.js Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
moz.build Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
nsIContentChild.cpp Bug 1405541 (attempt 2) - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange. 2017-10-13 16:12:57 +11:00
nsIContentChild.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
nsIContentParent.cpp Bug 1405541 (attempt 2) - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange. 2017-10-13 16:12:57 +11:00
nsIContentParent.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
nsIHangReport.idl Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm 2017-08-17 20:17:51 -07:00
remote-test.js Bug 1389650 - Change nsIDOMHTMLAnchorElement instanceof checks to getClassName; r=bz 2017-09-26 11:40:15 -07:00
test.xul