Bill McCloskey
0f733168cb
Bug 569422 - Allocate js::Shape from the GC heap (r=brendan)
2011-03-23 11:57:44 -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
Luke Wagner
fee4a41733
Bug 616562 - speed up JSString::isStatic (r=njn)
...
--HG--
extra : rebase_source : 9f0b553b8ab54bfbbd5290ba936581bda8bb40ec
2011-03-14 13:55:55 -07:00
Jason Orendorff
ec6e3d3332
Backed out changeset 39de74c74b20, which is causing the browser to leak windows.
2011-03-14 17:37:04 -05:00
Jason Orendorff
efd9982808
Bug 561359 - Change JSOP_LAMBDA to apply the method optimization deterministically. In particular, it no longer depends on whether enclosing Blocks have been reified. This prevents incorrect behavior and assertions when a JSOP_LAMBDA, JSOP_INITMETHOD pair apply the method optimization once, populating the property cache, but later the same JSOP_LAMBDA instruction does not (under the old code) apply the optimization. With this patch, if JSOP_LAMBDA pushes the uncloned function once, it always will. r=brendan.
2011-03-14 15:54:34 -05:00
Andreas Gal
0dc25a462f
Follow-up fix for bug 639729.
2011-03-13 19:20:06 -07:00
Nicholas Nethercote
7115ff9cf1
Bug 639743 - JM: clean up Executable{Pool,Allocator} some more, 1/6. r=dvander.
2011-03-09 19:10:41 -08:00
Andreas Gal
e787b97701
Sweep compartments when no objects live in them (bug 639270, r=gregor).
2011-03-08 20:58:38 -08:00
Phil Ringnalda
d21d12b55b
Back out 80d8431f209e (bug 639270) for failing to actually compile
2011-03-08 19:59:30 -08:00
Andreas Gal
033fce6c39
Sweep compartments when no objects live in them (bug 639270, r=gregor).
2011-03-08 18:10:47 -08:00
Andreas Gal
29c7365b34
Make empty shape initialization lazy (bug 639254, r=billm).
2011-03-07 18:42:04 -08:00
Chris Leary
30ecc46b76
Bug 614155: Lazily construct toSource cache. (r=lw)
...
--HG--
extra : rebase_source : cbf922c5ce45b7d656ef3fdbd4c872a4ff82aacc
2011-03-03 15:28:25 -08:00
David Mandelin
3273dcef7a
Fix MSVC warning.
2011-02-25 13:07:29 -08:00
Bill McCloskey
5ecac5c965
Bug 635873 - Fix shape marking during per-compartment GCs (r=gal,a=dmandelin)
2011-02-22 12:45:18 -08:00
Jeff Walden
7ce51759aa
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
...
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -08:00
Jeff Walden
e604ceddc7
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
2011-02-08 17:20:06 -08:00
Chris Leary
369b6ada3c
Backed out changeset 62a979cc89a2 due to risk (bug 614155).
2011-02-16 13:33:08 -08:00
Chris Leary
76e3096daf
Bug 614155: free memory for source cache on GC. (r=lw)
2011-02-16 10:17:49 -08:00
Andreas Gal
8e653a3ac9
Don't crash when reaching a non-wrapper along the proto chain of a wrapper (bug 634236, r=mrbkap).
2011-02-15 11:17:14 -08:00
Andreas Gal
37635547a6
Bug 633879 - Stop wrappers from holding old scopes alive. r=mrbkap@gmail.com,jst@mozilla.com, a=blocker
2011-02-14 14:19:36 -08:00
Bill McCloskey
42e73fa7bc
Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander)
2011-02-11 16:31:32 -08:00
Chris Leary
9b75236c71
Fix --disable-methodjit build. (r=billm)
...
--HG--
extra : rebase_source : 4a76e8513611d8eb9ad16d5d3c0465692bfa4105
2011-02-11 13:45:56 -08:00
Jim Blandy
de75b9fa19
Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
...
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.
The following are left for subsequent patches:
x Similar fixes to the browser outside SpiderMonkey.
x Actually *using* the newly available strictness information. This patch
should have no user-visible effect. I didn't want the interesting stuff
to get lost in this noise.
2011-02-09 11:31:40 -08:00
Bill McCloskey
40b74847a1
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-02-04 10:59:07 -08:00
Chris Leary
065656dfa2
Fix --disable-tracejit build. (rs=Waldo)
2011-02-03 16:19:13 -08:00
Bill McCloskey
4d89be0bd8
Backed out bug 609104 (csets ac3ba38f20c0 and 7717cabaf20c) (orange)
2011-02-02 14:20:06 -08:00
Bill McCloskey
8cdd8f8e68
Bug 609104 - Fix nits
2011-02-02 10:29:47 -08:00
Bill McCloskey
daa16e64bb
Bug 609104 - Move the property tree to the compartment (r=brendan)
2011-01-27 15:46:39 -08:00
Paul Biggar
acf459a83c
Bug 628332 - Don't double-free when a compartment is not properly allocated (r=billm)
...
If allocating a compartment fails, FinishJIT may be called twice. However,
there were not adequate precautions for this, and FinishJIT could free random
memory, or double-free memory. Deal with the former by ensuring that the
relevant pointers were zero-initialized, and the latter by overwriting freed
pointers with NULL.
2011-01-31 17:16:25 -08:00
Andreas Gal
48adc47ad7
Cache result of Function.prototype.toString (bug 629590, r/a=shaver).
2011-01-28 10:19:13 -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
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
f448c5faf9
Bug 627516 - Unconditionally #include assembler/wtf/Platform.h to fix crash with --disable-methodjit, r=cdleary
...
--HG--
extra : rebase_source : cffc3a025b7f32111f97a6853fc5555282568ffe
2011-01-20 14:03:51 -08:00
Steve Fink
c862f01fdc
Backed out changeset 6dcf1547ea08
2011-01-24 15:11:58 -08:00
Steve Fink
3046e8cfdb
Bug 627516 - Unconditionally #include assembler/wtf/Platform.h to fix crash with --disable-methodjit, r=cdleary
...
--HG--
extra : rebase_source : 8381615c16097fd6eb86e63f7c59b7f33587b47c
2011-01-20 14:03:51 -08:00
Andreas Gal
bdd4aa4ade
AnyName can't have a NULL parent (bug 617485, r=brendan).
2011-01-21 10:55:39 -08:00
Nicholas Nethercote
ed55695802
Bug 624878 - Remove dangerous uses of vanilla (throw-on-failure) |operator new|. r=lw.
2011-01-17 19:44:10 -08:00
Gregor Wagner
bc39a65c18
Bug 625484 - rename defaultCompartment r=gal
2011-01-13 14:42:36 -08:00
Gregor Wagner
cbc0a9cb10
Enable per-compartment garbage collection (bug 605662, r=gal).
2011-01-07 23:44:57 -08:00
Luke Wagner
fe23536656
Bug 623441 - JSCompartment::wrap missing NULL check (r=gal)
...
--HG--
extra : rebase_source : 9ddb81b96239889550e085619743c38300c0cdfc
2011-01-07 09:19:54 -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
Chris Leary
5ada212069
Bug 587288: 0. Compartmentalize regexp allocator, remove ExecutablePool atomic refcounts. (r=gal)
2011-01-05 18:44:30 -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
9090d0a347
Bug 584860 - TraceMonitor cleanups (r=igor)
2010-12-22 14:00:06 -08:00