Currently we still use the GC machinery to get an exclusive access to the prototype chain when setting a prototype. I suggest to remove that. The only drawback AFAICS is that it would be not possible to implement a thread-shared object with script-mutable prototype. But given the current plans it is rather unlikely that we would need to support such object.
Created attachment 533953 [details] [diff] [review]
Comment on attachment 533953 [details] [diff] [review]
Looks perfect. Thanks.
cdleary-bot mozilla-central merge info: