Module jdk.dynalink

Class SimpleRelinkableCallSite

  • All Implemented Interfaces:
    RelinkableCallSite

    public class SimpleRelinkableCallSite
    extends AbstractRelinkableCallSite
    A relinkable call site that implements monomorphic inline caching strategy, only being linked to a single 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.
    • Constructor Detail

      • SimpleRelinkableCallSite

        public SimpleRelinkableCallSite​(CallSiteDescriptor descriptor)
        Creates a new call site with monomorphic inline caching strategy.
        Parameters:
        descriptor - the descriptor for this call site