Commit Graph

195 Commits

Author SHA1 Message Date
Nicholas Nethercote
ccbe256842 Bug 805915 (part 2) - Add more detail to object memory reports. r=luke. 2012-10-29 08:51:21 +11:00
Nicholas Nethercote
df627fb1d3 Bug 805915 (part 1) - Rename the "cross-compartment-wrappers" memory report. r=luke. 2012-10-29 08:51:21 +11:00
Justin Lebar
ef2876f3f7 Bug 801780 - Part 2: Explicitly call out long strings in about:memory. r=njn 2012-10-17 10:44:31 -04:00
Justin Lebar
d685dc8b79 Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-12 10:26:06 -04:00
Ehsan Akhgari
b67a1df35a Backout bug 798510 because of xpcshell orange 2012-10-11 20:17:33 -04:00
Justin Lebar
deec3b67b6 Bug 798510 - Part 1: Use mincore to correctly calculate js::StackSpace::sizeOfCommitted() on *nix. r=luke,njn
Previously, we assumed all memory was committed, thus vastly overstating the memory used by our stack.
2012-10-11 18:55:53 -04:00
Nicholas Nethercote
60d7b17789 Bug 799019 - Tweak per-compartment memory reporting. r=Ms2ger. 2012-10-08 15:20:26 -07:00
Nicholas Nethercote
9379a5ea08 Bug 747202 - Separate and clean up JaegerMonkey's and IonMonkey's memory reporting. r=dvander. 2012-09-19 18:16:49 -07:00
Benjamin Peterson
3176b95c86 Bug 761723 - Add memory reporting for script sources. r=njn 2012-07-20 20:18:08 +02:00
Andrew McCreight
c5b20d9425 Bug 704623 - Track memory used by orphan DOM nodes. code=mccr8,njn. r=njn,mccr8. 2012-04-20 14:01:33 +10:00
Nicholas Nethercote
b11348dae9 Bug 687724 (part 3) - Report JS memory consumption for compartments that are associated with |window| objects under "window-objects". r=bholley,jlebar,luke. 2012-07-05 21:12:37 -07:00
Nicholas Nethercote
7560793c1d Bug 711130 (part 6) - Improve the measurement of decommitted GC memory. r=terrence. 2012-06-25 17:09:00 -07:00
Nicholas Nethercote
f394c96514 Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence. 2012-06-25 17:08:59 -07:00
Nicholas Nethercote
4c29661c89 Bug 711130 (part 3) - Use consistent names for reports of unused JS memory. r=terrence. 2012-06-25 17:06:50 -07:00
Nicholas Nethercote
d58d8873c4 Bug 711130 (part 2) - Merge "arena/unused" and "arena/padding" into "arena-admin". r=terrence. 2012-06-25 17:06:50 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nicholas Nethercote
2fd3d99d18 Bug 755581 - Follow-up: replace js::RuntimeSizes with JS::RuntimeSizes. r=luke. 2012-05-17 17:08:57 -07:00
Jason Orendorff
ddf5016734 Bug 756260 - Fix up building without JS_HAS_XML_SUPPORT, again. r=terrence. 2012-05-17 16:24:32 -05:00
Nicholas Nethercote
8a6896624c Bug 755581 (part 5) - Add "cross-compartment-wrappers" reporter. r=luke. 2012-05-15 19:31:01 -07:00
Nicholas Nethercote
2e45d281a1 Bug 755581 (part 4) - Add "math-cache", "script-filenames" and "compartment-objects" reporters. r=luke. 2012-05-15 19:30:28 -07:00
Nicholas Nethercote
280be218f8 Bug 755581 (part 3) - Clean up JSRuntime::sizeOfIncludingThis(). r=luke. 2012-05-15 19:29:14 -07:00
Nicholas Nethercote
8fdca90cc1 Bug 755581 (part 2) - Change "runtime/normal" reporter to "runtime/dtoa". r=luke. 2012-05-15 19:28:31 -07:00
Luke Wagner
40af87f55f Bug 720753 - hoist JaegerCompartment and MathCache from JSCompartment into JSRuntime (r=bhackett,njn) 2012-05-03 09:12:47 +02:00
Justin Lebar
7a63940fb8 Bug 748440 - Part 1: Add heap-committed-unused and heap-committed-unused-ratio memory reporters, and rename some JS memory reporters to match. Also add back the js-gc-heap memory reporter. r=njn 2012-04-30 14:27:15 -04:00
Justin Lebar
c64bb7da53 Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 12:20:54 +10:00
Justin Lebar
89d7d3d733 Back out changeset 21f34fdd64a3 (bug 741378) because it breaks telemetry. r=me 2012-04-16 11:34:00 +10:00
Justin Lebar
f582eb7cb1 Bug 741378 - Rejigger the js memory reporters to match jemalloc's. r=njn 2012-04-16 11:17:26 +10:00
Igor Bukanov
4797d46af3 bug 728250 - remove JSPrincipals::codebase. r=:luke,:bz
In just 2 cases where JSPrincipals::codebase is used it can be reconstructed from the values stored in the associated nsJSPrincipal. In addition the patch makes nsJSprincipals to inherit both from nsIPrincipal and JSPrincipals allowing to use static_cast to convert between nsIPrincipal and JSPrincipals pointers and to drop many cases of manual JSPrincipal reference counting.
2012-03-09 10:48:50 +01:00
Igor Bukanov
60f82b2508 Bug 731618 - remove JSContext * parameter from heap iteration API. r=:Billm 2012-02-29 21:23:53 +01:00
Nicholas Nethercote
47fa6f0940 Bug 729403 (part 2, take 2) - Add js/runtime/gc-marker memory reporter. r=wmccloskey. 2012-02-26 20:20:15 -08:00
Phil Ringnalda
33794b8857 Back out a7255af10a2a and da193f5b526b (bug 729403) for xpcshell assertions in test_TelemetryPing.js 2012-02-26 18:39:06 -08:00
Nicholas Nethercote
32fa9ce421 Bug 729403 (part 2) - Add js/runtime/gc-marker memory reporter. r=wmccloskey. 2012-02-21 21:43:45 -08:00
Nicholas Nethercote
e29757d170 Bug 722595 - Add memory reporters for misc things hanging off JS objects. r=bhackett. 2012-01-30 18:12:03 -08:00
Nicholas Nethercote
cb3ee19a9d Bug 721628 (part 5) - Use size_t instead of int64_t in some JS memory reporting structs. r=luke. 2012-01-29 14:13:18 -08:00
Nicholas Nethercote
4972c25780 Bug 721628 (part 4) - Use better names for various JS memory reporting things. r=Ms2ger. 2012-01-29 14:11:32 -08:00
Nicholas Nethercote
7863ce27c6 Bug 721628 (part 3) - Rename several size type-inference-related measurement functions and types. r=bhackett. 2012-01-26 19:09:31 -08:00
Nicholas Nethercote
c051d52ea3 Bug 720219 (part 5) - Clean up JS type object measurement. r=bhackett. 2012-01-23 15:50:59 -08:00
Nicholas Nethercote
7673bba9bc Bug 720219 (part 1) - Clean up JS object measurement. r=bhackett. 2012-01-23 15:35:37 -08:00
Luke Wagner
afdd78c326 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8) 2011-07-18 14:54:48 -07:00
Matt Brubeck
5491d5a546 Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures 2012-01-24 17:32:30 -08:00
Luke Wagner
9912c99d35 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor) 2011-07-18 14:54:48 -07:00
Brian Hackett
3514ab5707 Fix non-threadsafe builds, no bug. r=jorendorff 2012-01-11 08:21:26 -08:00
Ms2ger
e1f03a5b25 Bug 714264 - Part c: Move IterateData / CollectCompartmentStatsForRuntime / GetExplicitNonHeapForRuntime to js/MemoryMetrics.h; r=njn
This patch also removes those APIs exposed in js/MemoryMetrics.h that aren't
used anymore.
2012-01-11 09:23:08 +01:00
Ms2ger
8721cb4b4a Bug 714264 - Part b: Move CompartmentStats to MemoryMetrics.h; r=njn
The name member is implemented as a void*, because it needs to remain an
nsCString, and as such the logic to get the name also remains in XPConnect.
2012-01-11 09:23:08 +01:00
Ms2ger
aa4f1fce2c Bug 692277 - Part a: Introduce an unstable public API for JS memory measurements to be used in XPCJSRuntime; r=njn sr=dmandelin 2011-12-24 09:27:39 +01:00