Phil Ringnalda
8d4385b7fe
Back out bd821ea0ad41 (638324) for mochitest-chrome crashes
2011-03-31 19:55:10 -07:00
Andreas Gal
e69500d1bc
Maintain a list of IdArrays as we hand them out via JS API (638324, r=brendan).
2011-03-31 14:42:33 -07:00
Paul Biggar
43b850291d
Bug 643548: Remove mozalloc_undef_macro_wrappers hack from JS engine. (r=luke,rs=brendan)
...
mozalloc_undef_macro_wrappers are brittle and have side-effects that are hard
to debug and fix. The alternative is the just stick an underscore on the end of
malloc, free, etc, which is a comparatively small burden.
2011-03-31 01:14:12 -07:00
Paul Biggar
72c7701093
Bug 634155: Account for NewCompartment's memory, and change allocation APIs (r=nnethercote)
...
This changes the allocation API, in the following way:
js_malloc -> {cx->,rt->,OffTheBooks::}malloc
js_calloc -> {cx->,rt->,OffTheBooks::}calloc
js_realloc -> {cx->,rt->,OffTheBooks::}realloc
js_free -> {cx->,rt->,Foreground::,UnwantedForeground::}free
js_new -> {cx->,rt->,OffTheBooks::}new_
js_new_array -> {cx->,rt->,OffTheBooks::}new_array
js_delete -> {cx->,rt->,Foreground::,UnwantedForeground::}delete_
This is to move as many allocations as possible through a JSContext (so that they may be aken into account by gcMallocBytes) and to move as many deallocations to the background as possible (except on error paths).
2011-03-31 01:13:49 -07:00
Luke Wagner
0c2e8ddaba
Bug 636296 - Put activation objects when we pop the frame, not in ScriptEpilogue (r=dvander)
2011-03-14 11:30:36 -07:00
Luke Wagner
7c96945e3c
Bug 613457 - clean up string interfaces (r=njn)
...
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Chris Leary
7ed86b3a25
Merge mozilla-central to tracemonkey.
2011-03-21 16:36:56 -07:00
Matt Brubeck
57b02d0c47
Bug 638963: Blacklist JIT on the Samsung Continuum. r+a=dvander DONTBUILD (Android-only)
2011-03-04 17:35:23 -08:00
Igor Bukanov
6990aee491
Bug 633219 - replacing resolve hashtable with a linked list. r=luke
2011-03-07 23:00:00 +01:00
Mike Shaver
85c4348adc
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange. r=waldo, a=orange
2011-02-19 20:46:44 -08:00
Jeff Walden
414ac259f6
Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
...
--HG--
extra : rebase_source : a2f6a11ac3bcc7925cbf122057b694a0aafac970
2011-02-08 17:20:06 -08:00
Igor Bukanov
e9f9fd9db6
Backed out changeset 510c42c0d472 - bug 633219
2011-02-17 19:39:05 +01:00
Igor Bukanov
8bc1ca45aa
Bug 633219 - replacing per context resolving list with per-thread resolving list. r=lw
2011-02-15 13:57:54 +01:00
David Anderson
f980c265cf
Fix not bumping the commit with large scripts (bug 634629, r=luke).
2011-02-16 16:56:40 -08:00
Luke Wagner
d4edb54e54
Bug 632358 - Only call resetCompartment() when safe to GC (r=waldo)
...
--HG--
extra : rebase_source : 77127374d754a5a39695bb3c7dac95275616a150
2011-02-11 16:13:08 -08:00
Bill McCloskey
40b74847a1
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-02-04 10:59:07 -08:00
Bill McCloskey
4d89be0bd8
Backed out bug 609104 (csets ac3ba38f20c0 and 7717cabaf20c) (orange)
2011-02-02 14:20:06 -08:00
Bill McCloskey
daa16e64bb
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-01-27 15:46:39 -08:00
Bill McCloskey
8e7e07dfaa
Bug 623297 - Make JS_TRACE_MONITOR more robust by distinguishing callers (r=gal)
2011-02-01 10:18:06 -08:00
Chris Leary
6d0cc31d27
Back out changeset 7d82892cb8df.
2011-01-27 19:43:33 -08:00
Bill McCloskey
a4f9ab0da8
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-01-27 15:46:39 -08:00
Chris Leary
074bd0c596
Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-27 02:54:58 -08:00
Luke Wagner
d7acf11bcb
Bug 627959, part 3 - move dtoaCache into the compartment (r=billm)
...
--HG--
extra : rebase_source : 19f2f0bebdfa7f8b349086be18847ffeb834ef4e
2011-01-24 16:30:16 -08:00
Steve Fink
dc0764a56d
Improve comment. Related to bug 627943.
...
--HG--
extra : rebase_source : ba7505cfd9c0b1957172ba12a0fd39f44050916f
2011-01-24 23:16:48 -08:00
Chris Leary
1771b7c232
Backed out changeset b88172246b66 due to Win32 debug failures.
2011-01-25 04:11:47 -08:00
Chris Leary
b462e1fb98
Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-25 02:33:27 -08:00
Steve Fink
8beba6e0ff
Backed out changeset c10e63cba3b6
2011-01-24 15:07:00 -08:00
Steve Fink
aa873a798d
Improve comment. Related to bug 627943.
...
--HG--
extra : rebase_source : 66619f6ab6ed81dd0a7d01df5a03274229b5e12e
2011-01-24 14:43:39 -08:00
Luke Wagner
75d92493c9
Bug 626526 - Change cx->busyArrays to use SystemAllocPolicy; avoid JSContext init subtleties (r=pbiggar)
2011-01-24 09:47:25 -08:00
Andreas Gal
2d88722a32
Default new contexts to a NULL compartment (bug 623800, r=dmandelin).
2011-01-13 14:11:15 -08:00
Bill McCloskey
238069d8ff
Bug 623050 - Move tracerState to compartment (r=gal)
2011-01-12 16:56:23 -08:00
Gregor Wagner
cbc0a9cb10
Enable per-compartment garbage collection (bug 605662, r=gal).
2011-01-07 23:44:57 -08:00
Luke Wagner
c6da67d0e1
Bug 614131 - Don't leave wrapped exception in the context on failure to enter compartment (r=gal)
...
--HG--
extra : rebase_source : 325d545ef79b88f3983b86a7dde262acf9e60e1f
2011-01-07 09:13:00 -08:00
Andreas Gal
6b5539dc39
Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff).
2011-01-07 02:03:14 -08:00
Robert Sayre
4af90e6de9
Backed out changeset d58e45442c87
2011-01-06 21:39:25 -05:00
Andreas Gal
9b4055e1f5
Compartment mismatch with pending exception (bug 621845, r=lw,jorendorff).
2011-01-06 15:15:00 -08:00
Eric Hennigan
bb2827afe3
Bug 622503 - Build failure when JS_TRACER is not defined r=gal, gregor
2011-01-06 06:13:48 -08:00
Igor Bukanov
3441bfebe5
bug 621180 - moving JSThreadData::cachedNativeIterators into the compartment. r=(wmccloskey
...
--HG--
extra : rebase_source : 460ccf67d3a01e44ab65f1db3b2a38694f3d5411
2010-12-29 20:09:04 +01:00
Bill McCloskey
6232df0383
Bug 621032 - Move MathCache from JSThreadData to JSCompartment (r=igor)
2010-12-23 15:10:25 -08:00
Bill McCloskey
c8eee530e2
Bug 584860 - Move TraceMonitor into compartment (r=gal)
2010-12-22 12:02:25 -08:00
Igor Bukanov
1fd3424219
bug 590533 - InvokeOperationCallback should yield when the is cancelled. r=gal
2010-12-04 17:04:10 +01:00
Julian Seward
82f556c9dc
Bug 608526 - crash: Assertion failure: thread->data.nativeStackBase == GetNativeStackBase() - r=jimb
2010-11-25 08:59:27 -05:00
Robert Sayre
d2b800ff26
merge mozilla-central to tracemonkey
2010-11-19 15:54:33 -08:00
Chris Jones
40ea32361f
Bug 613367: Log relevant data when computing JIT-brokenness. r=dvander a=2.0
2010-11-18 20:27:44 -06:00
Bill McCloskey
69484112b6
Backout merge (a=backout)
2010-11-18 16:24:37 -08:00
Bill McCloskey
65d2851f34
Backed out changeset 08794e076ded to fix gmail (a=backout)
2010-11-18 16:24:10 -08:00
Bill McCloskey
c409e47693
Bug 607539 - Allow profiler to be run from interpreter (r=dmandelin,dvander)
2010-11-17 12:46:44 -08:00
Chris Leary
dc67060b95
Bug 611462: correct option-to-version propagation. (r=lw)
2010-11-15 13:35:20 -08:00
Chris Leary
3cf9a917aa
Bug 609942: anonfunfix for eval cache comparisons. (r=brendan)
2010-11-09 09:00:54 -08:00
Bill McCloskey
7f3f592711
Backed out bugs 607539, 606890, 609212 - perf regressions & test failures
2010-11-11 19:37:12 -08:00