Commit Graph

160 Commits

Author SHA1 Message Date
Luke Wagner
24ebb0ec95 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : f18561fff556332789e05623ab0cec2e7faacf78
2011-07-01 14:11:31 -07:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Alon Zakai
7a2a264e2d Bug 692305 - Make cycle collector dumps multiprocess-friendly. r=dougt 2011-10-06 13:22:43 -07:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Andrew McCreight
8455baa711 Bug 679779 - Add a #define to always log CC graph. r=bent 2011-08-17 10:35:40 -07:00
Andrew McCreight
49c706d2b5 Bug 649532 - make cycle collector logging output complete CC graph. r=peterv 2011-06-22 10:41:17 -07:00
Luke Wagner
87add7e577 Backed out changeset 0cf822d12c64 (and dependent be91fb29d950 and 53dd7a930bae) due to intermittent crashes
--HG--
extra : rebase_source : 9c96a4ac164ef8929591ef3d83ad6c974642557a
2011-08-15 17:21:23 -07:00
Luke Wagner
4263a80f79 Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin)
--HG--
extra : rebase_source : b20ddca63da88a8efe2f5dc06364785aebe8b9ea
2011-07-01 14:11:31 -07:00
Ehsan Akhgari
e48161b8ff Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking 2011-08-10 01:36:00 -04:00
Andrew McCreight
75e9df8a09 Bug 658672 - Reduce size of cycle collector node and edge blocks. r=peterv 2011-06-17 16:19:41 -07:00
Andrew McCreight
cf9fbb4c46 Bug 665995 - Memory reporter for cycle collector. r=bent 2011-07-08 15:49:31 -07:00
Andrew McCreight
55cc0fa2b0 Bug 663920 - add telemetry for num of RCed and GCed nodes, and num collected. r=bent 2011-06-10 13:33:06 -07:00
Andrew McCreight
4c9425df02 Bug 665044 - lift CC GC outside of the CCRunner mutex. r=bent 2011-06-21 15:06:42 -07:00
Andrew McCreight
8795ae8744 Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent 2011-06-23 14:10:52 -07:00
Ehsan Akhgari
d71311ff57 Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
continuation@gmail.com
4508cf0dbb Bug 664506 - Do all of the shutdown GCs in the cycle collector. r=bent
--HG--
extra : rebase_source : d588e910abe9404253c222c81abb25e0bae8fe7a
2011-06-15 15:53:00 -07:00
Taras Glek
1513a94ec9 bug 661574: Implement telemetry directory r=Mossop+glandium+mwu 2011-06-20 14:47:58 -07:00
Andrew McCreight
754c52bb6f Bug 663532 - Run GC from cycle collector in main thread, not CC thread. r=bent 2011-06-13 13:24:23 -07:00
Andrew McCreight
48af6523de Bug 658386 - part 2: eliminate redundant stores of PtrInfo child pointers. r=peterv
--HG--
extra : rebase_source : 34b01a7e2a05a7ea35da408a20b5e97f21681af3
2011-06-09 14:55:29 -07:00
Andrew McCreight
72ae723faf Bug 658386 - part 1: eliminate mLastChild field from PtrInfo. r=peterv
--HG--
extra : rebase_source : d4b6b71ae273b4b570591d6548cfaed559598d49
2011-06-09 14:55:04 -07:00
Bill McCloskey
f7c5d49018 Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal) 2011-06-03 13:08:21 -07:00
Taras Glek
45485fa46e bug 585196: Cycle-collector telemetry probe r=bent 2011-05-12 11:22:25 -07:00
Chris Leary
e9c15c147e Merge mozilla-central to tracemonkey. 2011-05-09 14:27:44 -07:00
Andrew McCreight
5d31eb0d55 Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Ed Morley
aa86759d37 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
L. David Baron
ef7750436c Make XPCOM_CC_DRAW_GRAPHS work at shutdown (in addition to working for non-shutdown collections). (Bug 652056, patch 3) r=peterv 2011-05-02 18:43:45 -07:00
Chris Leary
329e16e64e Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Luke Wagner
5954356511 Remove implicit cycle-collector dependency on XPConnect lazy initialization broken by 59705c13d959 (rs=peterv) 2011-04-07 16:53:33 -07:00
Andrew McCreight
ff37de748d Bug 641910. Don't add non-grey nodes to the cycle collector model graph. r=gal@uci.edu 2011-03-28 13:05:48 -07:00
Peter Van der Beken
cab0250f9d Fix for bug 584048 (Clean up cycle collection code) - merge RootWhite and CollectWhite. r=bent. 2011-03-06 12:11:31 +01:00
Peter Van der Beken
5e9f7069fe Fix for bug 584048 (Clean up cycle collection code) - rename RootAndUnlinkJSObjects to Root. r=bent. 2010-12-16 16:30:13 +01:00
Peter Van der Beken
5b1dbd07be Fix for bug 603844 (Leak txUnknownHandler+ with transformToDocument(textnode)). r=sicking. 2010-12-02 11:12:27 -05:00
bent.mozilla@gmail.com
5e450f9830 Only run CC after the GC has run at least once (bug 626768, r=gal). a=blocker 2011-02-23 00:08:36 -08:00
Ginn Chen
64f0f08dc4 Bug 633457 - "Firefox hangs at startup" (r=bent, a=hardblocker) 2011-02-11 20:49:00 -08:00
Olli Pettay
4835783840 Bug 634916 - Crash on shutdown [@ nsCycleCollector_collect] in DEBUG_CC code, r=peterv, a=NPOTB 2011-02-17 19:50:53 +02:00
bent.mozilla@gmail.com
44d355203f Fix DEBUG_CC (bug 615058, r=gal, a=NPOTB). 2011-02-09 17:34:22 -08:00
Peter Van der Beken
25c2cf795b Fix DEBUG_CC build bustage. a=build bustage.
--HG--
extra : rebase_source : 5059f7704b2833c797aff4bb187402d9700c985b
2011-01-17 12:24:51 +01:00
Peter Van der Beken
9e2691dd4c Fix orange from 77979cd6890d. a=bustage fix. 2011-01-14 15:51:43 +01:00
Peter Van der Beken
4af1d3767d Fix for bug 621258 (Don't refcount CC listeners on the CC thread). r=bent, a=jst.
--HG--
extra : rebase_source : fa0c79fb25b9120ffe25da60249c8d07aaa0228f
2011-01-14 11:06:09 +01:00
Ben Turner
fca93ac512 Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst 2010-11-11 14:52:30 -08:00
Igor Bukanov
b8792e95c1 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Robert O'Callahan
b096738cb6 Fix for bug 466157 (Enable dumping of cycle-collector graphs in any build). r=dbaron, a=jst.
--HG--
extra : rebase_source : b47d149434c735981a9a80ae6016624120fee371
2010-08-12 12:03:23 +12:00
Dão Gottwald
9389a17efd Backed out changeset a27043cd19ff 2010-08-18 09:46:54 +02:00
Robert O'Callahan
3ea434fa14 Bug 497808. Enable dumping of cycle-collector graphs in any debug build. r=peterv,a=blocking 2010-08-12 12:03:23 +12:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Peter Van der Beken
75d7cd044e Back out debugging code for bug 500105. 2010-07-30 11:57:19 +02:00
Andreas Gal
c8091508b9 Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00