brendan%mozilla.org bf20b1ca3d - Add a generation number to JSDHashTable that counts entryStore changes due
to grows, shrinks, and compresses.  This helps JS_DHashTableOperate callers
  who hold returned entry pointers to validate those pointers and avoid having
  to re-lookup an entry by its key.
- Balance that addition by removing JSDHashTable.sizeMask, which is induced by
  JSDHashTable.sizeLog2 at the cost of two typically single-cycle instructions.
- Use JSDHashTable.generation in jsobj.c to avoid unsafely dereferencing an
  entry pointer held across calls to JSClass.resolve from js_LookupProperty,
  which may recur and add entries to cx->resolving, growing that table and
  invalidating entry pointers held by earlier js_LookupProperty activations.
(bug 78121, r=jst@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org)


git-svn-id: svn://10.0.0.236/trunk@95896 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 03:05:38 +00:00
..
2001-05-17 02:31:28 +00:00
2001-05-23 04:19:39 +00:00
2001-05-24 14:48:38 +00:00
2001-05-23 02:09:33 +00:00
2001-05-25 00:40:27 +00:00
2001-05-24 18:28:22 +00:00
2001-05-17 02:31:28 +00:00
2001-05-19 07:20:26 +00:00
2001-05-24 14:35:51 +00:00
2001-05-24 02:14:42 +00:00