Commit Graph

1226 Commits

Author SHA1 Message Date
jst@mozilla.org
66c429560a Landing updated fix for bug 410223. Don't allocate links on the heap. Patch by mrbkap@gmail.com and jst@mozilla.org, r+sr=brendan@mozilla.org/mrbkap@mozilla.org 2008-02-08 15:10:06 -08:00
brendan@mozilla.org
c99115d69a Fix bogus assertion (416404, r=shaver). 2008-02-08 14:59:59 -08:00
igor@mir2.org
98c2a791fd Attachment 302122: optimizing JSOP_NEG, r=brendan a=blocking1.9 2008-02-08 14:01:09 -08:00
igor@mir2.org
0d622a949f Bug 385133: proper verification for stack layout in the decompiler, r=brendan a=blocking1.9 2008-02-08 13:59:05 -08:00
bclary@bclary.com
333b6501a8 JavaScript Tests - fix window detection in test for bug 367121 2008-02-08 12:51:08 -08:00
dbaron@dbaron.org
341458ed79 More detailed description of JS objects. b=414972 r+sr=peterv a=not part of default build (DEBUG_CC only) 2008-02-08 11:50:47 -08:00
dbaron@dbaron.org
9c5ed38724 Add comment explaining mJSRoots and ExplainLiveExpectedGarbage business. 2008-02-08 11:50:16 -08:00
brendan@mozilla.org
23c36b84f4 Return of the property cache (365851, r=shaver). 2008-02-07 15:18:45 -08:00
crowder@fiverocks.com
1b68f69747 Bug 415922 - Exception from within JSNewEnumerateOp on JSENUMERATE_NEXT not supported, patch by Joachim Kuebart <jkuebart@ptc.com>, r=brendan, a1.9=brendan 2008-02-07 12:09:48 -08:00
bclary@bclary.com
6043063ef4 JavaScript Tests - regression test for bug 367121, by moz_bug_r_a4 2008-02-07 07:29:40 -08:00
bclary@bclary.com
ee91c4fe1e JavaScript Tests - regression test for bug 351795, by Jesse Ruderman 2008-02-07 06:10:49 -08:00
bclary@bclary.com
8981e01fd3 JavaScript Tests - regression test for bug 373828, by Jesse Ruderman 2008-02-07 05:53:08 -08:00
bclary@bclary.com
9213ad39d9 JavaScript Tests - regression tests for bug 352640, by Jesse Ruderman 2008-02-07 05:50:24 -08:00
bclary@bclary.com
bda5e41ce2 JavaScript Tests - regression test for bug 381304, by Biju 2008-02-07 05:46:59 -08:00
bclary@bclary.com
975fb3f355 JavaScript Tests - regression test for bug 379523, by Jesse Ruderman 2008-02-07 05:44:32 -08:00
bclary@bclary.com
2f6d75ae86 JavaScript Tests - regression test for bug 356106, by Jesse Ruderman 2008-02-07 05:42:23 -08:00
bclary@bclary.com
3ead1ec961 JavaScript Tests - regression test for bug 355622, by Jesse Ruderman 2008-02-07 05:39:53 -08:00
bclary@bclary.com
295e588eed JavaScript Tests - regression test for bug 406555, by Igor Bukanov 2008-02-07 05:37:06 -08:00
bclary@bclary.com
7f6201d03b JavaScript Tests - regression test for bug 362583, by Jesse Ruderman 2008-02-07 05:33:53 -08:00
bclary@bclary.com
6214d76ae2 JavaScript Tests - regression test for bug 361617, by Jesse Rudermen 2008-02-07 05:30:54 -08:00
peterv@propagandism.org
e40e28c8f6 Fix for bug 415037 ("success" returned uninitialized from XPCVariant::VariantDataToJS). r/sr=jst, a=schrep. 2008-02-07 03:38:13 -08:00
reed@reedloden.com
034ef625c9 Bug 414963 - "C++ warnings in jsnum.c, jsutil.c (with g++ -Wconversion)" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-06 13:34:51 -08:00
reed@reedloden.com
ffc995d036 Bug 412985 - "Provide stubs for JS_THREADSAFE APIs in non-JS_THREADSAFE builds" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-06 13:33:44 -08:00
bclary@bclary.com
5786c45c26 JavaScript Tests - run Tinderbox browser tests without restarting browser, bug 406196 2008-02-06 12:05:33 -08:00
brendan@mozilla.org
1062056759 Fixed generation-number-optimized hash revalidation (415721, r=igor). 2008-02-05 17:25:12 -08:00
nboyd@atg.com
404d4a8deb Test case for bug 415451 r=bclary@bclary.com 2008-02-05 13:52:34 -08:00
nboyd@atg.com
38cd7e2900 Regression test for bug 414098. r=bclary@bclary.com 2008-02-05 10:53:18 -08:00
brendan@mozilla.org
192c9c8568 Reload key in case of multithreaded race to atomize the same string chars (415474, r=igor). 2008-02-03 21:12:33 -08:00
igor@mir2.org
43ba6ec933 Bug 400902: Backing out due to test failures. 2008-02-03 19:41:31 -08:00
igor@mir2.org
0bed6fb140 Bug 400902: specialized arena for fast allocation of double values.r,a=brendan ab3=mtschrep 2008-02-03 18:37:22 -08:00
nboyd@atg.com
d37ce251dc As you might expect, a regression test for bug 414553. r=bclary@bclary.org 2008-02-01 12:48:02 -08:00
igor@mir2.org
b57a98b51e Bug 400902: backing out due to test failures. 2008-02-01 11:59:59 -08:00
igor@mir2.org
ea03e8c6f0 Bug 400902: using a specialized GC arena for doubles. r,a=brendan a1.9b3=mtschrep 2008-02-01 10:39:23 -08:00
igor@mir2.org
772db95093 Bug 415207: fix time overflow in arena aging code. r=crowder a1.9,a1.9b3=beltzner 2008-02-01 09:56:23 -08:00
igor@mir2.org
b80ad65983 Bug 354135: protect against oo recursion in e4x. r,a=brendan, a1.9b3=mtschrep 2008-01-31 22:01:17 -08:00
peterv@propagandism.org
0baafbfe92 Fix for bug 415017 ("ASSERTION: Fault in cycle collector: script pointer traversal failed"). r/sr=jst, a=beltzner. 2008-01-31 17:06:53 -08:00
mrbkap@gmail.com
2ad45f5e52 Get the right principal for cloned functions. bug 415030, r=brendan 2008-01-31 16:21:12 -08:00
brendan@mozilla.org
199d4eb591 Fix from Arjan Van De Ven <arjan.van.de.ven@intel.com> to regression from patch for bug 312238 (fixing 353962, r=me, a=beltzner). 2008-01-31 13:42:43 -08:00
timeless@mozdev.org
ebdf2bd20b Bug 411249 Top crash [@ jsds_ScriptHookProc][@jsds_ScriptHookProc(JSDContext*, JSDScript*, int, void*)] on shutdown with Firebug 1.1.0b10 installed r=gijs a=beltzner 2008-01-31 11:12:47 -08:00
igor@mir2.org
ebc4d54ffe Bug 414871: fixing gczeal issue. r=brendan, approval1.9b3=beltzner 2008-01-30 18:19:49 -08:00
reed@reedloden.com
0582342e0a Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor] 2008-01-30 15:39:42 -08:00
brendan@mozilla.org
9ca1759344 Try to fix Ts regression (414452, r=shaver). 2008-01-30 00:25:52 -08:00
brendan@mozilla.org
0fb54b4f78 Move serialized cycle detector for __proto__ and __parent__ into js_GC (414452, r=igor+shaver). 2008-01-29 22:29:49 -08:00
brendan@mozilla.org
2d27499625 Final js1.8 feature: sugar for object destructuring (404734, r=mrbkap). 2008-01-29 22:27:13 -08:00
jst@mozilla.org
a45232f25f Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same. 2008-01-29 21:55:12 -08:00
igor@mir2.org
5c7d98ca57 Attachment 300249: better handling of numeric conversions. r,a=brendan 2008-01-29 21:35:34 -08:00
brendan@mozilla.org
baf0f49cd3 Dammit. 2008-01-29 21:14:55 -08:00
mrbkap@gmail.com
bcc1b2d3e4 Don't wrap chrome objects in SJOWs if we don't have to. bug 414296, r=jst sr=bzbarsky 2008-01-29 21:13:19 -08:00
brendan@mozilla.org
24fc5a193b Oops. 2008-01-29 21:12:45 -08:00
brendan@mozilla.org
590baa843f Don't self-lock in the JSGC_BEGIN callback (413097, r=shaver). 2008-01-29 21:10:09 -08:00
crowder@fiverocks.com
8770eff094 Bug 331043 - Improve hash performance using _rotr intrinsic (js/src hunk), patch by Michael Moy <mmoy@yahoo.com> with updates by me and r=wtc, r=brendan, a=brendan 2008-01-29 18:36:33 -08:00
jst@mozilla.org
fa3722f2b7 Fixing bug 413774. Don't suspend/resume requests when making native calls into C++ in XPConnect, do the suspend/resume when pushing/popping JS contexts off of the context stack instead. r=shaver@mozilla.org, sr=brendan@mozilla.org 2008-01-29 18:28:58 -08:00
mrbkap@gmail.com
cc6a72a011 Outerize this when we're computing it. bug 394012, r=brendan 2008-01-29 18:16:56 -08:00
crowder@fiverocks.com
52337e9048 Bug 408113: allocate stackPools less often, r=brendan, a=blocking1.9 (schrep) 2008-01-29 18:11:30 -08:00
mrbkap@gmail.com
bf6ad82099 SJOW's equality hook returns true too much. bug 413902, r+sr=jst a=damons 2008-01-29 18:06:17 -08:00
peterv@propagandism.org
6d9909d3c6 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
mrbkap@gmail.com
23f577e2e9 Preserve interesting attributes on same-origin XOWs. bug 393269, r+sr=jst a=beltzner 2008-01-29 16:28:30 -08:00
jst@mozilla.org
58f7d84c76 Fixing bug 414658. Make sure to not use a context from a different thread when calling functions on a wrapped JS object. r+sr=peterv@propagandism.org 2008-01-29 15:56:49 -08:00
igor@mir2.org
3d870e0a9e Bug 413744: JS_GCMETER requires to recompile just js/src, not the whole browser. r,a=brendan 2008-01-29 14:17:25 -08:00
peterv@propagandism.org
ac2b416a74 Try to fix orange 2008-01-29 13:42:05 -08:00
reed@reedloden.com
2e75103f0e Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-29 12:51:46 -08:00
peterv@propagandism.org
02be459ead Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
nboyd@atg.com
de4faab787 Missing ECMA conformance test, see https://bugzilla.mozilla.org/show_bug.cgi?id=392593 2008-01-29 07:02:12 -08:00
brendan@mozilla.org
a4625d2c2b Revert last checkin (414452). 2008-01-29 00:45:14 -08:00
brendan@mozilla.org
f4f2be6738 Move guts of js_SetProtoOrParent to jsgc.c, unifying serialization and deadlock avoidance machinery (414452, r=igor). 2008-01-28 23:18:21 -08:00
jst@mozilla.org
5b693cda1d Fixing windows bustage. 2008-01-28 15:54:56 -08:00
mrbkap@gmail.com
016c02e592 Backing out to see if this is the cause for apparent random crashes. 2008-01-28 15:52:54 -08:00
jst@mozilla.org
0617bf0012 Fixing bug 413559. Make XPConnect use faster accessors for JS class/parent/private/proto. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2008-01-28 15:19:51 -08:00
mrbkap@gmail.com
f1674b21d6 There might be a pushed context but no running code. bug 413200, r+sr=jst a=blocking-1.9+ 2008-01-28 15:10:30 -08:00
mrbkap@gmail.com
de6902bc6c Create a more valid pseudo-frame for liveconnect to avoid null ptr dereferences. bug 409720, r=brendan sr=jst a=brendan 2008-01-28 15:07:29 -08:00
mrbkap@gmail.com
228f48bb7b Don't allocate links on the heap. bug 410223, r+sr=brendan a=schrep 2008-01-28 15:03:42 -08:00
igor@mir2.org
3a0fa756f8 Bug 413793: fixing JS compilation. r=outside of the browser three 2008-01-28 14:36:59 -08:00
brendan@mozilla.org
fac36f1423 Must lock newborn block object (shared) scope before calling js_GetMutableScope (413850, r=mrbkap). 2008-01-27 18:13:00 -08:00
mrbkap@gmail.com
5e6ad84a84 Fix think-o causing valgrind errors during evalcx(). bug 414219, r=shaver NPOTB 2008-01-27 09:27:01 -08:00
brendan@mozilla.org
6b498ff79d Fix #if-related bug that broken compilation of pre-1.7 versions (bug 412894, r=timeless). 2008-01-26 23:58:06 -08:00
jst@mozilla.org
2bc0dc4a67 Landing fix for bug 412462. Do the right thing when converting objects wrapped in XOWs. Patch by mrbkap@gmail.com, r=jst@mozilla.org, sr=brendan@mozilla.org 2008-01-25 16:36:44 -08:00
jst@mozilla.org
4a75bf49ad Landing fix for bug 411093. Make sure functions get the right filename. Patch by mrbkap@gmail.com, r=brendan@mozilla.org 2008-01-25 16:28:08 -08:00
jst@mozilla.org
918fe24c0f Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu 2008-01-25 13:49:11 -08:00
jst@mozilla.org
a396f5c5b2 Fixing bug 413569. Make XPCWrappedNative::CallMethod() initialize the nsAutoString buffer used for [out] string param handling only when needed. r+sr=jonas@sicking.cc 2008-01-23 17:17:13 -08:00
jst@mozilla.org
5be0f146b4 Fixing bug 413045. Make some JS API functions faster by accessing obj->fslots[] directly when possible. r=brendan@mozilla.org, r=igor@mir2.org. 2008-01-23 14:05:43 -08:00
igor@mir2.org
d655ea404a Bug 413556: Patch from Jason Orendorff to fix JS_ConvertArguments. r,a=brendan 2008-01-23 06:20:38 -08:00
igor@mir2.org
5732653d7d Bug 412340: avois rehashing of alreday atomized strings. r,a=brendan 2008-01-23 05:17:47 -08:00
igor@mir2.org
d43d9f85f7 Bug 413565: GC now put all free cells to free lists. r,a=brendan 2008-01-23 05:05:48 -08:00
igor@mir2.org
8cac5d8192 Bug 411722: backing out again to fix incorrect error recovery 2008-01-23 01:56:28 -08:00
igor@mir2.org
5bba705e56 Bug 411722: faster implementation of js_GetLocalNameArray. r,a=brendan 2008-01-23 01:38:32 -08:00
igor@mir2.org
96e6234d30 Bug 411722: the new version of the patch shows the same bad Ts regression, backing out again. 2008-01-22 01:06:06 -08:00
brendan@mozilla.org
836d77cb43 Fix #ifdef NARCISSUS code to track patch for bug 409476 (NPOTB). 2008-01-22 00:56:26 -08:00
igor@mir2.org
9229a65e1e Bug 411722: faster implementation of js_GetLocalNames. r,a=brendan 2008-01-22 00:21:54 -08:00
sayrer@gmail.com
0940f6e7ea Bug 411365. Shark functions. r/sr=brendan 2008-01-21 22:37:53 -08:00
mrbkap@gmail.com
c5b1743399 Use already running code's context when executing JS code from C++. bug 412598, r+sr=jst 2008-01-21 16:27:13 -08:00
jst@mozilla.org
e3b9c872ac Fixing bug 412698. Make XPConnect cache the per thread data for the main thread and use the cache when running on the main thread to save on time getting at the per thread data. r=dbradley@gmail.com, sr=brendan@mozilla.org 2008-01-20 20:51:55 -08:00
jst@mozilla.org
298532b587 Fixing bug 408301. Make more XPConnect wrappers share their JS object maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-20 13:03:52 -08:00
igor@mir2.org
84985132e6 Bug 413241: fixing bogus assertion in Statements() from jsparse.c. r=brendan,mrbkap a=brendan 2008-01-20 12:55:42 -08:00
igor@mir2.org
108d35d59d Bug 411722: Backing out due to bad Ts regression. 2008-01-20 11:11:59 -08:00
igor@mir2.org
949929f32c Bug 411722: faster implementation of js_GetLocalNames. r=brendan a=blocking1.9+ 2008-01-20 09:42:38 -08:00
peterv@propagandism.org
4112c6c1b2 Part of fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst. 2008-01-20 09:29:35 -08:00
timeless@mozdev.org
4e4cbbbb99 Bug 334195 XPCWrappedNative::HandlePossibleNameCaseError dereferences an unitialized value if !set r=dbradley sr=jst a=mtschrep 2008-01-20 03:21:36 -08:00
igor@mir2.org
d8ee415593 Bug 410649: function statement and destructuring parameter name clash now favours the function. r,a=brendan 2008-01-20 02:34:06 -08:00
reed@reedloden.com
c8dfc1c3ff I'm dumb. Please forgive me. Yes, that includes you, shaver. 2008-01-20 01:54:09 -08:00
reed@reedloden.com
352309c6aa Bug 331545 - "Use _InterlockedCompareExchange for js_CompareAndSwap" [p=mmoy@yahoo.com (Michael Moy) r+a1.9=brendan a=blocking1.9+] 2008-01-19 20:39:10 -08:00
jwalden@mit.edu
706133e296 Fix typo noted by igor, bug 409476 2008-01-19 18:52:23 -08:00
sayrer@gmail.com
7b20fcd464 Bug 412874. Need Shark functions in JS component global scope. r/sr=brendan 2008-01-19 18:31:10 -08:00
shaver@mozilla.org
a4e4429bfb Config file for Solaris 10 from Wesley Garland (wes@page.ca), r=shaver. 2008-01-19 18:12:59 -08:00
jwalden@mit.edu
84e3a1e6db Bug 409476 - js_ValueToBoolean is pure, remove cx and out parameters and just return a boolean value for better perf. r+a=brendan 2008-01-19 16:56:08 -08:00
igor@mir2.org
70aa979d4f Bug 411025: temp rooting implemenation cleanup, r,a=brendan 2008-01-19 16:46:37 -08:00
sayrer@gmail.com
4475a39348 Bug 411365. JS Shark renames per brendan. r/a=brendan 2008-01-19 15:33:08 -08:00
igor@mir2.org
28f999de16 Bug 413104: access to JSString is hidden behind macros even for a flat string. 2008-01-19 13:15:08 -08:00
reed@reedloden.com
34fb42c02c Back out Igor's patch from bug 412340 due to consistent orange on fxdbug-win32-tb. 2008-01-19 00:06:45 -08:00
igor@mir2.org
d4e057f519 Bug 412340: JString stores a flag to indicate that it was atomized. r=brendan a=blocking1.9+ 2008-01-18 18:56:51 -08:00
peterv@propagandism.org
63e4ecdee0 Back out remainder of patch for bug 412491 to try to fix orange. 2008-01-18 07:36:28 -08:00
peterv@propagandism.org
9926e9682e Back out to try to fix orange. 2008-01-18 05:59:07 -08:00
peterv@propagandism.org
4c040e3394 Fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst. 2008-01-18 05:29:06 -08:00
reed@reedloden.com
2c81d2a307 Back out patch from bug 411579, as there may be a Ts perf regression. 2008-01-18 02:36:40 -08:00
reed@reedloden.com
cf0a71a1f5 Bug 412811 - "xpconnect-tools build broken" [p=armin76@gentoo.org (Raúl Porcel) r+sr=bsmedberg (NPODB)] 2008-01-18 01:09:18 -08:00
reed@reedloden.com
a6dbb66e21 Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-18 01:08:09 -08:00
reed@reedloden.com
e84a13e51f Bug 411968 - "Finishing JS_AlreadyHasOwnProperty" (CHECK_REQUEST(cx) in JS_AlreadyHasOwn{,UC}Property) [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-01-17 02:28:57 -08:00
sayrer@gmail.com
721a421573 Bug 411365. Start and stop Shark from JS. r=crowder, sr=jst 2008-01-16 12:42:50 -08:00
igor@mir2.org
6fb57f3c71 Bug 412047: optimizing regexp upper/lower. r=crowder,a=blocking1.9 2008-01-16 00:31:15 -08:00
reed@reedloden.com
dbfc68a956 Bug 411285 - "js_BoyerMooreHorspool is sometimes called for very short texts" [p=Seno.Aiko@gmail.com r=crowder a1.9=schrep] 2008-01-15 22:37:13 -08:00
bclary@bclary.com
fc8b8545a9 JavaScript Tests - test iterator value scope in array comprehension, by Norris Boyd, bug 412467, not part of the build 2008-01-15 20:47:31 -08:00
mrbkap@gmail.com
fadd2b40a9 Don't call js_PopStatement if there was a parse error. bug 410852, r=brendan 2008-01-15 14:24:54 -08:00
bent.mozilla@gmail.com
cd9ef5755c Bug 352791 - "Permission denied to get property XULElement.ownerDocument". Patch by Blake Kaplan <mrbkap@gmail.com>. r=jst,bzbarsky. sr=brendan. a=blocking1.9. 2008-01-15 10:23:46 -08:00
benjamin@smedbergs.us
f4fc98e442 Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:57:43 -08:00
benjamin@smedbergs.us
dfc4cee45d Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
bclary@bclary.com
fb46ae01b6 JavaScript Test - fix thinko in ecma_3/Number/15.7.4.3-01.js, bug 412068 2008-01-14 23:09:46 -08:00
jwalden@mit.edu
961c502c55 Bug 412068 - Number.prototype.toLocaleString incorrectly accesses the memory where its first argument should be, even if no first argument is actually given. Tag-team r=igor, r+a=brendan By the way, this checkin occurred on an orange tree. Just like every other patch in the last day. Yay checkin policy. 2008-01-14 20:16:08 -08:00
bclary@bclary.com
a370aa63b2 Sisyphus|JavaScript Tests - fix runtests.sh -e extra argument processing, bug 412317, not part of the build 2008-01-14 11:07:01 -08:00
sayrer@gmail.com
0b2ec181fe Bug 412210. SpiderMonkey faster at -O2 with msvc. r/a=brendan 2008-01-13 20:45:42 -08:00
bclary@bclary.com
b7550378f8 Sisyphus|JavaScript Tests - TinderboxPrint of test counts contain leading whitespace, bug 412183, not part of the build 2008-01-13 10:44:48 -08:00
jag@tty.nl
9d8ca5c0c9 Bug 406800: HP's OA crash [@js_FinalizeObject][@ RtlpDeCommitFreeBlock] when loading blade enclosure info. r/sr=peterv GC was clearing mJSVal without updating mData, so XPCTraceableVariant's destructor would get confused and call Cleanup() on mData when it shouldn't (the buffer pointed to wasn't ours to free, you see). Instead of avoiding Cleanup(), make it be harmless by nulling out the pointer to the buffer. 2008-01-13 10:21:08 -08:00
bclary@bclary.com
e0f531d24f JavaScript Tests - update public failures, bug 314874 verified fixed 2008-01-13 09:40:04 -08:00
brendan@mozilla.org
d56e272e19 * Menu of -D flags for enabling instrumentation, as a commented-out CFLAGS += setting for convenient testing. * js_FindProperty and js_LookupPropertyWithFlags return indexes into the scope and prototype chains, respectively, to support internal instrumentation, and to pave the way for the return of the property cache (bug 365851).. * jsutil.[ch] JSBasicStats struct and functions for computing mean/sigma/max and auto-scaling histogram. * JS_SCOPE_DEPTH_METER instrumentation for compile- and run-time scope chain length instrumentation: + At compile time, rt->hostenvScopeDepthStats and rt->lexicalScopeDepthStats meter scope chains passed into the compile and evaluate APIs. + At runtime, rt->protoLookupDepthStats and rt->scopeSearchDepthStats track steps along the prototype and scope chains until the sought-after property is found. * JS_ARENAMETER uses JSBasicStats now. * Added rt->liveScopePropsPreSweep to fix the property tree stats code that rotted when property tree sweeping moved to after the finalization phase. * Un-bitrotted some DEBUG_brendan code, turned some off for myself via XXX. * Mac OS X toolchain requires initialized data shared across dynamic library member files, outlaws common data, so initialize extern metering vars. * Old HASHMETER code in jshash.[ch] is now JS_HASHMETER-controlled and based on JSBasicStats. * DEBUG_scopemeters macro renamed JS_DUMP_SCOPE_METERS; uses JSBasicStats now. * Disentangle DEBUG and DUMP_SCOPE_STATS (now JS_DUMP_PROPTREE_STATS) and fix inconsistent thread safety for liveScopeProps (sometimes atomic-incremented, sometimes runtime-locked). * Compiler-modeled maxScopeDepth will propagate via JSScript to runtime for capability-based, interpreter-inlined cache hit qualifier bits, to bypass scope and prototype chain lookup by optimizing for common monomorphic get, set, and call site referencing a prototype property in a well-named object (no shadowing or mutation in 99.9% of the cases). 2008-01-12 16:31:31 -08:00
reed@reedloden.com
6f59510259 Change to ISO C90 comment style to fix warning in sayrer's last patch. 2008-01-11 23:37:32 -08:00
sayrer@gmail.com
d91f780693 Bug 353962. Use OSAtomic on Darwin for JS thinlocks. r/a=brendan 2008-01-11 23:16:14 -08:00
dwitte@stanford.edu
97a45f037f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-11 20:30:42 -08:00
bclary@bclary.com
bf82c4ec6d JavaScript Tests - regression test for bug 411893, by Jeff Walden, not part of the build 2008-01-11 19:54:40 -08:00
bclary@bclary.com
76155f504d JavaScript Tests - regression test for bug 411889, by Jeff Walden, not part of the build 2008-01-11 19:48:16 -08:00
myk@mozilla.org
dbbcaac1ab backing out jst's fix for bug 408301 because it seems to have turned some tinderboxen red, others orange, and caused web content regressions 2008-01-11 17:56:21 -08:00
jwalden@mit.edu
5b92bba950 Fix dumb mistake in the last toString patch that causes proto-acid3 to crash. 2008-01-11 16:12:36 -08:00
jwalden@mit.edu
9123e1bf35 Bug 411893 - num.toPrecision(undefined) !== num.toString(). r=crowder, a=brendan 2008-01-11 15:12:15 -08:00
jwalden@mit.edu
f327bdf265 Bug 411889 - Given a = num.toString(), b = num.toString(undefined), c = num.toString(10), expect (a === b && b === c). r=crowder, a=brendan 2008-01-11 15:07:13 -08:00
jst@mozilla.org
0619ce52c3 Re-landing fix for bug 408301 to see if it really was the cause of the orange last time it landed. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-11 15:06:40 -08:00
dbaron@dbaron.org
79f94348dc Unset and reset the JS context global objects when doing ExplainLiveExpectedGarbage, just like when doing normal cycle collection. b=410116 r+sr=peterv Not part of default build (DEBUG_CC-only). 2008-01-11 14:24:33 -08:00
nboyd@atg.com
a9bc0dbe8e Fix bug 411539 Generalize some tests for Rhino and Spidermonkey. r=bclary@bclary.com 2008-01-11 09:38:09 -08:00
benjamin@smedbergs.us
d4e1973996 Bug 411531 - Assertion failure !rt->gcRunning because I accidentally turned off deffered-release of wrapped natives during GC, r+sr=peterv 2008-01-11 06:52:45 -08:00
dwitte@stanford.edu
66d4df40f5 backing out the rest. 2008-01-11 02:56:35 -08:00
dwitte@stanford.edu
9d626da131 partial backout in an attempt to fix orange. 2008-01-11 02:08:58 -08:00
dwitte@stanford.edu
8a6c4d235f relanding bug 410250. 2008-01-11 01:13:04 -08:00
dwitte@stanford.edu
d2b6f4f5ed backing out to fix orange. 2008-01-10 20:59:44 -08:00
dwitte@stanford.edu
1798542e9f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-10 19:56:00 -08:00