GuardedInvocation at any given time.
If the guard of that single invocation fails, or it has an invalidated
switch point, or its invalidating exception triggered, then the call site
will throw it away and ask its associated DynamicLinker to relink it.
| Access | Constructor and Description |
|---|---|
| public | SimpleRelinkableCallSite(final CallSiteDescriptor
the descriptor for this call site descriptor)Creates a new call site with monomorphic inline caching strategy. |
| Modifier and Type | Method and Description |
|---|---|
| public void | relink(final GuardedInvocation guardedInvocation, final MethodHandle relinkAndInvoke)
Implements jdk. This method will be called by the dynamic linker every time the call site
is relinked (but see
|
| public void | resetAndRelink(final GuardedInvocation guardedInvocation, final MethodHandle relinkAndInvoke)
Implements jdk. This method will be called by the dynamic linker every time the call site
is relinked and the linker wishes the call site to throw away any
prior linkage state (that is how it differs from
|
| SimpleRelinkableCallSite | back to summary |
|---|---|
| public SimpleRelinkableCallSite(final CallSiteDescriptor descriptor) Creates a new call site with monomorphic inline caching strategy.
| |
| relink | back to summary |
|---|---|
| public void relink(final GuardedInvocation guardedInvocation, final MethodHandle relinkAndInvoke) Implements jdk. Doc from jdk. This method will be called by the dynamic linker every time the call site
is relinked (but see
| |
| resetAndRelink | back to summary |
|---|---|
| public void resetAndRelink(final GuardedInvocation guardedInvocation, final MethodHandle relinkAndInvoke) Implements jdk. Doc from jdk. This method will be called by the dynamic linker every time the call site
is relinked and the linker wishes the call site to throw away any
prior linkage state (that is how it differs from
| |