Commit Graph

314 Commits

Author SHA1 Message Date
Andreas Gal
6e29637654 export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me). 2010-04-28 17:17:34 -07:00
Igor Bukanov
fd7877710b bug 561539 - renaming AutoSaveRestoreWealRoots into AutoPreserveWeakRoots. r=brendan 2010-04-28 14:34:02 +02:00
Mike Moening
6531928c72 Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander 2010-04-27 14:17:11 -07:00
Jason Orendorff
4dd095ebe7 Fix build breakage in non-threadsafe JS shell. rs=brendan on IRC.
--HG--
extra : rebase_source : e4320a71553033d06f5e8ffa62a9798db9bef3e1
2010-04-27 14:40:28 -05:00
Igor Bukanov
63f9c2e3d5 bug 553033 - replacing the background free list with a vector. r=jwalden 2010-04-27 15:46:24 +02:00
Dan Witte
fdcf03a939 Backing out due to bustage. 2010-04-26 15:16:05 -07:00
Mike Moening
b37862b231 Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander 2010-04-26 14:15:18 -07:00
Igor Bukanov
45a0a3043e bug 560471 - followup to fix restoration of weak roots 2010-04-24 20:35:50 +02:00
Igor Bukanov
d14ffdc7bb bug 560471 - remove GC_LAST_DITCH and GC_KEEP_ATOMS. r=jorendorff 2010-04-24 00:15:42 +02:00
Igor Bukanov
8a04b0f372 bug 559141 - replacing GC chunk doubly linked list with js::vector. r=gal 2010-04-23 08:58:44 +02:00
David Anderson
ab155f0037 Renamed InterpState to TracerState (bug 560988, r=luke). 2010-04-22 11:54:11 -07:00
Jason Orendorff
b09c08d4fc Bug 553671 part 12 - Handle GC_KEEP_ATOMS more directly. r=brendan.
--HG--
extra : rebase_source : 8540b1e79bf1c187e59cadd7cced1b2e16b8d31d
2010-04-22 07:38:05 -05:00
Jason Orendorff
9f2ca7c221 Bug 553671 part 11 - Refactor GCTIMER to disrupt the flow of js_GC less. r=luke.
--HG--
extra : rebase_source : 2e407cc3bd6798e15c42b25f744fd1d0b6146046
2010-04-22 07:35:21 -05:00
Jason Orendorff
e3724fb9c0 Bug 553671 part 10 - Get rid of "goto restart_at_beginning;". r=luke.
--HG--
extra : rebase_source : 9d0128640af7d366133d59fed9c21160078ba5ca
2010-04-22 07:34:28 -05:00
Jason Orendorff
ac7bf3b598 Bug 553671 part 9 - Extract ProcessAllSetSlotRequests from js_GC. r=Waldo.
--HG--
extra : rebase_source : 920c2465f4a498d679b89811b0969e4cd6674580
2010-04-22 07:32:13 -05:00
Jason Orendorff
e6c90916d4 Bug 553671 part 8 - Reimplement promotion of GC_SET_SLOT_REQUEST to GC_LOCK_HELD and get rid of "goto done_running;". r=brendan.
--HG--
extra : rebase_source : ce19741b5ea204b6f11e55e66a47363e9577caf3
2010-04-22 07:31:05 -05:00
Jason Orendorff
9dbcfca307 Bug 553671 part 7 - Extract BeginGCSession and EndGCSession from js_GC. r=brendan.
--HG--
extra : rebase_source : dbb134d66d403bf5665b94a5ab03ff86d681fb73
2010-04-22 07:31:00 -05:00
David Anderson
e87d0a0586 Backed out changeset 4a28bd424400 (tinderbox red). 2010-04-21 16:30:06 -07:00
Mike Moenig
c846c95336 Support custom allocators (bug 549532 relanding, r=dvander). 2010-04-21 13:59:33 -07:00
Mike Moening
061831a072 Bug 559067 - Silence MSVC warnings in js/src. r=jorendorff 2010-04-16 16:00:51 -05:00
Gregor Wagner
e0651262d2 Bug 559113 - Fix dangling FILE pointer in GCMETER code. r=jorendorff. 2010-04-16 15:54:56 -05:00
Gregor Wagner
fb425ba8b2 Bug 541140 - TM: don't return GCChunks immediately 2010-04-13 20:14:10 -07:00
Robert Sayre
8b637950c5 Merge 2010-04-13 18:16:05 -04:00
Robert Sayre
ec12d7736d Backed out changeset c9faf5a2bc75 2010-04-13 18:15:20 -04:00
Gregor Wagner
e3ae3c2ec6 Bug 558833 - Fix GCTIMER for SweepDoubles. r=jorendorff.
--HG--
extra : rebase_source : 7492dd5a7bbed917ad4177685631ea1163193579
2010-04-13 08:58:40 -05:00
Mike Moenig
7cb366214a [JAEGER] Allow custom memory allocator use in spidermonkey (bug 549532, r=dvander). 2010-04-12 18:51:25 -07:00
Igor Bukanov
7004c9a4b7 bug 553812 - separate GC arena info and mark bits from the arena. r=gal,anygregor 2010-04-13 00:59:19 +04:00
Igor Bukanov
bdc96d2b1a Backed out changeset 47532d9153cb - xpcshell failures 2010-04-12 23:42:45 +04:00
Igor Bukanov
91e9546ca9 bug 553812 - separate GC arena info and mark bits from the arena. r=gal,anygregor 2010-04-12 21:15:30 +04:00
Andreas Gal
f39c969eaa Remove gcIteratorTable (557914, r=brendan). 2010-04-10 16:08:14 -07:00
Luke Wagner
777b935aea Bug 558144 - un-macroize OBJ_SCOPE, OBJ_SHAPE, LOCKED_OBJ_SET_SLOT, LOCKED_OBJ_GET_SLOT (r=Waldo) 2010-04-08 11:22:04 -07:00
Jason Orendorff
741bacca43 Bug 553671 part 6 - Rewrite GCUntilDone() to get rid of the goto. r=gal.
--HG--
extra : rebase_source : f571c42ad8661e1a0f5be6042eafea33f507dc44
2010-04-08 08:03:08 -05:00
Jason Orendorff
d1526f1df5 Bug 553671 part 5 - Extract GCUntilDone() from js_GC(). r=gal.
--HG--
extra : rebase_source : 1356bdf760348479248284dd90eb8535895af8f9
2010-04-08 08:01:21 -05:00
Jason Orendorff
08bfa47c56 Bug 553671 part 4 - RAII for JS_{LOCK,UNLOCK}_GC and JS_{KEEP,UNKEEP}_ATOMS. r=luke.
--HG--
extra : rebase_source : dfdfcdd3a602e12de1836068e2c9f16fce46d7b2
2010-04-08 07:54:18 -05:00
Jason Orendorff
42ab1dd2de Bug 553671 part 3 - extract FireGCBegin() and FireGCEnd() from js_GC(). r=jwalden.
--HG--
extra : rebase_source : 795a278471c339f74691a335ccfcd7042042732b
2010-04-08 07:54:18 -05:00
Jason Orendorff
55684f1763 Bug 553671 part 2 - extract PreGCCleanup() from js_GC() and get rid of 'goto out;'. r=jwalden.
--HG--
extra : rebase_source : 713a06123caefa0c5de75d6d14d0d43421f7e944
2010-04-08 07:54:18 -05:00
Jason Orendorff
aac995ee3e Bug 553671 part 1 followup - Minor cleanups in GC() suggested by jwalden in review.
--HG--
extra : rebase_source : b2cabed0b2de6c044a04fa00f7e1593fddf88786
2010-04-08 07:54:18 -05:00
Jason Orendorff
926b177eaa Bug 553671 part 1 - Extract GC() from js_GC(). r=jwalden.
--HG--
extra : rebase_source : 4fc17e71f7f7f3bd1d7392af585e61d265851918
2010-04-08 07:54:17 -05:00
Andreas Gal
b0126e4074 Backed out changeset 687d1e4c213e (bug 557914). 2010-04-07 18:34:05 -07:00
Andreas Gal
d0f2401879 Remove gcIteratorTable (557914, r=Waldo). 2010-04-07 17:14:38 -07:00
Jason Orendorff
6fac8f385a Bug 556879 - JSRuntime::gcIsNeeded is needed after all. r=igor. 2010-04-06 16:39:16 -05:00
Nicholas Nethercote
795d4b8ad2 Bug 556353 - Remove OBJ_IS_NATIVE, HAS_FUNCTION_CLASS. r=brendan. 2010-03-31 22:13:51 -07:00
Jason Orendorff
33d9cdc537 Bug 556315 part 1 - Remove GCReachableFrame. r=gal.
--HG--
extra : rebase_source : 1db26956cf3f73f1213ab222f4c3ee12637265c5
2010-03-31 17:17:20 -05:00
Nicholas Nethercote
684396fb91 Bug 555631 - Convert STOBJ_* macros to inline functions. r=gal. 2010-03-30 14:42:48 -07:00
Jeff Walden
ed2243cc54 Remove all remnants of JSTempValueRooter. WIN! 2010-03-30 11:14:47 -07:00
Jeff Walden
739d62b244 Readd substantive jsgc.cpp changes for bug 548702.
--HG--
extra : rebase_source : dd4cc7651df4280d1166bf99907f8469e81b006d
2010-03-29 12:03:24 -07:00
Jeff Walden
d5ecb23728 Readd more of the new rooting scaffolding from bug 548702, without enabling it (except in a side-by-side fashion where the two can both function and coexist). 2010-03-28 13:34:16 -07:00
Jeff Walden
0973dfd6ab Merge. 2010-03-26 21:53:40 -07:00
Jeff Walden
95422c65a3 Backed out changeset e7065853ef79; I'll be repushing this incrementally, attempting to find the precise place where things go bad, in the near future. Happy days are here again! :-\ 2010-03-26 18:01:54 -07:00
Gregor Wagner
d26dffb193 Bug 553682, TM: GC Profiler Part2. r=igor 2010-03-25 16:11:27 -07:00