Commit Graph

325 Commits

Author SHA1 Message Date
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
Robert Sayre
86100e21e2 Merge mozilla-central to tracemonkey. 2009-08-20 18:02:17 -04:00
Jason Orendorff
5418886640 Bug 511418 - static-analysis error in jsobj.cpp:4257: cannot access JS_REQUIRES_STACK variable JSContext::fp and another trivial error in jstracer.cpp. r=gal.
--HG--
extra : rebase_source : 9ee93b34fbf656437932a4f3c8b373a11911cffd
2009-08-20 14:13:21 -05:00
Jason Orendorff
88e3edcd5e Bug 506491 - Download Manager opens 'Blank' - intermittent - Error: gStr.timeUnits is undefined and download is null. r=brendan.
--HG--
extra : rebase_source : 22338610bff62f5aefca99a07f4f54621d18a680
2009-08-20 12:25:09 -05: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
Jim Blandy
d73272bc1a Bug 509510: Make Object.getPrototypeOf reject primitives, not coerce them. r=mrbkap 2009-08-17 14:54:52 -07:00
Igor Bukanov
7e607aac4d bug 495061 - js_PutArgsObject and js_PutCallObject that never fail. r=brendan 2009-08-14 20:43:16 +02:00
Jason Orendorff
7de8690fbc Bug 510091 - Fennec crash on mousedown on an iframe. r=Waldo. 2009-08-13 16:07:13 -05:00
Luke Wagner
fa2f83712c Bug 507458 - clear the waters a bit regarding JSVAL_BOOLEAN 2009-08-12 16:39:23 -07:00
Jason Orendorff
9dc4a54a5d Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
Graydon Hoare
fd8a117e2f Bug 503694 - TM: Code run off an event handler is never traced, r=brendan.
--HG--
extra : rebase_source : da2e900baac68f88f06eaa8554b245f7d403153f
2009-08-06 12:40:51 -07:00
Robert Sayre
94c5688746 Backed out changeset 70b3b23c948a 2009-08-06 11:16:20 -07:00
Andreas Gal
af827d73f8 Memory-pressure based GC scheduler (506125, r=igor). 2009-08-05 17:27:20 -07:00
Andreas Gal
9c938dd547 Backout bug 506125 due to talos failures. 2009-08-04 18:42:53 -07:00
Andreas Gal
06ad033ff2 Memory-pressure based GC scheduler (506125, r=igor). 2009-08-04 14:58:21 -07:00
Igor Bukanov
ef90f6f522 bug 493457 - uniform access to private slots. r=mrbkap, sr=jwalden 2009-08-04 23:06:55 +02:00
Robert Sayre
99a0962393 Backed out changeset e09130fcb013 2009-07-28 18:51:35 -04:00
Brendan Eich
8d27b07ec5 Bug 471214 - Join function objects transparently, clone via read barrier to satisfy de-facto standard (r=igor). 2009-07-28 13:20:14 -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
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
Igor Bukanov
1fcf4af3b3 bug 505460 - preallocating reserved slots. r=brendan 2009-07-24 12:01:37 +02: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
Jason Orendorff
a31f80165c Bug 503080 - Remove prototype-scope-sharing. r=brendan. 2009-07-21 16:25:11 -05:00
Andreas Gal
f8892ed21b Shrink slots during GC only, split ReallocSlots into Alloc/Grow/ShrinkSlots (504478, r=igor). 2009-07-16 18:42:54 -07:00
Brendan Eich
b1cf17d802 Bug 501230 - TM: fast path for String.toString (r=gal). 2009-07-15 17:36:24 -07:00
Andreas Gal
1af8dfb112 Avoid integer division in NewGCThing path (503157, r=jwalden). 2009-07-14 17:06:09 -07:00
Robert Sayre
b172ec27fd Merge tracemonkey to mozilla-central. 2009-07-13 18:19:51 -04:00
Andreas Gal
f552010935 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00
Andrew Sutherland
aaeccd8701 bug 497355 - Assertion failure: STOBJ_GET_CLASS(obj) != &js_BlockClass, at /Users/moztest/comm/main/src/mozilla/js/src/jsscope.cpp:79. r=igor 2009-07-13 13:45:34 -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
d788e5a1d4 Make CHECK_FOR_STRING_INDEX an inline function (503666, r=jwalden). 2009-07-11 15:41:32 -07:00
Brendan Eich
f60779aef5 Bug 503343 - Change JSScope macros to methods. r=jorendorff 2009-07-09 15:27:21 -05:00
David Mandelin
975f74c278 Bug 453730: trace JSOP_ARGUMENTS, r=gal 2009-07-08 11:16:41 -07:00
Andreas Gal
e06ace81ce Build fix for 502145 with JS_TRACER disabled (no bug). 2009-07-06 07:01:21 +02:00
Andreas Gal
16a60091ed Shortcut lookup flag calculation when on trace (bug 502145, r=igor). 2009-07-06 06:42:13 +02:00
Andreas Gal
84b0735487 js_GetMethod shouldn't detect (501229, r=jorendorff). 2009-06-29 15:19:37 -07:00
Jason Orendorff
71785f1019 Bug 499897 - reverse INULL in js_ComputeFilename. r=Waldo. 2009-06-25 18:03:46 -05:00
Igor Bukanov
795af78c24 bug 499570 - fixing shutdown leak of not-yet-closed JSNativeEnumerator instances. r=brendan 2009-06-23 18:52:03 +02:00
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Jeff Walden
9607777654 Bug 496054 - TM: Null deref [@ JITted code] involving __proto__ munging and array-like access. r=brendan 2009-06-03 16:34:37 -07:00
Igor Bukanov
ae04e76e20 bug 494208 - js_SetProtoOrParent must check if the object is native before locking it. r=brendan 2009-05-29 10:47:51 +02:00
Blake Kaplan
3ffa053fd1 Fix GCC warnings about the argument to %p not being a void *. rs=jorendorff 2009-05-20 16:30:20 -07:00
Jason Orendorff
aa37602c02 Bug 490908 - js_DumpStackFrame. r=Waldo. 2009-05-20 10:10:03 -05:00
Benjamin Smedberg
8d53d7a7ea Bug 492113 - statically assert that we're not on trace in js_SetPropertyHelper, r=igor 2009-05-15 09:37:37 -04:00
Igor Bukanov
0374ee3760 bug 490364 - mutating parent chain shapes only for Call objects and only when adding properties that are not parameter or var names. r=brendan 2009-05-15 11:43:19 +02:00
Igor Bukanov
92f94e451c bug 491126 - sharing object map for non-native objects. r=brendan 2009-05-14 12:35:23 +02:00
Brendan Eich
0416e1e679 Bug 492355 - Suspected Txul regression from JS engine changes (r=igor). 2009-05-13 17:11:23 -07:00
Igor Bukanov
6c6cde911a bug 490364 - fixing bad typo in js_SetProtoOrParent. r=mrbkap 2009-05-13 15:05:28 +02:00
Brendan Eich
86967b457a Bug 452189 - regression (from firefox 2): prototype setters not called by inline cache for [[put]] (r=mrbkap). 2009-05-08 14:04:10 -07:00
Igor Bukanov
3597961095 bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan 2009-05-06 20:33:10 -02:30
jorendorff
93c6d226d3 Record all calls to native functions (487134, r=gal, brendan). 2009-05-05 14:26:06 -07:00
Andreas Gal
fe1ed6adb9 Backed out changeset 6534f8b9aa74 (bug 491013, assert on startup). 2009-05-04 15:07:53 -07:00
Igor Bukanov
d77b8664fb bug 491013 - fixing shared setter regression and eliminating several useless anonymous prototype objects. r=brendan 2009-05-03 20:43:55 -04:00
Igor Bukanov
227ef1efd3 bug 491115 - asserting in js_SetProtoOrParent only when not detecting cycles. r=brendan 2009-05-02 20:49:45 +02:00
Igor Bukanov
35116060a2 bug 489501 - consolidating
js_SetProto must mutate the prototype chain. r=brendan
2009-05-01 13:48:27 -07:00
Jim Blandy
d9e9626654 Bug 488018: Fix bustage: any function using TRACE_2 needs an 'error' label. 2009-04-30 17:54:20 -07:00
Andreas Gal
cafa156d52 We don't cache access to shared properties in the property cache (490666, r=igor,brendan). 2009-04-30 15:52:13 -07:00
Igor Bukanov
b8405f1171 bug 487846 - optimizing shape prediction for set opcodes. r=brendan 2009-04-29 07:07:21 -07:00
Graydon Hoare
9188f47f3a Backout a seemingly problematic line of cset d8c2060b0f9b. 2009-04-24 23:13: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
Andreas Gal
e58ef54027 js_NewInstance locks ctor on trace (490092, r=brendan). 2009-04-24 19:41:36 -07:00
Igor Bukanov
e4bc4e81cb bug 488995 - fixing error reporting for getter-only properties. r=mrbkap sr=jst 2009-04-22 12:39:08 +02:00
igor
48c3925a9a js_SetPropertyHelper does not null *entryp for read-only properties (489171, r=gal,brendan). 2009-04-20 17:00:59 -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
Igor Bukanov
ba556afe6d bug 487039 - caching only white-listed non-globals on the scope chain. r=brendan 2009-04-18 20:10:59 +02:00
Igor Bukanov
ac71be6d66 bug 487204 - NativeGet caching fixes. r=brendan 2009-04-18 19:56:53 +02:00
Graydon Hoare
f97341fdf6 Bug 488363 - Missing write barrier on global object, r=jorendorff. 2009-04-17 15:25:25 -07:00
Andreas Gal
da0094a55c Backed out changeset 324bb9dc8372 (bug 487204 is implicated in top site failures). 2009-04-17 12:41:00 -07:00
Andreas Gal
6520b20732 Backed out changeset 5bd116148175 (attempting to re-land bug 487204). 2009-04-16 17:56:18 -07:00
Andreas Gal
3b10c56019 Backed out changeset d1a4ee3d0c59 (bug 487204, due to possible leak). 2009-04-16 12:19:24 -07:00
Igor Bukanov
577cb23ac0 bug 487204 - avoiding extra locks for js_Native(Get|Set). r=brendan 2009-04-15 21:13:27 +02:00
Igor Bukanov
95c0598199 bug 488285 - fixing strict mode warnings with DOm window object. r=brendan 2009-04-15 16:09:58 +02:00
Igor Bukanov
225dc1322f bug 488029 - fixing bindname optimization regression from the bug 462734 plus creating js_DeclEnvClass instances together with Call objects. r=brendan 2009-04-14 12:54:37 +02:00
Igor Bukanov
6da0ea9b5e bug 462734 - fixing JSOP_BINDNAME caching issues. r=brendan 2009-04-11 10:11:06 +02:00
Igor Bukanov
d738892163 Backed out changeset 595ebe7b82fa - it had wrong patch 2009-04-11 10:07:42 +02:00
Igor Bukanov
de22fe3e47 bug 462734 - fixing JSOP_BINDNAME caching issues. r=brendan 2009-04-11 10:04:24 +02:00
Jason Orendorff
b5d4ba583e Bug 487676 - Nesting deep-aborting trace calls don't work. r=gal.
--HG--
extra : rebase_source : 436164485bd5e981e5ae8997eed2c371f3ecd77b
2009-04-09 18:07:00 -05:00
Jim Blandy
1d133ec6ba Bug 469237: Assert that we never add properties to lexical blocks. r=igor 2009-04-09 13:07:27 -07:00
Brendan Eich
fa172251b0 Bug 481514 - PurgeScopeChain should not deep-bail quite so eagerly (r=jorendorff, a=sayrer). 2009-04-06 13:24:34 -07: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
Igor Bukanov
4df05a423c bug 484861 - removal of unsed fields from JSObjectOps. r=mrbkap 2009-04-01 14:32:51 +02:00
Graydon Hoare
3e481f618d Bug 484751 - Followup patch to fix crash in initial checkin, r=mrbkap. 2009-03-31 19:34:32 -07:00
Jeff Walden
3e189b0822 Bug 484751 - TM: "Assertion failure: !OBJ_GET_CLASS(cx, proto)->getObjectOps, at ../jsobj.cpp". r=mrbkap 2009-03-31 14:24:01 -07:00
Robert Sayre
d3ae3d827d Merge mozilla-central to tracemonkey. 2009-03-29 10:42:32 -07:00
Jeff Walden
69543b2f1f Make js_DumpValue more useful with function jsvals. r=mrbkap 2009-03-26 16:07:54 -07:00
Robert Sayre
150b7d8a28 Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00