You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't use JS_GC_ZEAL due to global construction ordering #6057
WindowBinding::Wrap calls create_dom_global, then JS_SetReservedSlot on the resulting object to store the native pointer. Unfortunately, create_dom_global calls JS_NewGlobalObject, followed by JS_InitStandardClasses, then initialize_global, which end up all doing a lot of allocation. This makes GC_ZEAL useless, since the trace method requires obtaining the native pointer which fails before the JS_SetReservedSlot call.
Activity
move reserved slot setting for DOM globals
move reserved slot setting for DOM globals
move reserved slot setting for DOM globals
Auto merge of #8226 - froydnj:gc-zeal, r=Ms2ger
Auto merge of #8226 - froydnj:gc-zeal, r=Ms2ger