I have be interested the using SwitchPoints for the invalidation phase of
my call sites. As you may
recall I collect sites into an array as they are created. When they reach
some quantity I invalidate them
all and start over. It seems that using a switch point for this is
perfect except that
Hi Mark.
Your proposal looks right, at least until JVMTI has native support for MH
interposition.
It might be more efficient to use a SwitchPoint to enable the slow path
testing. Basically, the switchpoint would take the place of the GWT, and (when
invalidated) would execute a slow path that