Thread safety and nethod handle chains

John Rose john.r.rose at oracle.com
Fri Aug 19 20:05:37 PDT 2011


On Aug 11, 2011, at 3:01 PM, Rémi Forax wrote:

> Yes, you can have duplicate GWTs and
> I'm also interested if someone find a better approach :)

You can use a custom subclass of MutableCallSite which synchronizes its updates.
That way two racing threads cannot install duplicate case-handling logic.
Or am I missing the point?

-- John


More information about the mlvm-dev mailing list