Jason Orendorff
630900ee20
Finally get rid of /* Added by JSIFY */ comments. r=Waldo.
2010-10-01 18:46:54 -05:00
Gregor Wagner
02421e6aa4
Bug 599801 - TM: Clean up Compartment (de)construction. r=sayrer
2010-09-27 15:35:10 -07:00
Igor Bukanov
97f9c90ef3
bug 586161 - making sure that all compartments are purged. r=anygregor
2010-09-27 14:29:01 +02:00
Igor Bukanov
b8792e95c1
bug 597736 - fixing TreeFragment leak. r=gal
2010-09-21 14:58:19 +02:00
Igor Bukanov
b0d9b068e1
bug 558861 - followup to add missing explicit template instantiations for assureThingIsAligned
2010-09-25 11:42:25 +02:00
Gregor Wagner
3bb62ab91b
Bug 558861 - Fix assertion on startup. r=gal
2010-09-24 15:07:02 -07:00
Gregor Wagner
fdb731becb
Bug 558861 - Compartmental GC (r=gal)
2010-09-24 10:54:39 -07:00
Andreas Gal
bbf6e6f58d
Backed out changeset 52c66b17843e (bug 592907).
2010-09-23 16:21:37 -07:00
Gregor Wagner
f52995be1c
Bug 592907 - TM: set JSGC_MAX_BYTES to a sane value (r=igor)
2010-09-23 15:31:32 -07:00
Brendan Eich
ccc80abca5
Fix screwed up layering of GC marking for JSObject::emptyShape (596103, r=jorendorff).
2010-09-14 12:13:12 -07:00
Chris Leary
269a7d6bab
Bug 571355: Move RegExpStatics out of JSContext. (r=gal)
2010-09-13 15:53:50 -07:00
Luke Wagner
562fc49870
Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander)
2010-08-09 22:43:33 -07:00
Igor Bukanov
e353306519
bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor
...
--HG--
extra : rebase_source : 7d6b09d93bdc463cf7d06d2cdbe09085fd0e4b4b
2010-09-07 23:08:20 +02:00
David Anderson
69b95ea914
ICs for scripted calls (bug 587698, r=dmandelin).
2010-09-02 20:04:33 -07:00
Steve Fink
139d2a2a71
Bug 584175 - Unify various JS probes into a single set of static probe points. r=gal
...
Part 1: Change dtrace-specific names to probes
Part 2: Stop using the frame pointer for probes.
Part 3: Update the set of available probes
r=gal@uci.edu
a=NPOTB
--HG--
rename : js/src/jsdtracef.cpp => js/src/jsprobes.cpp
rename : js/src/jsdtracef.h => js/src/jsprobes.h
2010-09-01 14:09:54 -07:00
Robert Sayre
0308956e29
Backed out changeset e2e1ea2a39ce. (Igor Bukanov – bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor)
2010-09-01 11:24:45 -07:00
Igor Bukanov
3232f601ce
bug 588016 - Avoid reporting OOM when background has not finished. r=anygregor
2010-08-19 21:28:12 +02:00
Igor Bukanov
edc6d00c4e
bug 477999 - JS_SuspendRequest should suspend requests from all contexts . r=gal,anygregor
2010-08-30 20:46:18 +02:00
David Mandelin
5eba7a1580
[JAEGER] Merge from Tracemonkey.
2010-08-31 10:36:08 -07:00
Gregor Wagner
d5979d2297
[Bug 592007] TM: New Scope patch changes GC behavior in browser r=gal (CLOSED TREE)
2010-08-31 08:37:16 -07:00
David Mandelin
de19395f25
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:19:36 -07:00
David Mandelin
3dc48e12b2
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:13:32 -07:00
David Mandelin
6d5af732b7
[JAEGER] Merge from Tracemonkey.
2010-08-30 12:03:59 -07:00
Brendan Eich
782ef24d23
Back out patch for 477999 due to assertbotch on Mac OS X trace-test shutdown, all tests.
2010-08-29 12:41:24 -07:00
Brendan Eich
790ddc9e99
Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff).
2010-08-29 11:57:08 -07:00
David Mandelin
ef5b0f9077
[JAEGER] Merge from tracemonkey.
2010-08-25 11:00:41 -07:00
Gregor Wagner
8817352356
Bug 589262 - TM: Move GCStats into separate file. r=igor
2010-08-24 18:57:14 -07:00
David Mandelin
a21c621577
Merge from Tracemonkey.
2010-08-19 11:11:36 -07:00
Gregor Wagner
77d8fcb9e6
Bug 572057 - TM: remove weak roots (pigeon hole) r=igor
2010-08-18 12:46:47 -07:00
David Mandelin
d32d792513
[JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste.
2010-08-17 15:32:40 -07:00
David Mandelin
6f19cd8199
[JAEGER] Merge from Tracemonkey part 1: don't change visibility of JSStackFrame members yet
2010-08-16 15:37:15 -07:00
David Mandelin
066c9f1718
[JAEGER] Merge from Tracemonkey. scopeChain and blockChain are still public so I can check one thing at a time--this merge is brutal.
2010-08-16 14:59:44 -07:00
Brian Hackett
ed4defc8b5
Add interface for JSStackFrame.fun/script/thisv/rval, bug 586533. r=lw
2010-08-15 08:44:51 -04:00
Brian Hackett
da6f70519b
Second try at adding interface for JSStackFrame.scopeChain/blockChain, bug 586533. r=lw
2010-08-13 23:36:37 -04:00
David Mandelin
a8a454c883
[JAEGER] Merge from tracemonkey.
2010-08-13 12:01:02 -07:00
Robert Sayre
a00d7f60fe
Backed out changeset 1406935fced4. Brian Hackett – Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw.
2010-08-12 21:47:46 -07:00
Brian Hackett
a416b05f95
Put JSStackFrame.scopeChain/blockChain behind an interface, bug 586533. r=lw
2010-08-13 00:08:37 -04:00
Brian Hackett
b6fa83e115
Put JSStackFrame.callobj/argsobj behind an interface, bug 586533. r=lw
2010-08-12 18:46:03 -04:00
Igor Bukanov
5b9726fc8e
bug 477999 - JS_SuspendRequest should suspend requests from all contexts. r=anygregor,gal
...
--HG--
extra : rebase_source : 593bcd06380a6d6ade3da1ffed11eeb18b43cdfd
2010-08-12 15:02:51 +02:00
David Mandelin
df3e6a9e74
[JAEGER] Merge from tracemonkey.
2010-08-09 11:36:39 -07:00
David Mandelin
b3eb68b6e5
[JAEGER] Merge from tracemonkey.
2010-08-06 15:39:15 -07:00
Igor Bukanov
c834b35395
bug 583763 - followup to add more information into printout about missing roots and an extra assert.
...
--HG--
extra : rebase_source : 1889cc878be4e8fdf1c1902139208ad12cc28760
2010-08-06 21:45:25 +02:00
David Mandelin
d0199725aa
Merge from tracemonkey.
2010-08-05 15:57:34 -07:00
Gregor Wagner
e265b8c778
Bug 581589 - TM: add defaultCompartment to compartments array (r=gal)
2010-08-05 15:48:34 -07:00
David Mandelin
d7f6c4209b
Merge from Tracemonkey.
2010-08-02 15:55:29 -07:00
Igor Bukanov
e48bf454d2
bug 583763 - conservative GC cleanup and better reporting of missing conservative roots. r=anygregor
2010-08-05 14:16:56 +02:00
Robert Sayre
250c59eece
Reland: Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances.
2010-08-01 09:58:03 -07:00
Robert Sayre
9bae5e1079
Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon.
2010-07-31 14:01:26 -07:00
David Anderson
8adb6cdddb
[JAEGER] Put conservative marker in JSTracer, rather than GCMarker (bug 583149).
2010-07-29 18:46:45 -07:00
David Anderson
9621bf247c
[JAEGER] Conservatively scan the JS stack (bug 583084, GC changes r=gregor).
2010-07-29 17:13:08 -07:00
Igor Bukanov
4eff9db05f
bug 579957 - parent as a field in JSObject. r=lw
2010-07-29 19:11:27 +02:00
Gregor Wagner
d58c414a8f
Bug 587805 - TM: Clean GCMeter (r=igor)
2010-08-17 11:54:54 -07:00
Igor Bukanov
041b1e86e5
bug 574313 - checking that autoroots are conservatively scanned and aborting if not. The check is enabled in optimized build for better test coverage. r=anygregor
2010-07-26 10:24:27 +02:00
Igor Bukanov
b4a4d8d48e
bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw
2010-07-31 11:54:01 +02:00
Robert Sayre
c7bd912564
Backed out changeset d8bbb2ef3038. (Igor Bukanov – bug 579957 - parent as a field in JSObject. r=lw)
2010-07-29 18:11:41 -07:00
Igor Bukanov
2019c722fb
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Andreas Gal
69df940a4e
Back out bug 580803.
2010-07-28 11:20:19 -07:00
Igor Bukanov
181c2cdf3a
Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution.
2010-07-28 14:36:06 +02:00
Igor Bukanov
a69fd0a49f
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Brendan Eich
794e678554
Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden).
2010-07-23 14:41:56 -07:00
Igor Bukanov
248a67333b
bug 579100 - various GC cleanups. r=anygregor
2010-07-26 20:44:04 +02:00
Alan Pierce
879d3e777d
Bug 578205 - Keep string characters inline for small strings (r=gal)
2010-07-24 20:26:34 -07:00
Andreas Gal
3eefbea893
Move GC triggering into the runtime (580803 part 2, r=igor).
2010-07-24 15:30:33 -07:00
Andreas Gal
404cbee80f
Don't lock the GC if its already locked (follow-up for 580803).
2010-07-23 20:02:13 -07:00
Paul Biggar
1504032238
Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan)
2010-07-23 19:33:49 -07:00
Andreas Gal
ff0430908b
Consolidate GC heuristics (580803, r=igor).
2010-07-23 15:17:42 -07:00
Brendan Eich
1813531fe8
Back out patch for bug 577648, need to fix a leak.
2010-07-23 14:21:50 -07:00
Brendan Eich
72e638d9ef
arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden).
2010-07-10 11:48:00 -07:00
Igor Bukanov
8e449d33fb
bug 580458 - trigger operation callback once per thread, not once per cx. r=gal,mrbkap
2010-07-22 22:59:59 +02:00
Andreas Gal
817e9fe04a
Remove hole count from dense arrays (580846, r=njn).
2010-07-22 18:45:21 -07:00
Gregor Wagner
8bd7a472cd
Bug 579586 - TM: remove doubles from GCTIMER (r=jorendorff)
2010-07-20 09:52:02 -07:00
Blake Kaplan
de74d9d8f4
Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst
2010-07-19 13:36:49 -07:00
Luke Wagner
ea9b4a6d39
Bug 579602 - desc.getter/setter can be null; finish what 8956606e0b49 started
2010-07-17 01:51:07 -07:00
Alan Pierce
52ba5c3616
Bug 571579 - Implement ropes (r=gal)
2010-07-16 17:41:22 -07:00
Luke Wagner
0af67efcd9
Bug 579140 - address various minor change requests for fatvals
...
--HG--
extra : rebase_source : 02091a75071469c9f6148a5221be9333655bb832
2010-07-16 15:34:00 -07:00
Igor Bukanov
d7aedab4b6
bug 552266 - Allow for only one JSContext to be in a request on a given thread. r=mrbkap
2010-06-26 22:31:54 +02:00
Andreas Gal
4e11d941dd
Disentangle cycle collector and JS GC (549806, r=peterv/igor).
2010-07-15 17:58:36 -07:00
Andreas Gal
f8afdf22b4
Backed out bug 549806. Very frustrating.
2010-07-15 15:39:06 -07:00
Andreas Gal
a148529929
Disentangle cycle collector and JS GC (549806, r=peterv, igor).
2010-07-15 10:21:34 -07:00
Luke Wagner
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Andreas Gal
885c8c4cd0
Compartments can get GCed while we allocate the first object inside of them (576722, r=mrbkap).
2010-07-13 16:22:45 -07:00
Chris Leary
94f23c0a06
Arena pool macros don't want to die.
2010-07-11 00:09:34 -07:00
Chris Leary
48398c7423
Bug 559408: Arena macros to methods. (r=galish)
2010-07-10 23:19:14 -07:00
Chris Leary
908f8ec587
Back out f8c6a272f2dc. It was working on Try a few minutes ago, I swear! (r=red)
2010-06-26 18:09:07 -07:00
Chris Leary
52608d352b
Bug 559408: Turn arena pool macros into methods. (r=gal)
2010-06-26 17:55:00 -07:00
Andreas Gal
1efe5e2ec6
Implement runtime-wide wrap hook (574299, r=mrbkap).
2010-06-24 16:45:32 -05:00
Igor Bukanov
60e3fb5cff
bug 572678 - valgrind integration with conservative GC. r=nnethercote
2010-06-21 14:22:32 +02:00
Igor Bukanov
3ca4aa4529
bug 572428 - followup to fix a bad typo.
2010-06-24 10:55:18 +02:00
Igor Bukanov
6f0b0ed4fa
bug 573709 - do not use history for conservative GC. r=gal
2010-06-24 10:30:56 +02:00
Jason Orendorff
c1a1fb9be1
Bug 563099 - Compartments and wrappers API. r=gal.
...
--HG--
extra : rebase_source : cb34d0d0fc689fc6401d67e7f719344cd8e27655
2010-06-23 16:35:10 -05:00
Gregor Wagner
80ca0e83eb
Bug 519949 - TM: remove LocalRootScopes r=igor
2010-06-23 11:37:35 -05:00
Igor Bukanov
0b52b79b4d
bug 572428 - fixing detection of live things in GC arena for conservative GC. r=wagnerg
2010-06-22 11:19:04 +02:00
Igor Bukanov
9960173867
bug 572991 - replacing JSXMLArray locals with autoclasses. r=gal
...
--HG--
extra : rebase_source : b0f13006282537b671d4b410fd9849215154ae18
2010-06-19 20:58:00 +02:00
Andreas Gal
a92e115145
Move proto out of fslots and make it JSObject* (572820, r=jorendorff).
2010-06-17 15:23:17 -07:00
Igor Bukanov
5b76e21662
bug 516832 follow up - better assert coverage with conservative gc
2010-06-17 15:35:52 +02:00
Jason Orendorff
6472e34dba
Bug 570169 - Part 1, preparation. Rearrange some code. r=gal.
2010-06-16 16:13:01 -05:00
Igor Bukanov
7cf58c5d22
bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal
2010-06-04 16:22:28 +02:00
Luke Wagner
f032df96b4
Bug 565157 - typed JS_AddRoot (r=igor)
2010-06-07 17:05:02 -07:00
Igor Bukanov
24dee0ab53
bug 557538 - custom GC chunk allocation. r=gal,jorendorff
2010-06-07 11:17:15 +02:00
Andreas Gal
70617110b8
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -07:00
Jeff Walden
3ceb4d071b
Bug 569471 - Rename js_GetWrappedObject to JSObject::wrappedObject. r=jorendorff
2010-06-01 15:59:02 -07:00
Igor Bukanov
8a9dacca13
Backed out changeset 1070cd7a9da0
2010-05-28 14:19:20 +02:00
Igor Bukanov
28c45dfff3
bug 516832 - temporaral landing to get tinderbox stats
2010-05-28 14:09:25 +02:00
Igor Bukanov
f362c01610
bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff
2010-05-27 16:57:55 +02:00
Igor Bukanov
735d63b45a
Backed out changeset c78751701c46 - wrong commit
2010-05-27 16:56:34 +02:00
Igor Bukanov
b4468fa229
bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff
2010-05-27 16:51:44 +02:00
Igor Bukanov
823bff32f4
Backed out changeset 7ebdbaba843a - that was temporary commit
2010-05-26 14:04:15 +02:00
Igor Bukanov
ef5bf20abd
bug 516832 - temporary landing to collect tinderbox logs
2010-05-26 13:40:49 +02:00
Robert Sayre
def349ad75
Merge mozilla-central to tracemonkey.
2010-05-24 09:05:39 -07:00
Luke Wagner
b7325ce98e
Bug 567627 - fix strict-aliasing violation in jsgc (r=igor)
2010-05-23 13:38:29 -07:00
Igor Bukanov
2dc14c17ba
bug 558150 - js_GC outside a request must wait for other GC to finish. r=jorendorff
2010-05-22 21:49:58 +02:00
Michael Kohler
5f19df86e0
Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
...
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Gregor Wagner
53e42ad125
Bug 566635 - TM: Change gcRootsHash and gcLocksHash to HashMap r=lw
2010-05-20 13:50:08 -07:00
Igor Bukanov
9d49b712de
bug 566145 - reserving block and arguments shapes. r=jorendorff
2010-05-20 12:48:04 +02:00
Andreas Gal
efd9bd790e
Implement ES Harmony Proxies (bug 546590, r=mrbkap).
2010-05-18 19:21:43 -07:00
Andreas Gal
379f08c160
Bulk clear GC bitmaps when GC starts instead of after the GC ends (565229, r=gregor).
2010-05-18 03:01:33 -07:00
Igor Bukanov
c19c9e55c8
Backed out changeset 5748e8ff4666 - I landed the wrong patch
2010-05-16 11:21:08 +02:00
Igor Bukanov
06f3d228f8
bug 563326 - followup to fix OOM reporting
2010-05-16 11:19:38 +02:00
Gregor Wagner
dee82ee864
Bug 548388 GC Benchmark Suite. r=jorendorff
2010-05-14 11:17:14 -07:00
Igor Bukanov
97039b9427
bug 561364 - removal of JSRuntime::gcLevel. r=jorendorff
2010-05-14 15:55:17 +02:00
Luke Wagner
9b49d62378
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Igor Bukanov
307503fef7
bug 563345 - using js::HashMap for JSRuntime::threads. r=lw
2010-05-13 19:50:43 +02:00
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
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