Luke Wagner
05d2002b66
Bug 644074 - Simplify and consolidate VM stack code into js/src/vm/Stack*
2011-04-13 09:27:37 -07:00
Gregor Wagner
99a0150f57
Bug 627200 - Background Finalization for Strings and Objects r=gal
2011-04-13 13:43:33 -07:00
Jeff Walden
484a36371d
Bug 640503 - Convert new String().length to use a regular data property and not a shared-permanent property-op getter/setter. r=jorendorff
...
--HG--
extra : rebase_source : 06bb9b53c0498d20b3afc6e558096c2398559602
2011-03-13 20:38:34 -07:00
Gregor Wagner
f18b7462d5
Bug 644871 - Combine MarkAndSweep/MarkAndSweepCompartment (r=billm)
2011-03-28 13:17:46 -07:00
Jeff Walden
4dce1d9ffa
Bug 640072 - Convert properties of RegExp objects into true data properties, eliminating a use of shared-permanent properties. r=jorendorff
2011-03-05 15:29:30 -08: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
Bill McCloskey
4f00dab2ab
Bug 639954 - *Really* set cx->compartment to NULL during GC (r=luke)
2011-03-14 10:37:05 -07: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
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
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
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
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
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
Bill McCloskey
3c8509742b
Bug 623297 - Reduce usage of JS_TRACE_MONITOR in jstracer (r=gal)
2011-02-01 10:16:44 -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
Bill McCloskey
7cf78aa843
Backed out changeset f3b470fb91a9 (orange) for bug 623297
2011-01-24 11:18:53 -08:00
Bill McCloskey
b7ffccbd4b
Bug 623297 - To decide JS_ON_TRACE, check the thread, not the compartment (r=gal)
2011-01-24 10:36:28 -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
a9c8eef74c
Bug 623428 - TM: avoid bloat caused by multiple mReserve arrays in VMAllocator (TM-specific part). r=gal.
2011-01-18 15:05:43 -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
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
Chris Leary
5ada212069
Bug 587288: 0. Compartmentalize regexp allocator, remove ExecutablePool atomic refcounts. (r=gal)
2011-01-05 18:44:30 -08:00
David Mandelin
ed486e4069
Bug 611432: assert that compartments stay the same before and after a JM activation, r=gal
2011-01-05 17:21:31 -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
8288ce56ef
Bug 621032 - Move iterationCounter from JSThreadData to TraceMonitor (r=igor)
2010-12-23 15:10:36 -08: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
Bill McCloskey
c8eee530e2
Bug 584860 - Move TraceMonitor into compartment (r=gal)
2010-12-22 12:02:25 -08:00
Brian Hackett
9cac74e3d5
Periodically discard JIT code during GC, bug 617656. r=dmandelin
2010-12-17 16:33:04 -08:00
David Mandelin
1f754fcd0f
Bug 604798: move JM global data to compartment, r=dvander
2010-10-29 15:37:13 -07:00
David Mandelin
747cf33686
Backed out changeset ecd2f8753d5a: argh, fixes didn't land for some reason
2010-10-29 16:22:44 -07:00
David Mandelin
7779114001
Bug 604798: move JM global data to compartment, r=dvander
2010-10-29 15:37:13 -07:00
David Mandelin
867a8a9f10
Backed out changeset 394e0bd325b1: tinderbox bustage
2010-10-29 16:08:47 -07:00
David Mandelin
1932408866
Bug 604798: move JM global data to compartment, r=dvander
...
--HG--
extra : rebase_source : 459bbec8a3f8ab3739806da7336a0a10cee9bcd1
2010-10-29 15:37:13 -07:00
Andreas Gal
257334300b
Backed out changeset 685accd622f0 (bug 606065).
2010-10-24 13:21:33 -07:00