On 01/20/2014 12:53 PM, Cameron Kaiser wrote:
> On 1/17/14 1:24 PM, Terrence Cole wrote:
>> SpiderMonkey will no longer scan the stack for live roots; you must now
>> wrap all GC thing pointers that live on the stack across a GC in the
>> JS::Rooted template for SpiderMonkey to see them. See the comments in
>> js/public/RootingAPI.h and the guide on the developer wiki[1] for
>> further details. All currently existing instances in the browser build
>> have been updated; the hazard analysis build on TBPL, SM(Hf), will catch
>> any future pushes that break this invariant.
> 
> Great work! My only question: do JIT backends need to be adjusted for
> this? I assume not, but I want to make sure.

You are correct, there should be no extra work. The codegen bits should
be running in a context that cannot GC.

> Cameron Kaiser
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to