Commit Graph

27 Commits

Author SHA1 Message Date
Steve Fink
da03ec625c Bug 767141 - Add a Rooted<Type> and use it to root some scary type manipulation. r=bhackett
--HG--
extra : rebase_source : a440ba55676ecf7e9d37214a1353ff5c5cea61d5
2012-06-28 17:35:56 -07:00
Steve Fink
dc95609b46 Bug 767141 - Implement AssertRootingUnnecessary guard. r=bhackett
This RAII guard is used to mark lexical regions that are believed to never trigger GC. It is mostly intended for documentation, but is also dynamically checked.

--HG--
extra : rebase_source : ce3a10bff969ffbccc24d874dcd84bdd84fcb18b
2012-06-21 14:15:12 -07:00
Jeff Walden
1f0acff5ed Bug 766347 - Adjust Handle<T> constructors to only accept Rooted<S> or Handle<S> where S is convertible to T. r=luke
--HG--
extra : rebase_source : 5cd1b32a977b4172fbad256a9bbd4a28e8314cdd
2012-06-19 15:01:58 -07:00
Jeff Walden
9eb451a896 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : d42f8bcf462de54ff6cc7d9054b2561bdd67686a
2012-06-14 19:13:27 -07:00
Ed Morley
712c4f68c8 Backout 1c5a8d617bff (bug 765990), 617cb36ead59, b3067d05a76a (bug 760995), 79f9a61a1e43 (bug 426163) for bustage 2012-06-21 10:00:36 +01:00
Jeff Walden
5202bce28f Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Jeff Walden
af77cfc42f Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
4261b23151 Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke
--HG--
extra : rebase_source : 5623e436f6cd03a90ba0a188ee5d2fa8f8577766
2012-06-14 19:13:27 -07:00
Terrence Cole
459011a626 Bug 764440 - Add config option and code to enable exact stack rooting; r=billm
Now that we have Handles working in most of the engine, we need to provide the
ability to use them in GC for testing.

--HG--
extra : rebase_source : cb3e21ec1a5b537207dbe2ebef558b0da247d30c
2012-06-13 11:15:23 -07:00
Terrence Cole
bc6b6320e6 Bug 761391 - Add some more exact stack rooters; r=bhackett
Another bevy of missing roots brought about by recent churn.
2012-06-05 16:52:41 -07:00
Brian Hackett
1573459c2b Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Brian Hackett
b8298cecde Remove Root<T>, bug 756823. r=billm 2012-05-24 08:52:21 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
c07eaa0e3e Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Brian Hackett
9ae1966596 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Brian Hackett
0079174207 Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
David Mandelin
a842c48399 No bug, update Handle documentation, r=NPOTB 2012-04-27 16:40:10 -07:00
Luke Wagner
3df006c487 Bug 746843 - change StackFrame::scopeChain() to return a HandleObject (r=bhackett)
--HG--
extra : rebase_source : 8306a740d784a6f8cb7d8160125fb37e3270a64e
2012-04-13 18:06:40 -07:00
Nicholas Nethercote
809407a18d Bug 745068 - Minor front-end cleanups. r=jorendorff.
--HG--
extra : rebase_source : 29e7d06bc87f19c0d0a8fe239af9219e6c255032
2012-04-16 15:35:31 +10:00
Brian Hackett
a21f8c5a5d Check type compatibility when coercing RootedVar to Handle, bug 745361. r=luke 2012-04-15 21:19:44 -07:00
Jeff Walden
5e9385a53d Fix clang JS shell build bustage. No bug, r=billm over irl 2012-04-12 18:15:26 -07:00
Brian Hackett
71506db37a Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Matt Brubeck
b7d725d72a Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00
Jeff Walden
2e8482d1bf Fix clang JS shell build bustage. No bug, r=billm over irl 2012-04-12 18:15:26 -07:00
Brian Hackett
90b23329e3 Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Luke Wagner
e55b378409 Bug 720067 - re-merge StackSpace.h with Stack.h, extract gc/Root.h (r=bhackett) 2012-01-20 19:49:33 -08:00