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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 27 23:14:01 PDT 2018


--- Comment #8 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to Yusuke Suzuki from comment #5)
> (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.

Yes, I'm just doing the same in two steps. I still need to understand how the owners thing work in a real use case to decide how to expose it in the 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/20180328/2dc54b85/attachment.html>

More information about the webkit-unassigned mailing list