Commit Graph

325 Commits

Author SHA1 Message Date
Luke Wagner
6a6afd60ce Backed out changeset 23efaeb8652b 2010-05-13 02:21:27 -07:00
Luke Wagner
98a7dc9ea6 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Robert Sayre
0821fc2de4 Merge. 2010-05-11 16:37:47 -04:00
Robert Sayre
bcf510f2ff Backed out changeset 60c4693a80ef 2010-05-11 16:37:18 -04:00
Robert Sayre
2777416cca Merge. 2010-05-11 11:52:40 -04:00
Robert Sayre
a354ba1cfc Backed out changeset 919950c7f0f0 2010-05-11 11:52:17 -04:00
Igor Bukanov
e5c32894ce bug 563345 - using js::HashMap for JSRuntime::threads. r=lw 2010-05-11 09:49:28 +02:00
Chris Leary
299dd52ca1 Bug 559408: Arena pool macros to methods. (r=gal) 2010-05-10 21:46:52 -07:00
Andreas Gal
2004c301c3 fast object iteration (558754, r=brendan, CLOSED TREE). 2010-05-07 17:52:52 -07:00
Chris Leary
b141ee8829 Bug 562144: Make DTrace hooks pretty. (r=sayrer) 2010-04-30 17:04:31 -07:00
David Mandelin
bd01579c00 No bug, fixing a new MSVC warnings, no_r=me 2010-04-29 16:31:45 -07:00
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