Commit Graph

252 Commits

Author SHA1 Message Date
Jason Orendorff
9dc4a54a5d Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
Blake Kaplan
adf434e70c Bug 513428 - Ignore transparent wrappers when deciding if something is an array or not. r=brendan 2009-09-10 14:51:45 -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
Jason Orendorff
b53824855d Bug 513119 - Change JSScript macros to methods. r=Waldo. 2009-09-09 18:52:55 -05: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
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
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Gregor Wagner
2e1104b40f Cache result of Number2String (bug 513530, r=brendan). 2009-09-04 16:28:30 -07:00
Luke Wagner
6bfe9f9329 Bug 460904 - rename/tweak JSTraceableFunction (take 2) 2009-09-04 13:44:31 -07:00
Luke Wagner
3087376a4d Backed out changeset 94da2f68afdb 2009-09-04 11:35:52 -07:00
Luke Wagner
52d822b6d2 Bug 460904 - rename/tweak JSTraceableFunction (r=jorendorff) 2009-09-03 11:57:14 -07:00
Brendan Eich
cce4dce512 Join lambdas assigned or initialized as methods to the compiler-created function object if we can, with a read barrier to clone on method value extractions other than call expressions (471214, r=jorendorff). 2009-09-03 14:41:19 -07:00
Jeff Walden
5670ca5621 Bug 514309 - Object.prototype.hasOwnProperty mishandles non-primitive property name. r=brendan
--HG--
extra : rebase_source : 56a59bf5d25f0c7303cac96b90fb4bababdf8e53
2009-09-02 21:13:51 -07:00
Igor Bukanov
b919139e8d bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan 2009-08-28 09:53:26 +04:00
Jason Orendorff
dafc9b5d2a Bug 508685 - Remove last parameter of defineProperty op. r=brendan. 2009-08-26 14:28:36 -07:00
Brendan Eich
b063d31520 Back out changeset aff171a8c4f0 (bug 471214). 2009-08-26 09:34:41 -07:00
Brendan Eich
bd8f55c0ad Join function objects where possible (471214, r=igor). 2009-08-25 23:42:37 -07:00
Andreas Gal
030a8114b2 Backed out changeset 9b6b17a275ec (bug 506125). 2009-08-25 14:42:42 -07:00
Andreas Gal
f808b9ca98 Memory-pressure based GC scheduler (506125, r=igor,jwalden). 2009-08-24 18:24:52 -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
David Mandelin
cfb0d1fd1b Bug 506821: clean up trailing whitespace, r=brendan 2009-07-27 18:40:12 -07:00
Igor Bukanov
bfbac69d3f bug 506243 - eliminate GC thread-local lists pools. r=brendan 2009-07-26 18:24:39 +02:00
Igor Bukanov
1c7dc7ec8c bug 505460 - followup to fix misspellings 2009-07-26 08:54:54 +02:00
Igor Bukanov
1fcf4af3b3 bug 505460 - preallocating reserved slots. r=brendan 2009-07-24 12:01:37 +02:00
Robert Sayre
9e0ade7287 Backed out changeset b3d459d23452 2009-07-24 00:01:37 -04: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
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
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
Andreas Gal
f552010935 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07: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
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
Andreas Gal
84b0735487 js_GetMethod shouldn't detect (501229, r=jorendorff). 2009-06-29 15:19:37 -07: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
Nicholas Nethercote
e2a97e3f4c Bug 496448: TraceVis TraceMonkey performance visualization, r=brendan 2009-06-16 09:30:01 +01:00
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Brendan Eich
77da9d75ed Bug 494235: wrap escaping optimized closures for the debugger API (r=igor/mrbkap). 2009-06-04 18:58:47 -07:00
Jason Orendorff
5504115d71 Bug 491646 - Expose js_StrictlyEqual() to consumers. r=mrbkap.
--HG--
extra : rebase_source : 620a67bca11c2e04692d3f72df8739028d0dbd21
2009-05-15 14:51:02 -05:00
Igor Bukanov
92f94e451c bug 491126 - sharing object map for non-native objects. r=brendan 2009-05-14 12:35:23 +02:00
Robert Sayre
8b3982769a Bug 442059 - [native JSON] allow to blacklist keys by name when encoding to JSON. r=brendan 2009-05-07 13:28:21 -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
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
Andreas Gal
a89bbaad23 Stay on trace when reading holes from dense arrays (489899, r=brendan). 2009-04-24 16:28:21 -07:00
Andreas Gal
9471e12092 Fix burning PowerPC builds. 2009-04-22 17:16:26 -07:00
Andreas Gal
a51f22dbdf Need an API exposed to control code cache size (474497, r=bent,brendan, sr=mrbkap). 2009-04-22 16:52:59 -07:00
jorendorff
e1b8077e65 Leaving outermost request should js_LeaveTrace (480301, r=brendan). 2009-04-20 18:22:00 -07: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
Blake Kaplan
f3d1280a04 Bug 488925 - Check for string indexes in the API entry points. r=brendan 2009-04-20 12:21:44 -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
David Mandelin
e57983f598 Bug 488808: crash due to JSString INIT macros stomping deflated flag, r=brendan 2009-04-17 19:30:26 -07:00
Igor Bukanov
94a3d7329c bug 487930 - removal of JSSLOT_ARRAY_LOOKUP_HOLDER. r=mrbkap 2009-04-17 11:37:59 +02: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
jorendorff
7a9b1b6e92 Leaving outermost request should js_LeaveTrace (480301, r=brendan). 2009-04-14 17:15:38 -07:00
Brendan Eich
0b6ed95284 Bug 487538 - bug 487271 left three tests broken in its wake (r=mrbkap). 2009-04-08 18:27:44 -07:00
David Mandelin
ab16a824b1 Bug 487173: Making undefined use stub getter/setter so use of global undefined can be traced, r=mrbkap 2009-04-07 17:01:20 -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
0e62709153 bug 486106 - restoring JS*Lookup API compatibility with fast arrays. r=shaver 2009-03-31 21:42:31 +02: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
Blake Kaplan
a5b61f895b Bug 483751 - Switch to use the new JSPropertyDescriptor API. Also fix it to return values on the prototype chain (which was sort of the point of its existance...). r+sr=jst 2009-03-20 14:24:24 -07: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
20e6be9c80 bug 362910 - js_GetMethod cleanup. r=brendan 2009-03-14 17:41:47 +01:00
Igor Bukanov
4b95050fe2 Backed out changeset 57de81309176 - bug 437325 - due to mochitest leaks on tinderbox 2009-03-13 18:36:46 +01:00
Igor Bukanov
3de011b9cd bug 437325 - JSThread is no longer shared between runtimes. r=brendan 2009-03-13 12:36:21 +01:00
Igor Bukanov
75640ecce1 Backed out changeset 4159ebdfe31e to fix some typos in the patch 2009-03-13 12:21:04 +01:00
Igor Bukanov
8eeedd9647 bug 437325 - JSThread is not shared between runtimes. r=brendan 2009-03-13 12:10:34 +01:00
Jason Orendorff
dbb0b6a149 Bug 481218 - js_IsCallable returns false for functions. r=brendan.
--HG--
extra : rebase_source : 52d3cba36f3fa1301223cb579bd75ec7bbd5d130
2009-03-11 10:46:45 -05:00
Blake Kaplan
1703c72fbc Bug 482381 followup -- use a better name for the "value" field. r=brendan
--HG--
extra : rebase_source : b819d281fdeaab16d562d9ded6841da5f5ea3cd3
2009-03-10 16:00:27 -07:00
Blake Kaplan
df0c6f4108 Bug 482381 - Add JS_GetPropertyDescriptorById to quickly get all information about a given property, possibly off of the prototype chain. r=brendan/jorendorff
--HG--
extra : rebase_source : 2384be436993600204d457861231a3b180bc5147
2009-03-10 15:21:25 -07:00
Igor Bukanov
4ccdead266 bug 480700 - no more static asserts in headers. r=brendan 2009-03-05 12:12:50 +01:00
Brendan Eich
53c9096f08 Bug 480759 - TM: trace RegExp constructors (r=gal). 2009-03-04 19:26:16 -08:00
Brendan Eich
f32c3d8613 Bug 480657 - TM: Add an API to define traceable constructors (r=gal, jorendorff). 2009-03-03 22:53:27 -08:00
Robert Sayre
100a8e68be Bug 476374 - JSON.parse does not support reviver argument as defined in spec. r=jorendorff 2009-03-03 12:55:11 -05:00
Blake Kaplan
2c8b7a955f Bug 480096 - Don't leave the last argument lying around in case someone accidentally uses it. r=brendan 2009-03-02 15:05:32 -08:00
Jeff Walden
dec5c0deac Kick tinderboxen as I still think this orange is bogus, because all the oranges seem to be happening in different locations across runs 2009-02-26 21:00:15 -08:00
Jason Orendorff
243d477a55 Bug 479887 - Remove vestigial #ifdef MOZILLA_1_8_BRANCH. r=Waldo.
--HG--
extra : rebase_source : e5ea3d25ae24e6e9900819656f18e1e3830c5bdd
2009-02-23 17:37:36 -06:00
Robert Sayre
12943580cf Merge m-c to tracemonkey. 2009-02-23 12:44:23 -05:00
Igor Bukanov
fe9a728583 bug 479252 - avoiding watchdog ticks when idle in jsshell. r=gal 2009-02-20 13:47:46 +01:00
Igor Bukanov
7ac32de806 bug 478543 - fixing warnings about casts between function and data pointers. r=brendan 2009-02-19 09:33:37 +01:00