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 |
|
igor@mir2.org
|
a4162380a8
|
Bug 398609: simpler handling of hidden properties, r,a=brendan
|
2007-11-19 09:15:45 -08:00 |
|
igor@mir2.org
|
7d6e57125d
|
Bug 398609: backing out due to test failures.
|
2007-11-18 16:58:46 -08:00 |
|
igor@mir2.org
|
64dc5b1984
|
Bug 398609: cleanup of hidden properties support. r,a=brendan
|
2007-11-18 16:36:49 -08:00 |
|
igor@mir2.org
|
837c046912
|
Bug 398609: Backing out due to mochi test failure.
|
2007-11-13 07:47:28 -08:00 |
|
igor@mir2.org
|
6c43fd5702
|
Bug 398609: cleanup of hidden properties. r,a=brendan
|
2007-11-13 06:56:18 -08:00 |
|
igor@mir2.org
|
6360c6c769
|
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
|
a27e01321b
|
Bug 396758: taking the patch out as it broke the test cases.
|
2007-09-25 10:30:55 -07:00 |
|
igor@mir2.org
|
c43bd3e5f1
|
Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan
|
2007-09-25 10:08:41 -07:00 |
|
brendan@mozilla.org
|
ba3ad2ce7a
|
Fast (frame-less) native call optimizations (385393, r=igor).
|
2007-08-01 21:33:52 -07:00 |
|
brendan@mozilla.org
|
18e7692117
|
Backing out, see bug 389122 and orange or red tinderboxes.
|
2007-07-21 16:21:20 -07:00 |
|
brendan@mozilla.org
|
5f038f69ae
|
Fast natives and related optimizations (385393, r=igor).
|
2007-07-21 14:39:42 -07:00 |
|
igor@mir2.org
|
1aa40de49d
|
Bug 384151: refactoring boxing of primitive values, r=brendan
|
2007-06-14 00:07:01 -07:00 |
|
brendan@mozilla.org
|
3d1e7f3d01
|
Fix fun_resolve to avoid resolving hidden properties (locals/params; 382532, r=mrbkap).
|
2007-06-04 12:50:30 -07:00 |
|
igor@mir2.org
|
904650319a
|
Bug 375270: API to trace GC things graph without running the GC. r=brendan
|
2007-04-16 23:53:37 -07:00 |
|
hg@mozilla.com
|
465265d0d4
|
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
|
2007-03-22 10:30:00 -07:00 |
|