Commit Graph

1041 Commits

Author SHA1 Message Date
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