js/src/jsobj.c
4030429c22ca2411570fc02daa417290caa956e3
created 2008-02-15 02:31 -0800
pushed 2011-04-26 22:38 +0000
shaver shaver - back out for mochitest failures in prototype
62a0daeadfa99f45605e4fffdb23a8f8764c0b05
created 2008-02-15 01:48 -0800
pushed 2011-04-26 22:38 +0000
shaver shaver - Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan.
da2b12b01c59b276e188b9e1888b1034f62b847d
created 2008-02-14 18:41 -0800
pushed 2011-04-26 22:38 +0000
gavin gavin - Back out bug 322889 due to jQuery unit test failures
5ccfa05ed96c9a302adb7a792843e30e78e88673
created 2008-02-14 17:07 -0800
pushed 2011-04-26 22:38 +0000
shaver shaver - Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan
5943e539a3aa6d35f725be05a2a7208a4faed9e0
created 2008-02-13 21:10 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Optimize wrapper creation via JS_NewObjectWithGivenProto, and avoid cycle-check overhead in JS_Set{Prototype,Parent} (408871, r=mrbkap).
2d795dc577827cf738cb206f1ddfede6703f1c2a
created 2008-02-13 19:12 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Must set initial slot value in js_DefineNativeProperty via write barrier (417012, r=shaver).
1c6a6bbaf7bfd0050767782d39e7f4e94fc2e3fd
created 2008-02-10 17:12 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Export js_CheckForStringIndex from jsobj.c for use by assert in jsinterp.c (416460, r=shaver).
2b0fec60ed8986533559ef0edfaa22ba976431a1
created 2008-02-08 17:54 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Put js_DisablePropertyCache in the right place in the obj_eval flow graph (416406, r=shaver).
a4c9ab5d8752e6a05551be2bc8cd1e3f99c67cd4
created 2008-02-08 14:59 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Fix bogus assertion (416404, r=shaver).
ef58dabbbe59df601e4d59f49fe1e1e72db74456
created 2008-02-07 15:18 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Return of the property cache (365851, r=shaver).
7d30441fe5a5a3a6d5187d2db141adc659d86ded
created 2008-01-31 22:01 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 354135: protect against oo recursion in e4x. r,a=brendan, a1.9b3=mtschrep
b28b900c9fd6301af848e7ac6dbf5b78baeb4d5d
created 2008-01-29 22:29 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Move serialized cycle detector for __proto__ and __parent__ into js_GC (414452, r=igor+shaver).
de1471fb39981d62da0df6d82248b1a8b376e0ab
created 2008-01-29 00:45 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Revert last checkin (414452).
059516e496a8617bcd1dd6073df4e73eb932898f
created 2008-01-28 23:18 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Move guts of js_SetProtoOrParent to jsgc.c, unifying serialization and deadlock avoidance machinery (414452, r=igor).
b09ab30aee1d75e947b11bae9261e8ad033e94d4
created 2008-01-27 18:13 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Must lock newborn block object (shared) scope before calling js_GetMutableScope (413850, r=mrbkap).
cc8b120149e3f84a8b507f59da78e0b061b2180c
created 2008-01-23 14:05 -0800
pushed 2011-04-26 22:38 +0000
jst jst - Fixing bug 413045. Make some JS API functions faster by accessing obj->fslots[] directly when possible. r=brendan@mozilla.org, r=igor@mir2.org.
92c1ba245c8062ce094a3f7f1dbd3305b7ac9901
created 2008-01-22 00:56 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Fix #ifdef NARCISSUS code to track patch for bug 409476 (NPOTB).
000b156b4cb3503b1fc996fed4426b8d45f114c9
created 2008-01-19 13:15 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 413104: access to JSString is hidden behind macros even for a flat string.
decaf4a24b05692220789e7ccecd29cd8ddd20b4
created 2008-01-19 00:06 -0800
pushed 2011-04-26 22:38 +0000
reed reed - Back out Igor's patch from bug 412340 due to consistent orange on fxdbug-win32-tb.
274144368e3ba11285256e01c7cdc249f12a2f84
created 2008-01-18 18:56 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 412340: JString stores a flag to indicate that it was atomized. r=brendan a=blocking1.9+
7733e6bae3e5a0bd023483d4d028c01fe932b964
created 2008-01-12 16:31 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - * 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).
1f66c5bea6601a7116dacb711b26e17974599c34
created 2008-01-03 01:28 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 364776: New operation counter API to replace branch callback. r,a=brendan
72690655da646a301c4d75a52b6a11eb53ee617d
created 2007-12-26 11:19 -0800
pushed 2011-04-26 22:38 +0000
jruderman jruderman - Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red
f063120d45703da55e45e9aa9a6f3d5d2c4849a3
created 2007-12-25 02:12 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 364776: new operation callback API to replace branch callback. a,r=brendan
6456e7147e33c1423885cf226d1a23d6d4a7ae9d
created 2007-12-20 15:29 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Don't fix typename bindings without JS2 opt-in (409252, r=mrbkap).
2ed65ec8fa32424242ef016748ed29f165a82676
created 2007-12-20 14:59 -0800
pushed 2011-04-26 22:38 +0000
mrbkap mrbkap - 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
ab027a0f88982ab48fc98623f3a90a664d2987bc
created 2007-12-14 13:36 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Remove DUMP_CALL_TABLE (preliminary patch for 365851, r=igor).
8ddb395eeed0fe0914ed2af46d9c49b1e5cb93f5
created 2007-12-12 22:40 -0800
pushed 2011-04-26 22:38 +0000
brendan brendan - Back out last rev due to orange tboxen.
b20b7b63b5eb290ce6e6fca2146bb32a8187a59a
created 2007-12-12 21:42 -0800
pushed 2011-04-26 22:38 +0000
jst jst - 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
3cc18e881a439411e957930818b6b94ba931a2e1
created 2007-12-11 02:09 -0800
pushed 2011-04-26 22:38 +0000
igor igor - 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
a169c751ae54d89b30cfe4ea1c7f9a5571aa584d
created 2007-12-03 19:05 -0800
pushed 2011-04-26 22:38 +0000
jwalden jwalden - 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
5b75ffb9c1cea51a37ba26a62809c47fd343593b
created 2007-11-29 06:49 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 403878: No compiler pseudo-frames when compiling functions. r,a=brendan
668d6694d533ab452d1ff63700d55a9a5b97ea7c
created 2007-11-28 22:00 -0800
pushed 2011-04-26 22:38 +0000
reed reed - Bug 404755 - fixing memory leak resulted from bug 363603 [p=igor@mir2.org (Igor Bukanov) r+a1.9=brendan]
46196f1690338f1c9ccf0adf7046eedcaf8bcba7
created 2007-11-28 20:12 -0800
pushed 2011-04-26 22:38 +0000
reed reed - Back out Igor's patch from bug 404755 to see if it fixes the orange.
141015626a9ab62bd4fed697723e61f84414ee26
created 2007-11-28 14:22 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 404755: fixing memory leak resulted from bug 363603. a,r=brendan
af1ffbeb95fdbbb51facbd01ca5a2e9e75ffdcc8
created 2007-11-22 14:21 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 394941: report exhausting of the script memory quota as ordinary runtime exceptions. r=brendan, a1.9=beltzner
080d50ac795283dc11c26800272e4147db6b4c2a
created 2007-11-19 09:15 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 398609: simpler handling of hidden properties, r,a=brendan
0ce6d9f7c3732e2efd297989cfc2286c2137eff0
created 2007-11-18 16:58 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 398609: backing out due to test failures.
9262cb644d0d35f95a122e5a6bc043e802faec7f
created 2007-11-18 16:36 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 398609: cleanup of hidden properties support. r,a=brendan
5c132de30c60e45734492316d6cdbea7cb417fa0
created 2007-11-13 07:47 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 398609: Backing out due to mochi test failure.
e51cfe213d711a19209928e468615a8a05ef096d
created 2007-11-13 06:56 -0800
pushed 2011-04-26 22:38 +0000
igor igor - Bug 398609: cleanup of hidden properties. r,a=brendan
ee6f7b5032ac2279ed2c373895ffb7c3473ec98d
created 2007-11-12 21:23 -0800
pushed 2011-04-26 22:38 +0000
reed reed - 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]
6a54d2e59df066c00561ae6dfa0c5f4444c69202
created 2007-10-19 15:24 -0700
pushed 2011-04-26 22:38 +0000
jst jst - 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.
36dc3a7063688c373ddb3beb70816c768f265a28
created 2007-10-13 13:09 -0700
pushed 2011-04-26 22:38 +0000
timeless timeless - Bug 397239 ActionMonkey: Remove "extra" parameter to JS_FN patch by Jason Orendorff <jorendorff@mozilla.com> r=igor a=brendan
fc238d37b169b2b90a130babe93a8ee0ef2901e3
created 2007-10-09 15:42 -0700
pushed 2011-04-26 22:38 +0000
mrbkap mrbkap - Restore dynamic indirect eval code. bug 383682, r=brendan/igor a=brendan
3fb9ac000453006e5249bdd37e44a7a0099b44e4
created 2007-10-01 12:11 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan
fd9e75ca34a0de6fa0877529528cd22b153e723f
created 2007-09-25 10:30 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 396758: taking the patch out as it broke the test cases.
925e8a3d1bb92df66feae6c295d615f5140fa535
created 2007-09-25 10:08 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 396758: the system flag is moved from GC flags to JSObject itself. r=brendan
3c5c109e961958bd079cd743f1fc47f4a65a7651
created 2007-09-19 15:04 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 333236: merge sweep and free phases in GC. r=brendan
7796217db82b91e0060695cc50cb3576252dfc6a
created 2007-09-17 18:22 -0700
pushed 2011-04-26 22:38 +0000
brendan brendan - Back-out due to test failure.
7e3b9e80f1dd5e996738051590fb1b1223b5a540
created 2007-09-17 17:47 -0700
pushed 2011-04-26 22:38 +0000
brendan brendan - Make GCF_SYSTEM immutable per object (396487, r=igor).
5f45053db950289f03d56b782bc11b3a0d7df851
created 2007-09-16 06:03 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 392263: using mmap/VirtualAlloc for GC arenas. r=brendan
cfe53059ddb3703ea428d9e5974b848517ccf2b9
created 2007-09-16 05:02 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 392263: taking out the patch due to bug 396299.
fb8a3c2b64ac3870eb9bea3e8a9adc1ab7201801
created 2007-09-15 10:19 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan
fbed07b0ee3459c196f5e4923f440ae669f56be3
created 2007-09-15 08:26 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 392263: taking out the patch due to Mac build problems.
79d877d62dbffe5bc8e2b19a4bcd7e9333eb6798
created 2007-09-15 08:11 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 392263: using mmap/VirualAlloc for GC arenas. r=brendan
748017f2dea56f65a3aeb1103e8a1139dd1fb06f
created 2007-09-07 14:02 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 394709: fixing memory leak with watch handlers. r+a=brendan
af3c0749b914a25304734d586f1c927e32ce1da1
created 2007-08-22 13:56 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 393184: js_NewGCThing no longer zeros the allocated thing. r=brendan
d6abc6197346e44c4294ac83008a96e307a64dea
created 2007-08-21 14:22 -0700
pushed 2011-04-26 22:38 +0000
igor igor - Bug 325202: XDR uses lossless encoding for all string. r=brendan
406f99d3c221159a95c0ffe01bba0b2519013cc4
created 2007-08-20 18:24 -0700
pushed 2011-04-26 22:38 +0000
brendan brendan - One-char fix to recent regression (392944, r=mrbkap).
less more (0) -100 -60 tip