mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
0f6f582170
This has a few semi-interdependent pieces: * Factoring out the file opening/closing/renaming from the GC/CC logging. * Using IPC to have the child log to files that the parent opened. * Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion of child process logging (which was impossible before this, and which is needed to have a meaningful test case). * Changing about:memory to dump logs for child processes, matching the behavior of the "Measure" button, because it can tell the user where they are now. * Add a test for multiprocess GC/CC log dumping (only of the XPCOM interface, not by clicking buttons and scraping the about:memory page, but done as a chrome mochitest to start remote browsers); based on test_memoryReporters2.xul in the same directory.
23 lines
478 B
Plaintext
23 lines
478 B
Plaintext
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
include protocol PContent;
|
|
|
|
namespace mozilla {
|
|
namespace dom {
|
|
|
|
protocol PCycleCollectWithLogs {
|
|
manager PContent;
|
|
|
|
parent:
|
|
CloseGCLog();
|
|
CloseCCLog();
|
|
|
|
__delete__();
|
|
};
|
|
|
|
}
|
|
}
|