Граф коммитов

416 Коммитов

Автор SHA1 Сообщение Дата
brendan@mozilla.org 38e6d23318 Fix #ifdef NARCISSUS code to track patch for bug 409476 (NPOTB). 2008-01-22 00:56:26 -08:00
igor@mir2.org c526c4b477 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 d10363409b 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 bb8f471f9d 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
brendan@mozilla.org a83ad1b4dd * 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
igor@mir2.org 0391bf3b2d Bug 364776: New operation counter API to replace branch callback. r,a=brendan 2008-01-03 01:28:40 -08:00
jruderman@hmc.edu 291be0fbda Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red 2007-12-26 11:19:17 -08:00
igor@mir2.org 04dc8b4a16 Bug 364776: new operation callback API to replace branch callback. a,r=brendan 2007-12-25 02:12:26 -08:00
brendan@mozilla.org fe9da94d52 Don't fix typename bindings without JS2 opt-in (409252, r=mrbkap). 2007-12-20 15:29:31 -08:00
mrbkap@gmail.com 84507f0e2e Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles. bug 397855, r=brendan sr=dveditz 2007-12-20 14:59:44 -08:00
brendan@mozilla.org e19d051052 Remove DUMP_CALL_TABLE (preliminary patch for 365851, r=igor). 2007-12-14 13:36:02 -08:00
brendan@mozilla.org d859371bba Back out last rev due to orange tboxen. 2007-12-12 22:40:27 -08:00
jst@mozilla.org aebe41e4ba Fixing bug 408143. Make JSObjects share their prototypes scope (map) even if their ops differ, as long as their newObjectMap hooks are the same. r+a=brendan@mozilla.org 2007-12-12 21:42:04 -08:00
igor@mir2.org 6cfb248c69 Bug 397215: Runtime option to switch to UTF-8 encoding in byte <-> jschar conversiions. Patch from Sam Ruby with some changes by me. r,a=brendan 2007-12-11 02:09:58 -08:00
jwalden@mit.edu 5f1329f34e Bug 376957 - Prevent data leaks from cross-site JSON loads (JavaScript literals), by making the global name bindings ReadOnly/DontDelete and making [] and {} use the global bindings. Still more that can be done here, but this covers a lot of the fix. r+a=brendan 2007-12-03 19:05:24 -08:00
igor@mir2.org 30404149b6 Bug 403878: No compiler pseudo-frames when compiling functions. r,a=brendan 2007-11-29 06:49:42 -08:00
reed@reedloden.com af3a084357 Bug 404755 - fixing memory leak resulted from bug 363603 [p=igor@mir2.org (Igor Bukanov) r+a1.9=brendan] 2007-11-28 22:00:10 -08:00
reed@reedloden.com 52e3c0fabe Back out Igor's patch from bug 404755 to see if it fixes the orange. 2007-11-28 20:12:08 -08:00
igor@mir2.org d1174f4fdd Bug 404755: fixing memory leak resulted from bug 363603. a,r=brendan 2007-11-28 14:22:40 -08:00
igor@mir2.org a2efe3850f Bug 394941: report exhausting of the script memory quota as ordinary runtime exceptions. r=brendan, a1.9=beltzner 2007-11-22 14:21:18 -08:00
igor@mir2.org 2b99286186 Bug 398609: simpler handling of hidden properties, r,a=brendan 2007-11-19 09:15:45 -08:00
igor@mir2.org 16ef90a8d3 Bug 398609: backing out due to test failures. 2007-11-18 16:58:46 -08:00
igor@mir2.org 70095b9a80 Bug 398609: cleanup of hidden properties support. r,a=brendan 2007-11-18 16:36:49 -08:00
igor@mir2.org 2dde8b9ca8 Bug 398609: Backing out due to mochi test failure. 2007-11-13 07:47:28 -08:00
igor@mir2.org ba086a3cc1 Bug 398609: cleanup of hidden properties. r,a=brendan 2007-11-13 06:56:18 -08:00
reed@reedloden.com 62253eed3a Bug 353116 - ""has no properties" is misleading and should be replaced with "is null or undefined"" [p=rich@rd.gen.nz (Rich Dougherty) r=brendan r=crowder a1.9=damons] 2007-11-12 21:23:22 -08:00
jst@mozilla.org fbef483d10 Landing fix for bug 388564. Adding Dtrace probes to the JS engine. Patch by padraig.obriain@sun.com and brendan@sun.com, and some intergration work done by jst@mozilla.org. r=brendan@mozilla.org, igor@mir2.org, sayrer@gmail.com, and r+a=ted.mielczarek@gmail.com. 2007-10-19 15:24:32 -07:00
timeless@mozdev.org 503792e524 Bug 397239 ActionMonkey: Remove "extra" parameter to JS_FN patch by Jason Orendorff <jorendorff@mozilla.com> r=igor a=brendan 2007-10-13 13:09:48 -07:00
mrbkap@gmail.com 573fe68320 Restore dynamic indirect eval code. bug 383682, r=brendan/igor a=brendan 2007-10-09 15:42:42 -07:00
igor@mir2.org a1b737906d Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan 2007-10-01 12:11:41 -07:00
igor@mir2.org 52c026dec6 Bug 396758: taking the patch out as it broke the test cases. 2007-09-25 10:30:55 -07:00
igor@mir2.org b023149d49 Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan 2007-09-25 10:08:41 -07:00
igor@mir2.org 01fa406f7a Bug 333236: merge sweep and free phases in GC. r=brendan 2007-09-19 15:04:47 -07:00
brendan@mozilla.org fa8480ceab Back-out due to test failure. 2007-09-17 18:22:20 -07:00
brendan@mozilla.org bb19f7cb4a Make GCF_SYSTEM immutable per object (396487, r=igor). 2007-09-17 17:47:42 -07:00
igor@mir2.org c84965e000 Bug 392263: using mmap/VirtualAlloc for GC arenas. r=brendan 2007-09-16 06:03:17 -07:00
igor@mir2.org 1aff38bf7f Bug 392263: taking out the patch due to bug 396299. 2007-09-16 05:02:56 -07:00
igor@mir2.org b538af2624 Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan 2007-09-15 10:19:32 -07:00
igor@mir2.org a56e51010a Bug 392263: taking out the patch due to Mac build problems. 2007-09-15 08:26:30 -07:00
igor@mir2.org a728cd3fc8 Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan 2007-09-15 08:11:41 -07:00
igor@mir2.org c41347dda3 Bug 394709: fixing memory leak with watch handlers. r+a=brendan 2007-09-07 14:02:20 -07:00
igor@mir2.org e7cdba8c35 Bug 393184: js_NewGCThing no longer zeros the allocated thing. r=brendan 2007-08-22 13:56:08 -07:00
igor@mir2.org c7e12ef00d Bug 325202: XDR uses lossless encoding for all string. r=brendan 2007-08-21 14:22:26 -07:00
brendan@mozilla.org 102eae9333 One-char fix to recent regression (392944, r=mrbkap). 2007-08-20 18:24:51 -07:00
mrbkap@gmail.com 3a9f4a6d0b Get the right class -- off of obj2, not obj and ensure that we propagate failure from outerObject. bug 375344, r=brendan a=sicking 2007-08-17 18:24:51 -07:00
igor@mir2.org b2c68c63b9 Bug 391290: mutability flag for strings is stored inside strings. r=brendan 2007-08-15 23:23:06 -07:00
igor@mir2.org db0f3d53a2 Bug 386265: using double kashing for atoms. r=brendan 2007-08-11 13:25:16 -07:00
igor@mir2.org f705a82de6 Bug 391033: no frame manipulation when reporting errors. r=brendan 2007-08-10 23:12:00 -07:00
igor@mir2.org b3e7b100a7 Bug 387481, bug 389063: multithreading atom fixes and cleanups. r=brendan 2007-08-07 00:29:32 -07:00
brendan@mozilla.org 767c4ea288 Fast (frame-less) native call optimizations (385393, r=igor). 2007-08-01 21:33:52 -07:00