Commit Graph

30 Commits

Author SHA1 Message Date
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