Commit Graph

188 Commits

Author SHA1 Message Date
Andrew McCreight
a7db681e24 Bug 668855, part 5: scan weak maps. r=gal 2011-11-24 07:35:57 -05:00
Andrew McCreight
7b8e4217ee Bug 668855, part 4: store weak map info in CC data structure. r=gal 2011-11-24 07:35:56 -05:00
Andrew McCreight
ba739a8e81 Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv 2011-11-24 07:35:56 -05:00
Andrew McCreight
a3a3456720 Bug 694436 - begin CC listener before BeginCollection. r=bent 2011-10-13 17:37:18 -07:00
Olli Pettay
1ee8038765 Bug 702240 - [CC] Optimize sizeof nsPurpleBuffer::Block, r=mccr8 2011-11-14 18:10:06 +02:00
Luke Wagner
9cd47c906a Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin) 2011-07-01 14:11:31 -07:00
Ehsan Akhgari
478ad1a412 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
7d613942b0 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 2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Alon Zakai
9b5b139517 Bug 692305 - Make cycle collector dumps multiprocess-friendly. r=dougt 2011-10-06 13:22:43 -07:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Andrew McCreight
ff90f2d51e Bug 679779 - Add a #define to always log CC graph. r=bent 2011-08-17 10:35:40 -07:00
Andrew McCreight
537798d8c3 Bug 649532 - make cycle collector logging output complete CC graph. r=peterv 2011-06-22 10:41:17 -07:00
Luke Wagner
18e6fcb21c Backed out changeset 0cf822d12c64 (and dependent be91fb29d950 and 53dd7a930bae) due to intermittent crashes 2011-08-15 17:21:23 -07:00
Luke Wagner
d1a28b2c3e Bug 650411 - assert in debug/release builds that JSRuntime is only used in a single-threaded manner (r=jorendorff,sr=dmandelin) 2011-07-01 14:11:31 -07:00
Ehsan Akhgari
03f689dea6 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
c431646d07 Bug 658672 - Reduce size of cycle collector node and edge blocks. r=peterv 2011-06-17 16:19:41 -07:00
Andrew McCreight
93a163ab7c Bug 665995 - Memory reporter for cycle collector. r=bent 2011-07-08 15:49:31 -07:00
Andrew McCreight
609d790edd 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
eb6691993f Bug 665044 - lift CC GC outside of the CCRunner mutex. r=bent 2011-06-21 15:06:42 -07:00
Andrew McCreight
d18144419c Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent 2011-06-23 14:10:52 -07:00
Ehsan Akhgari
2ed718541b Merge mozilla-central into mozilla-inbound 2011-06-20 23:42:45 -04:00
f0497bfb3d Bug 664506 - Do all of the shutdown GCs in the cycle collector. r=bent 2011-06-15 15:53:00 -07:00
Taras Glek
9af6792aa0 bug 661574: Implement telemetry directory r=Mossop+glandium+mwu 2011-06-20 14:47:58 -07:00
Andrew McCreight
e1991a32ac 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
ba91388dc0 Bug 658386 - part 2: eliminate redundant stores of PtrInfo child pointers. r=peterv 2011-06-09 14:55:29 -07:00
Andrew McCreight
ef8d4dab30 Bug 658386 - part 1: eliminate mLastChild field from PtrInfo. r=peterv 2011-06-09 14:55:04 -07:00
Bill McCloskey
42f7d0cdaa Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal) 2011-06-03 13:08:21 -07:00
Taras Glek
832f63924e bug 585196: Cycle-collector telemetry probe r=bent 2011-05-12 11:22:25 -07:00
Chris Leary
0bebe8bc38 Merge mozilla-central to tracemonkey. 2011-05-09 14:27:44 -07:00
Andrew McCreight
2d3721cfe5 Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal) 2011-05-04 09:26:44 -07:00
Ed Morley
49398a0b56 Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg 2011-05-01 20:59:24 +02:00
L. David Baron
e97055757b 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
1aa7992265 Merge mozilla-central to tracemonkey. 2011-04-11 16:54:01 -07:00
Luke Wagner
ce952e43a4 Remove implicit cycle-collector dependency on XPConnect lazy initialization broken by 59705c13d959 (rs=peterv) 2011-04-07 16:53:33 -07:00
Andrew McCreight
462b86035b 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
f65130dbf8 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
71104bc8ab 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
c1911eab14 Fix for bug 603844 (Leak txUnknownHandler+ with transformToDocument(textnode)). r=sicking. 2010-12-02 11:12:27 -05:00
74ce132e00 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
72935bfd84 Bug 633457 - "Firefox hangs at startup" (r=bent, a=hardblocker) 2011-02-11 20:49:00 -08:00
Olli Pettay
1929dd3b1e Bug 634916 - Crash on shutdown [@ nsCycleCollector_collect] in DEBUG_CC code, r=peterv, a=NPOTB 2011-02-17 19:50:53 +02:00
3459b4539e Fix DEBUG_CC (bug 615058, r=gal, a=NPOTB). 2011-02-09 17:34:22 -08:00
Peter Van der Beken
802b363357 Fix DEBUG_CC build bustage. a=build bustage. 2011-01-17 12:24:51 +01:00
Peter Van der Beken
485d7d63d6 Fix orange from 77979cd6890d. a=bustage fix. 2011-01-14 15:51:43 +01:00
Peter Van der Beken
21303962b9 Fix for bug 621258 (Don't refcount CC listeners on the CC thread). r=bent, a=jst. 2011-01-14 11:06:09 +01:00
Ben Turner
36503991ce Bug 580096 - 'move the cycle collector off the main thread'. r=peterv+jst 2010-11-11 14:52:30 -08:00
Igor Bukanov
7d3ba2fbb2 bug 597736 - fixing TreeFragment leak. r=gal 2010-09-21 14:58:19 +02:00
Robert O'Callahan
0b967c5cd5 Fix for bug 466157 (Enable dumping of cycle-collector graphs in any build). r=dbaron, a=jst. 2010-08-12 12:03:23 +12:00