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 |
|
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 |
|
David Anderson
|
ab74b2ff81
|
Added calleValue()/calleObject() inline helpers to JSStackFrame (bug 512371, r=brendan).
|
2009-10-26 17:28:56 -07:00 |
|
Igor Bukanov
|
a5c9e85705
|
bug 523688 - avoiding spurious OOM messages when on trace. r=brendan
|
2009-10-23 11:03:17 +04:00 |
|
Igor Bukanov
|
9c47282440
|
bug 523370 - fixing bogus OOM with empty double free lists. r=dmandelin
|
2009-10-22 01:03:56 +04:00 |
|
Andreas Gal
|
e5c5e2e6c1
|
Always use GCChunks (521859, r=brendan).
|
2009-10-20 16:18:31 -07:00 |
|
Andreas Gal
|
ebb3f8e3e1
|
Replace JSPtrTable with js::Vector (523463, r=luke).
|
2009-10-20 15:08:28 -07:00 |
|
Igor Bukanov
|
d615c5e729
|
bug 521390 - avoid checking for malloc memory pressure when allocating GC things from free lists. r=brendan
|
2009-10-18 19:40:19 +04:00 |
|
Igor Bukanov
|
ac8b823506
|
bug 522775 - fixing GC free list management. r=brendan
|
2009-10-17 12:57:14 +04:00 |
|
Igor Bukanov
|
af1a5810f7
|
bug 505315 - constructing GC free lists during finalization. r=brendan
|
2009-10-16 10:10:54 +04:00 |
|
Igor Bukanov
|
9212853abd
|
Backed out changeset 487b81c753c0 - landing of bug 505315 caused talos crashes across platforms.
|
2009-10-15 13:53:40 +04:00 |
|
Igor Bukanov
|
0d37930589
|
bug 505315 - constructing GC free lists during finalization. r=brendan
|
2009-10-15 11:41:08 +04:00 |
|
Igor Bukanov
|
fe9d4ed1fa
|
bug 454435 - optimizing allocation of doubles. r=brendan
|
2009-10-08 20:08:00 +04:00 |
|
Andreas Gal
|
faf54b3456
|
Mark reserved doubles during GC as long we are not shutting down (515440, r=jorendorff).
|
2009-10-06 15:08:07 -07:00 |
|
Igor Bukanov
|
1ee687ce42
|
bug 505933 - removal of unused js_(Add|Remove)AsGCBytes (followup for bug 512046)
|
2009-10-04 14:54:37 +04:00 |
|
Igor Bukanov
|
9acf40e6f6
|
bug 517199 - typed GC free lists. r=brendan
|
2009-10-02 18:34:22 +04:00 |
|
Igor Bukanov
|
79b9eab8cb
|
bug 520046 - eliminating "uintN flags" parameter from js_NewSomeGCThing functions. r=brendan
|
2009-10-02 12:21:19 +04:00 |
|
Igor Bukanov
|
3fa86d4157
|
Backed out changeset 19b4c1cacdb8 - everything related to bug 517199.
|
2009-10-01 16:10:42 +04:00 |
|
Igor Bukanov
|
fed9242625
|
bug 517199 - typed GC free lsists - newborn refactoring. r=brendan
|
2009-10-01 08:13:04 +04:00 |
|
Igor Bukanov
|
99ca32eed1
|
bug 515403 - fixing shutdown race when accessing scriptFilenameTable. r=brendan
|
2009-09-26 17:44:11 +04:00 |
|
Robert Sayre
|
14ef91c61f
|
Merge mozilla-central to tracemonkey.
|
2009-09-25 11:55:38 -07:00 |
|
Igor Bukanov
|
8da9fad53a
|
bug 512046 - avoid maintaing a per-runtime iterator list. r=brendan
|
2009-09-19 13:40:43 +04:00 |
|
Blake Kaplan
|
9b523edf4a
|
Bug 517349 - Remove an incorrect assertion (we already do the work to make the condition not matter. r=dvander
|
2009-09-17 16:10:36 -07:00 |
|
Andreas Gal
|
55697d8ebf
|
Merge.
|
2009-09-17 15:44:30 -07:00 |
|
Andreas Gal
|
38b0ee0297
|
Backed out changeset 5f449dffdff5 (regressed tp4 private bytes, and we are not sure what the hell that means).
|
2009-09-17 15:40:37 -07:00 |
|
Blake Kaplan
|
712df10db4
|
Bug 517250 - Fix a bad assert. r=waldo
|
2009-09-17 12:31:42 -07:00 |
|
Andreas Gal
|
4b2f3150ab
|
Use one single GC heap chunk, avoiding frequent mmap and malloc calls (508707, r=igor,brendan).
|
2009-09-15 14:29:01 -07:00 |
|
Blake Kaplan
|
f823db9527
|
Bug 517041 - Instead of giving pseudo frames an sp, protect against null sps during GC. r=brendan
|
2009-09-16 16:13:41 -07:00 |
|
David Mandelin
|
13be6d7f4a
|
Fixing a warning, no_r=me
--HG--
extra : rebase_source : 2aca8c5affcfe0add916f6cb89d4a2944db3012e
|
2009-09-16 12:11:18 -07:00 |
|
David Mandelin
|
0146da3559
|
Bug 516853: disable page-touching on MacOS to improve JS engine startup, r=gal
|
2009-09-15 19:08:21 -07:00 |
|
Blake Kaplan
|
c34aa4b473
|
No bug - Force the type here to be wide enough. r=gal/someone who can do bit math
|
2009-09-15 15:49:00 -07:00 |
|
Luke Wagner
|
854c0294df
|
Bug 412571 - replace thisp with thisv (r=brendan,mrbkap)
|
2009-09-11 19:07:00 -07:00 |
|
Blake Kaplan
|
9ab2d4e1e8
|
Merge the backout.
|
2009-09-17 15:30:33 -07:00 |
|
Blake Kaplan
|
3ad62940d0
|
Backed out changeset 5f449dffdff5. Trying to fix Tp4 heap size regression.
|
2009-09-17 15:27:04 -07:00 |
|
Igor Bukanov
|
3c4beac4d9
|
bug 515199 - js_GetGCThingTraceKind must check for JSString::isStatic and return JSTRACE_STRING if so. r=brendan
|
2009-09-10 15:13:59 +04:00 |
|
Brendan Eich
|
016b0f207a
|
Bug 514981 - JSStackFrame::sharp{Array,Depth} should be locals allocated due to #n[#=] usage (r=igor).
|
2009-09-09 20:21:15 -07:00 |
|
Andreas Gal
|
bd58a78c21
|
Set nativeVp immediately before the native call (514999, r=mrbkap).
|
2009-09-09 17:38:07 -07:00 |
|
Brendan Eich
|
7a412f40b3
|
JSTempValueRooter JSTVU_SINGLE over-constrains GC-thing against static allocation (515000, r=gal).
|
2009-09-07 00:35:27 -07:00 |
|
Brendan Eich
|
efeb782ab4
|
Followup to fix assertion that walks into strong assertions in fix for bug 514819.
|
2009-09-05 23:41:52 -07:00 |
|
Brendan Eich
|
098462c563
|
Check (without regressing hot paths) where needed to avoid treating static JSStrings like gc-things in the heap (514819, r=gal).
|
2009-09-05 21:48:30 -07:00 |
|
Gregor Wagner
|
2e1104b40f
|
Cache result of Number2String (bug 513530, r=brendan).
|
2009-09-04 16:28:30 -07:00 |
|
Igor Bukanov
|
b919139e8d
|
bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan
|
2009-08-28 09:53:26 +04:00 |
|
Andreas Gal
|
d2459a75f9
|
Merge.
|
2009-08-25 14:43:09 -07:00 |
|
Andreas Gal
|
030a8114b2
|
Backed out changeset 9b6b17a275ec (bug 506125).
|
2009-08-25 14:42:42 -07:00 |
|