Commit Graph

277 Commits

Author SHA1 Message Date
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
Jeff Walden
adaaad82af Back out 38cb39bc6744, 400097fb04e7, and 1dca6e135a1e for great orangeness. 2010-03-22 22:39:29 -07:00
Andreas Gal
372cc56c27 Allocate short strings in the GC heap, avoiding malloc + free (553541, r=igor). 2010-03-22 20:02:07 -07:00
Brendan Eich
f819b36cf4 Use direct object shape instead of identity as key for deep property cache hits (497789, r=jorendorff). 2010-03-22 11:11:44 -07:00
Igor Bukanov
90d5fa7237 bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin 2010-03-16 21:28:33 +03:00
Vladimir Vukicevic
77502e8e24 Backed out changeset 0b28c109c213; r=waldo,dmandelin 2010-03-15 16:03:57 -07:00
Igor Bukanov
6d3a27abc3 bug 519476 - replacing JSSTRING_DEFLATED with scanning of the deflated cache. r=jwalden,dmandelin 2010-03-13 10:01:09 +03:00
David Anderson
564824e65a Backed out changeset 04023ea0fb08. 2010-03-11 12:19:36 -08:00
Mike Moenig
2b408683cd Allow custom allocator use in SpiderMonkey (bug 549532, r=dvander). 2010-03-10 21:02:18 -08:00
Luke Wagner
a1a73dd94d Bug 551276 - a more type-safe way to zero memory (r=Waldo)
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
Jeff Walden
106fbd8085 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
Mike Moening
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Igor Bukanov
debaa592f7 bug 545529 - caching Class.prototype lookups. r=brendan 2010-02-19 20:44:23 +03:00
Gregor Wagner
dc4711d401 BUG 545303: TM: non API function for JS_CallTracer r=igor 2010-02-18 13:16:02 -08:00
Igor Bukanov
c92f45948f bug 544656 - fixing keepAtoms warning with GCC. r=brendan 2010-02-07 11:22:45 +03:00
Igor Bukanov
008691b6f9 Backed out changeset b9700adc3951 - the landing for the bug 538463 had wrong changes 2010-02-03 13:37:56 +03:00
Igor Bukanov
7aafadcc76 bug 538463 - caching only single-threaded objects. r=jorendorff 2010-02-03 12:46:10 +03:00
Luke Wagner
7714144859 Bug 535656 - remove JSStackFrame::dormantNext and varobj (r=waldo) 2010-01-29 18:25:16 -08:00
Igor Bukanov
836b8a84eb bug 540805 - using reference counting only for empty scopes. r=jorendorff 2010-01-27 09:50:17 +03:00
Igor Bukanov
7227718637 bug 541790 - do not purge again if the GC restarts. r=jorendorf 2010-01-26 22:27:09 +03:00
Igor Bukanov
450cf95e35 bug 538275 - ClaimTitle cleanup. r=brendan, jorendorff 2010-01-24 14:15:38 +03:00
Luke Wagner
2645ecd2da Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Igor Bukanov
702de8885c bug 528200 - replacing GC thing flags with a mark bitmap 2010-01-14 11:27:32 +03:00
Igor Bukanov
0553ca4a34 bug 536734 - more finalizer specializations. r=brendan 2009-12-30 14:06:26 +03:00
Igor Bukanov
a9c4fac55a bug 534590 - eliminating GCF_LOCK flag. r=brendan 2009-12-24 12:31:07 +03:00
Igor Bukanov
3a66cb93c4 bug 528645 - js_IsAboutToBeFinalized must check for static strings. r=wagnerg 2009-12-22 23:50:44 +03:00
Gregor Wagner
881436060a fix JS_GCMETER r=gal bug #504581 2009-12-14 19:01:37 -08:00
Igor Bukanov
da4f40e4dc bug 528486 - eliminating GCF_CHILDREN. r=brendan 2009-12-14 10:55:17 +03:00
Andreas Gal
f391d8a4f0 Don't attempt to GC when caller has waived the GC heap quote (528507, r=dvander). 2009-11-17 14:31:06 -08:00
Andreas Gal
ac3a0faa92 Remove reserve doubles and objects lists and instead waive the GC quota to avoid failing in LeaveTree (508140, r=dvander). 2009-11-12 16:01:56 -08:00
Igor Bukanov
dd905004ad bug 527803 - avoiding unnecessary js_AddRoot. r=brendan 2009-11-12 23:13:25 +01:00
Igor Bukanov
86e549290f bug 522867 - eliminating the local root check on the fast path of the GC allocator. r=brendan,gal 2009-11-12 12:53:25 +01:00
Shailen
9310b212af Bug 526422 - AIX Compilation error for 3.7a1pre source "js/src/jsgc.cpp, line 2850.17: The name lookup for "FinalizeGCThing" did not find a declaration, r=sayrer 2009-11-06 16:27:07 +01:00
Rich Walsh
5db3a4bf02 Bug 525396 - Implement New/DestroyGCChunk() for OS/2, fixing a build break, r=gal
--HG--
extra : rebase_source : 64efba17faf78702eda92f20791e6f8323f0be7d
2009-11-05 22:42:41 +01:00
Andreas Gal
8982c58728 Fix bogus assert (525943, r=dvander). 2009-11-02 13:41:26 -08:00
Andreas Gal
c42b9d863d Compilation fix for bug 523947. 2009-10-28 17:09:48 -07:00
Andreas Gal
0587fde91b Use reserve double pool when running into OOM in LeaveTrace (523947, r=dvander). 2009-10-28 15:32:40 -07:00
Jason Orendorff
d2943dea25 Bug 524743 - Shape regeneration still does not touch most empty scopes. r=brendan.
--HG--
extra : rebase_source : 13a7f72bef38f2bfb8615a907c0cb47e31f55e1d
2009-10-27 16:00:26 -05:00