Commit Graph

57 Commits

Author SHA1 Message Date
Luke Wagner
a1a73dd94d Bug 551276 - a more type-safe way to zero memory (r=Waldo)
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
Igor Bukanov
75a3004377 bug 543839 - js_NonEmptyObject must lock the object. r=jorendorf 2010-02-05 10:41:54 +03:00
Ginn Chen
08a84668b4 Bug 537076 - jslock.cpp failed to compile with Sun Studio 12u1 on Solaris. r=jorendorff.
--HG--
extra : rebase_source : dff24a27c0d1464e18d2abeb72a400360db3267d
2010-02-03 11:02:07 -06:00
Igor Bukanov
f74b35769d bug 538463 - caching only single-threaded objects. r=jorendorff 2010-02-03 13:42:07 +03:00
Igor Bukanov
008691b6f9 Backed out changeset b9700adc3951 - the landing for the bug 538463 had wrong changes 2010-02-03 13:37:56 +03:00
Igor Bukanov
7aafadcc76 bug 538463 - caching only single-threaded objects. r=jorendorff 2010-02-03 12:46:10 +03:00
Igor Bukanov
836b8a84eb bug 540805 - using reference counting only for empty scopes. r=jorendorff 2010-01-27 09:50:17 +03:00
Igor Bukanov
450cf95e35 bug 538275 - ClaimTitle cleanup. r=brendan, jorendorff 2010-01-24 14:15:38 +03:00
Ginn Chen
1857540d32 Bug 514632 Use Sun Studio inline asm template for NativeCompareAndSwap r=jorendorff
--HG--
rename : js/src/lock_SunOS.s => js/src/lock_sparcv8plus.il
2009-09-25 15:30:35 +08:00
Igor Bukanov
6bfe4771cc bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00
Brendan Eich
cce4dce512 Join lambdas assigned or initialized as methods to the compiler-created function object if we can, with a read barrier to clone on method value extractions other than call expressions (471214, r=jorendorff). 2009-09-03 14:41:19 -07:00
Igor Bukanov
b919139e8d bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan 2009-08-28 09:53:26 +04:00
Jason Orendorff
9dc4a54a5d Bug 498488 - Change some JSObject macros to methods. r=Waldo. 2009-08-11 15:05:44 -05:00
Robert Sayre
6a8309b6be Merge mozilla-central to tracemonkey. 2009-07-28 15:39:43 -04:00
Makoto Kato
ad3a18a9f5 Bug 452912 - Optimize Windows x64 build for javascript engine. r=dvander 2009-07-28 19:47:34 +09:00
Andreas Gal
e7f2714ea1 When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo). 2009-07-27 21:10:12 -07:00
Robert Sayre
710cad8b2a Merge tracemonkey to mozilla-central. 2009-07-24 13:42:38 -04:00
Wesley W. Garland
74b5263a84 Bug 502696 js_CompareAndSwap on sparc should not use PRLock() r=jorendorff sr=benjamin 2009-07-24 17:41:42 +08:00
Jason Orendorff
a31f80165c Bug 503080 - Remove prototype-scope-sharing. r=brendan. 2009-07-21 16:25:11 -05:00
Brendan Eich
f60779aef5 Bug 503343 - Change JSScope macros to methods. r=jorendorff 2009-07-09 15:27:21 -05:00
Igor Bukanov
3193020246 bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan 2009-06-18 15:24:06 +02:00
Igor Bukanov
e90c3cd0d5 Backed out changeset 7ab1be136cfa - that patch for bug 498899 has a bug. 2009-06-18 15:00:55 +02:00
Igor Bukanov
7d5d5e6b13 bug 498899 - avoiding excessive JS_(LOCK|UNLOCK)_OBJ while quering property cache. r=brendan 2009-06-18 14:26:16 +02:00
Jason Orendorff
52fe5a97ba Bug 497618 - Change JSString macros to methods. r=Waldo. 2009-06-10 20:29:44 -05:00
Igor Bukanov
92f94e451c bug 491126 - sharing object map for non-native objects. r=brendan 2009-05-14 12:35:23 +02:00
jorendorff
e1b8077e65 Leaving outermost request should js_LeaveTrace (480301, r=brendan). 2009-04-20 18:22:00 -07:00
David Mandelin
874ab2823f Bug 487546: avoid unnecessary js_PurgeDeflatedStringCache calls, additional patch to address igor's review issues, r=igor 2009-04-16 16:23:46 -07:00
Igor Bukanov
907592f765 bug 477627 - avoiding deadlocks in ClaimTitle. r=brendan 2009-04-16 00:01:24 +02:00
Igor Bukanov
e2941e5370 Backed out changeset f97f196dcb58 - bug 480301 needs more work 2009-04-15 23:33:46 +02:00
jorendorff
7a9b1b6e92 Leaving outermost request should js_LeaveTrace (480301, r=brendan). 2009-04-14 17:15:38 -07:00
Jim Blandy
875aee5e88 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Igor Bukanov
4ccdead266 bug 480700 - no more static asserts in headers. r=brendan 2009-03-05 12:12:50 +01:00
Jim Blandy
ede7e6d142 Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Andreas Gal
93eb39269d Substitute operation counting with a watchdog thread (477187, 3nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst). 2009-02-10 14:07:01 -08:00
Andreas Gal
474d0d308f Backout bug 477187. 2009-02-10 09:54:14 -08:00
Andreas Gal
f796bcd60a Substitute operation counting with a watchdog thread (477187, 2nd attempt, r=brendan/mrbkap/jst, sr=brendan/jst). 2009-02-10 03:45:36 -08:00
Andreas Gal
7ea402f38c Merge. 2009-02-09 22:54:41 -08:00
Andreas Gal
2a20c2a6de Backing out bug 477187. Breaks xpcshell. 2009-02-09 22:54:05 -08:00
Andreas Gal
2e46d80547 Merge. 2009-02-09 18:21:15 -08:00
Andreas Gal
cbfbbd3cac Substitute operation counting with a watchdog thread (477187, r=brendan/mrbkap/jst, sr=brendan/jst). 2009-02-09 18:20:50 -08:00
Ben Turner
ddcf726aa4 Bug 477319 - "Some objects left locked in tracer code". r=brendan, a=blocking1.9.1+. 2009-02-08 16:36:55 -08:00
Benjamin Smedberg
82ba665418 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Benjamin Smedberg
09ffef3261 Backed out changeset 525e42406396, bug 269538 (jscpucfg-ectomy) due to Windows TUnit bustage. 2009-01-21 17:34:28 -05:00
Benjamin Smedberg
db11be65b9 Bug 269538 - use stdint types instead of jscpucfg types, now that we have them auto-configured
* Various code inside and outside of JS uses JS_BYTES_PER_WORD, so I added it to js-config.h
* Existing code uses JS_BYTES_PER_DOUBLE, JS_BITS_PER_WORD_LOG2, and JS_ALIGN_OF_POINTER so I've added autoconf tests for those

r=crowder r=jimb
2009-01-14 15:56:30 -05:00
Taras Glek
71b568fe41 bug 453889: Correct prbool misuse in spidermonkey 2008-09-08 13:41:09 -07:00
Ginn Chen
2b4f50f46f Bug 451504 js/src/jslock.cpp failed to compile on Solaris x86 r=igor 2008-08-25 19:01:30 +08:00
Igor Bukanov
0818d2b656 bug 417131 - caching enumerators to speedup for-in loops. r=brendan 2008-08-19 13:00:14 -04:00
Ben Turner
b21229606c Bug 443871 - "Protect against null objects in a title's scope/map". r=brendan. 2008-08-08 12:17:42 -07:00
Igor Bukanov
dcdf0df942 bug 445391 - re-enable OJI for Firefox 3.1, the configure changes is from jst, r=jst,crowder, sr=benjamin 2008-07-29 19:53:03 +02:00
Igor Bukanov
e32ac96bff bug 330765 - patch from romaxa to fix NativeCompareAndSwap implementation on ARM. r=myself 2008-07-22 16:12:04 +02:00