[Webkit-unassigned] [Bug 184041] [GLIB] Add JSCWeakValue to JavaScriptCore GLib API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 27 11:22:07 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=184041

--- Comment #5 from Yusuke Suzuki <utatane.tea at gmail.com> ---
(In reply to Michael Catanzaro from comment #4)
> (In reply to Yusuke Suzuki from comment #2)
> > Why not porting and calling it as JSManagedValue?
> 
> I don't understand Yusuke's question, but please satisfy him before
> committing, of course. :)

https://developer.apple.com/documentation/javascriptcore/jsmanagedvalue
Objective-C API has JSManagedValue, which is a bit extended version of this JSCWeakValue.
It is basically weak JSValue holder, in addition, it has a special mechanism to tell Objective-C graph to JSC's Garbage Collector by using JSVirtualMachine's API.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180327/5bf53231/attachment.html>


More information about the webkit-unassigned mailing list