Performance of invalidating unused SwitchPoint
Charles Oliver Nutter
headius at headius.com
Sat Jan 5 11:08:15 PST 2013
On Sat, Jan 5, 2013 at 12:37 PM, Remi Forax <forax at univ-mlv.fr> wrote:
> No.
> invalidating a SwitchPoint that is JITed cost your an harm,
> invalidating a SwitchPoint which is not JITed is just a volatile write
> but you still have to update the callsite to use a new SwitchPoint.
I think I missed some details. In the case where I've "failed" a call
site, I no longer bind via SwitchPoint *at all*. The site is bound to
a separate mechanism. But on the invalidation side, I continue to
construct and invalidate new SwitchPoints due to the way the logic is
set up.
I'll try to come up with a test case. For now I have also set up the
invalidation side to eventually fail permanently and not create or
invalidate any new SwitchPoints.
- Charlie
More information about the mlvm-dev
mailing list