Commit Graph

277 Commits

Author SHA1 Message Date
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
David Anderson
e322e64001 Removed JSStackFrame::xmlNamespace (bug 512389, r=brendan). 2009-08-25 12:07:45 -07:00
Andreas Gal
f808b9ca98 Memory-pressure based GC scheduler (506125, r=igor,jwalden). 2009-08-24 18:24:52 -07:00
David Anderson
744033066f Removed JSStackFrame::callee (bug 512029, r=brendan). 2009-08-24 17:09:44 -07:00
Andreas Gal
c438241025 Backout bug 506125. 2009-08-18 17:30:05 -07:00
Andreas Gal
57285268f7 Schedule GC based on process memory pressure (506125, r=igor,waldo). 2009-08-18 16:38:02 -07:00
Andreas Gal
5d82186f20 Don't flush the code cache every time we GC (506117, r=brendan). 2009-08-17 14:50:57 -07:00
Jason Orendorff
8384b1e239 Bug 509098 - Remove JS_HAS_LVALUE_RETURN support. r=brendan. 2009-08-13 16:18:33 -05:00
Andreas Gal
9c938dd547 Backout bug 506125 due to talos failures. 2009-08-04 18:42:53 -07:00
Andreas Gal
a71df21ea2 Allow 25% working-set size growth instead of 18.75% (trying to identify tjss regression cause). 2009-08-04 17:58:01 -07:00
Andreas Gal
06ad033ff2 Memory-pressure based GC scheduler (506125, r=igor). 2009-08-04 14:58:21 -07:00
Jason Orendorff
eb14203c0c Bug 506786 - JSScope::trace method. r=brendan. 2009-07-28 04:00:35 -05:00
Andreas Gal
e7f2714ea1 When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo). 2009-07-27 21:10:12 -07:00
Jason Orendorff
a22e8a6032 Bug 505932 - Shape regeneration does not touch most empty scopes. r=brendan. 2009-07-27 16:29:02 -05:00
Igor Bukanov
bfbac69d3f bug 506243 - eliminate GC thread-local lists pools. r=brendan 2009-07-26 18:24:39 +02:00
Brendan Eich
b4a10de944 Bug 488731 - Avoid shape regeneration and property cache purge during the GC (r=mrbkap). 2009-07-24 06:55:28 -07:00
Robert Sayre
6968ea2205 Merge backout. 2009-07-24 00:02:02 -04:00
Robert Sayre
9e0ade7287 Backed out changeset b3d459d23452 2009-07-24 00:01:37 -04:00
Robert Sayre
3722b48ae2 Merge backout. 2009-07-23 22:08:05 -04:00
Robert Sayre
d71c6818a0 Backed out changeset 047b9102dddb 2009-07-23 22:06:31 -04:00
Brendan Eich
cf4a2c7921 Avoid shape regeneration and property cache purging from the GC unless the shape generator overflows (488731, r=jorendorff). 2009-07-23 17:59:49 -07:00
Andreas Gal
eb711234db Use a background thread to free() memory while sweeping (505612, r=brendan,bent). 2009-07-23 15:12:34 -07:00
Igor Bukanov
9534c3d315 bug 504033 - avoiding calling JSFinalizeStub. r=brendan 2009-07-22 18:23:21 +02:00
Andreas Gal
241532b53a Inline malloc accounting functions (504219, r=jwalden). 2009-07-16 18:36:19 -07:00
Andreas Gal
1af8dfb112 Avoid integer division in NewGCThing path (503157, r=jwalden). 2009-07-14 17:06:09 -07:00
Andreas Gal
88cf1d87c6 Avoid integer math for GC trigger factor calculation in allocation path, take 2 (503463, r=dmandelin). 2009-07-14 17:03:20 -07:00
Peter Van der Beken
166204d6c0 Backed out changeset 2073d5aae8b6 (Avoid integer math for GC trigger factor calculation in allocation path (bug 503463)). 2009-07-14 11:49:43 +02:00
Peter Van der Beken
cf914cb140 Backed out changeset 2073d5aae8b6 (Avoid integer math for GC trigger factor calculation in allocation path (bug 503463)). 2009-07-14 11:49:15 +02:00
Robert Sayre
b6ce61f167 Fix dtrace build bustage. 2009-07-13 18:33:33 -04:00
Andreas Gal
0c6942b658 Avoid integer math for GC trigger factor calculation in allocation path (503463, r=dmandelin). 2009-07-13 13:24:25 -07:00
Andreas Gal
427ece476a Make sure js_FinalizeStringRT can be inlined into js_GC() (503462, r=dmandelin). 2009-07-12 07:41:20 -07:00
Andreas Gal
3367fcef8e Inline FinalizeObject into js_GC() along with making Scope hold() and drop() inline, too (503461, r=dmandelin). 2009-07-12 07:38:59 -07:00
Andreas Gal
48d847d549 Bump local gcthings limit to 64 (503156, r=igor). 2009-07-12 07:32:59 -07:00
Andreas Gal
6830c9b118 Avoid 16-bit arithmethic in GC arenas (503419, r=dmandelin). 2009-07-12 07:29:18 -07:00
Robert Sayre
247b1e3f5d Merge mozilla-central to tracemonkey. 2009-07-11 23:46:16 -04:00
David Mandelin
975f74c278 Bug 453730: trace JSOP_ARGUMENTS, r=gal 2009-07-08 11:16:41 -07:00
Jim Blandy
38da11cf33 Bug 501760: Don't try to use mmap for JS allocation on Symbian. r=blassey 2009-07-09 14:59:54 -07:00
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Brendan Eich
0416e1e679 Bug 492355 - Suspected Txul regression from JS engine changes (r=igor). 2009-05-13 17:11:23 -07:00
jorendorff
93c6d226d3 Record all calls to native functions (487134, r=gal, brendan). 2009-05-05 14:26:06 -07:00
Igor Bukanov
35116060a2 bug 489501 - consolidating
js_SetProto must mutate the prototype chain. r=brendan
2009-05-01 13:48:27 -07:00
Graydon Hoare
bb4177dccd Bug 490044 - TM: Add deep-bailing write barrier to global shape change code, r=brendan. 2009-04-24 17:47:32 -07:00
Igor Bukanov
4ad2e764fa bug 488414 - js_GenerateShape just schedules, not run, the GC. r=brendan,gal 2009-04-20 12:10:29 +02:00
Igor Bukanov
fd49b19773 Backed out changeset f4662701526b (bug 488414) to fix !JS_THREADSAFE compilation errors 2009-04-20 11:59:36 +02:00
Igor Bukanov
56547f8087 bug 488414 - js_GenerateShape just schedules, not run, the GC. r=brendan,gal 2009-04-20 10:17:28 +02:00
Shawn Wilsher
97acb35fee Merging mozilla-central to tracemonkey. Should fix the red on talos tinderbox. 2009-04-15 20:10:48 -04:00
Igor Bukanov
907592f765 bug 477627 - avoiding deadlocks in ClaimTitle. r=brendan 2009-04-16 00:01:24 +02:00
Igor Bukanov
e2941e5370 Backed out changeset f97f196dcb58 - bug 480301 needs more work 2009-04-15 23:33:46 +02:00
Jim Blandy
c92b04fdc1 Bug 479585: jsfile.cpp and jsgc.cpp fixes for Symbian patch=Harry.Li r=jimb 2009-04-15 14:07:35 -07:00
jorendorff
7a9b1b6e92 Leaving outermost request should js_LeaveTrace (480301, r=brendan). 2009-04-14 17:15:38 -07:00
Jason Orendorff
e42a325f6e Bug 487216 - TM: Other builtins that call JS_malloc. r=gal. 2009-04-07 16:26:13 -05:00
Brendan Eich
962b187fe5 upvar2, aka the big one take 2 (452598, r=mrbkap). 2009-04-05 21:17:22 -07:00
Andreas Gal
706120c0fb Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474 upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Robert Sayre
150b7d8a28 Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00
Igor Bukanov
a8094a7903 bug 437325 - JSThread is no longer shared between JSRuntime instances. r=brendan 2009-03-24 13:07:35 +01:00
Jim Blandy
875aee5e88 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Igor Bukanov
3e7114aad2 bug 482038 - removal of JSRuntime.gcPoke checks from js_NewGCThing. r=brendan 2009-03-12 10:15:55 +01:00
Igor Bukanov
4ccdead266 bug 480700 - no more static asserts in headers. r=brendan 2009-03-05 12:12:50 +01:00