Details
-
Sub-task
-
Resolution: Invalid
-
P2: Important
-
None
-
None
Description
I don't recall why subclassing JSGlobalObject (which we do anyway) and reimplementing markChildren() is not enough.
FWIW, V8 has a way to register GC callbacks (AddGC
{Prologue,Epilogue}Callback. So trying to add such a callback to the JSC C API seems worthwhile.
Suggested action(s): Investigate again why this patch is needed. If it is absolutely needed, create an upstream bug to add a C API function for registering a callback.