Compartmental GCs are awesome! GCs with API reasons are awesome! Let's combine them!
I cargo culted everything over from JS_CompartmentGC that compiled. Let me know if you think I should add more, or define GCForReason in terms of this or whatever else.
Comment on attachment 593158 [details] [diff] [review] WIP No, this is good.