Terrence Cole
23c654c7d0
Bug 727135 - Make jsid marking interfaces indirect; r=billm
...
This will allow the GC to move jsid referenced objects.
2012-02-17 17:27:37 -08:00
Bill McCloskey
d15702e36f
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Terrence Cole
ddb9b610b8
Bug 727281 - Make JSObject* for Root and Barriered marking indirect; r=billm
...
This will allow us to move HeapPtr and rooted objects when tracing.
--HG--
extra : rebase_source : 6752792c1610899350eee1d5151136090de94f42
2012-02-14 15:19:55 -08:00
Gabor Krizsanits
d63ef7f384
Bug 673468 - Wrapped JS objects used as keys can disappear from WeakMaps. r=mccr8,billm
2012-02-17 13:22:26 +01:00
Jeff Walden
6a945ff523
Bug 728105 - Remove JSObject::getThrowTypeError. r=bhackett
2012-02-16 19:10:59 -08:00
Jeff Walden
c03c421cfb
Bug 728095 - Eliminate all primitive-this machinery from JSObject and relegate it to subclasses. r=bhackett
2012-02-16 19:10:45 -08:00
Jeff Walden
374aa81278
Warning patrol. No bug, r=themaid
...
--HG--
extra : rebase_source : 66d872e0ab56b73f1879d1aff9aba1dd3e71e9b3
2012-02-15 17:41:59 -08:00
Brian Hackett
947210ccb1
Ensure that generators are never compiled, bug 726799. r=dvander
2012-02-16 15:26:30 -08:00
Bill McCloskey
77faad30c1
Bug 727921 - Fix schedulegc bustage
2012-02-16 15:21:59 -08:00
Brian Hackett
d3d51ae7b0
Fix dictionary state when swapping objects, bug 727330. r=luke
2012-02-16 15:15:16 -08:00
Terrence Cole
d4d3a9c6b0
Bug 723346 - Make sharpObjectMap a modern HashMap; r=Waldo
...
This is the last user of the old-style C hashtables in the JS engine.
--HG--
extra : rebase_source : ccf8b296371227c0f0eea59a41b78eb4b63e8275
2012-02-15 17:55:25 -08:00
Terrence Cole
f918eb6fb9
Bug 727980 - Do not mark script atoms as roots; r=billm
...
Fixes a regression from bug 721463.
--HG--
extra : rebase_source : 601530388cb62f78b93a4ab35e749a7ee29d5d05
2012-02-16 14:27:37 -08:00
Bill McCloskey
e2dbb7fad5
Bug 727921 - Add test case
2012-02-16 14:37:16 -08:00
Bobby Holley
bb83827034
Bug 714590 - Use the helper jsclass format everywhere. r=mrbkap
2012-02-16 12:22:16 -08:00
Terrence Cole
ba12f349e5
Bug 726845 - Make Value marking interfaces indirect; r=billm
...
This will eventually allow the GC to update Values that reference an Object,
when moving an object.
2012-02-15 17:16:53 -08:00
Rafael Ávila de Espíndola
b028fa6446
Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium.
2012-02-16 09:53:08 -05:00
Igor Bukanov
8f4c1c22db
bug 725595 - drop native object checks from JS_(Get|Set)ReservedSlot. r=Waldo
2012-02-10 13:40:34 +01:00
Terrence Cole
86a4b678ad
Bug 726115 - Make the tracer callback take an indirect pointer; r=billm
...
This will be required for a tracer to move objects. This patch only
updates the tracer interface and users of the interface.
--HG--
extra : rebase_source : 844d819a80cf6cb1dba0d07ea97f647802c66d40
2012-02-15 16:28:41 -08:00
Sean Stangl
b5d961f3e3
Bug 725532 - Refactor DefVarOrConstOperation() to be Ion-compatible. r=Waldo
2012-02-15 16:45:25 -08:00
Adam
728968c78d
Bug 725765 - More Sprinter cleanups (adding a put method rather than having SprintCString and friends). r=jwalden
...
--HG--
extra : rebase_source : c7b5e45dfb1b937688884de0ca2fa7e1d7cc6b41
2012-02-15 16:15:57 -08:00
Jeff Walden
ceb7bbc8bd
Convert the last remaining direct JS_Assert users to MOZ_Assert, followup to bug 717540 that seems to have been missed in my initial review. Also switch the JS_ASSERT uses to MOZ_ASSERT in passing. r=trivial
...
--HG--
extra : rebase_source : 70746d934b529c3e28d83dc2aced690ba92044db
2012-02-14 16:16:14 -08:00
Tom Schuster
d445c4f960
Bug 725293 - update Unicode support in SpiderMonkey to v6.1 r=Waldo
2012-02-15 15:30:39 +01:00
Terrence Cole
7aee566540
Bug 721463 - Clean up and minimize marking interfaces; r=billm
...
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code. This patch reworks the interface to clean
up jsgcmark.h.
2012-02-14 09:10:23 -08:00
Jan de Mooij
fd8b55ef22
Bug 727087 - Move JSOP_TOID implementation to jsinterpinlines. r=dvander
...
--HG--
extra : rebase_source : 2bcc7b7a30f613489a93cb1465a2ae6d64815f1c
2012-02-14 23:36:36 +01:00
Jim Blandy
92f302e38f
Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley
2012-02-14 13:18:16 -08:00
Chris Leary
96f0cafa66
Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
...
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Brian Hackett
7abf4cdaf5
Fix argc checks in mjitChunkLimit shell function, bug 726636. r=dvander
2012-02-14 05:16:32 -08:00
Marco Bonardo
b549d28077
Merge central to inbound
2012-02-14 11:18:40 +01:00
Marco Bonardo
5f22420e58
Merge last green PGO from inbound to central
2012-02-14 11:16:13 +01:00
Mike Hommey
229a4401e7
Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey
2012-02-13 15:48:23 +01:00
Terrence Cole
3a9119ff8f
Bug 714109 - Add missing barriers to Generator; r=billm
...
The generator object stores aside values from the stack of the generator
function when the generator is not running. These values need to properly root
objects in the nursery.
--HG--
extra : rebase_source : 0de3980a058a2951e14663841078fb575ae22f6c
2012-02-13 10:01:18 -08:00
Mike Hommey
78f3656b4b
Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage
2012-02-13 16:35:13 +01:00
Mike Hommey
b5d2448f11
Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey
2012-02-13 15:48:23 +01:00
Mike Hommey
400207258e
Bug 698923 - Don't require 16 bytes alignment for VMFrame on sparc. r=luke
2012-02-13 15:47:34 +01:00
Brian Hackett
082af8ce73
Don't update GC malloc bytes for compiler heap allocations, bug 687127. r=gwagner
2012-02-12 19:27:55 -08:00
Bill McCloskey
28392d81e0
Bug 713226 - Followup fix (r=bhackett)
2012-02-12 14:57:04 -08:00
Bill McCloskey
80cadd1390
Bug 713226 - Fix SETPROP write barrier in methodjit (r=bhackett)
2012-02-10 18:32:31 -08:00
Bill McCloskey
1f109cd151
Bug 721579 - Remove rt->gcTriggerBytes and rt->gcLastBytes (r=igor)
2012-02-10 18:32:25 -08:00
Bill McCloskey
f6419d58f3
Bug 722028 - Need write barrier for SuppressDeletedPropertyHelper (r=bhackett)
2012-02-10 18:32:18 -08:00
Bill McCloskey
5578343c66
Bug 716067 - UnmarkGray more often (r=bent)
2012-02-10 18:32:13 -08:00
Bill McCloskey
686923a64b
Bug 723313 - Stop using conservative stack scanner for VM stack marking (r=luke,bhackett)
2012-02-10 18:32:08 -08:00
Bill McCloskey
19391c0328
Bug 723773 - Liveness analysis makes mistakes when analyzing try/catch (r=bhackett)
2012-02-10 18:32:03 -08:00
Brian Hackett
8e090a927a
Discard jitcode when changing chunk limit in JS shell, bug 722598. r=dvander
2012-02-12 12:17:30 -08:00
Olli Pettay
a19334a3f9
Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8
2012-02-13 22:59:14 +02:00
Phil Ringnalda
d9ffe5f7cf
Back out 5f623a11c6cb (bug 713226), 1ed8ccf96402 (bug 721579), 32af27f89c49 (bug 722028), 1300d282fd22 (bug 716067), dc0f6ad7eff3 (bug 723313), 0d2ab3f2e9b9 (bug 723773) for talos crashes
2012-02-10 19:47:48 -08:00
Bill McCloskey
1da83ac173
Bug 713226 - Fix SETPROP write barrier in methodjit (r=bhackett)
2012-02-10 18:32:31 -08:00
Bill McCloskey
cd5d974e64
Bug 721579 - Remove rt->gcTriggerBytes and rt->gcLastBytes (r=igor)
2012-02-10 18:32:25 -08:00
Bill McCloskey
ba034b66b7
Bug 722028 - Need write barrier for SuppressDeletedPropertyHelper (r=bhackett)
2012-02-10 18:32:18 -08:00
Bill McCloskey
bf4746f8e2
Bug 716067 - UnmarkGray more often (r=bent)
2012-02-10 18:32:13 -08:00
Bill McCloskey
5401bf1ba6
Bug 723313 - Stop using conservative stack scanner for VM stack marking (r=luke,bhackett)
2012-02-10 18:32:08 -08:00