nashorn/src/jdk/internal/dynalink/RelinkableCallSite.java
changeset 16245 6a1c6c8bc113
parent 16234 86cb162cec6c
equal deleted inserted replaced
16244:12f06c992c3a 16245:6a1c6c8bc113
    87 import java.lang.invoke.MethodHandle;
    87 import java.lang.invoke.MethodHandle;
    88 import java.lang.invoke.MutableCallSite;
    88 import java.lang.invoke.MutableCallSite;
    89 import java.lang.invoke.VolatileCallSite;
    89 import java.lang.invoke.VolatileCallSite;
    90 import jdk.internal.dynalink.linker.GuardedInvocation;
    90 import jdk.internal.dynalink.linker.GuardedInvocation;
    91 
    91 
    92 
       
    93 /**
    92 /**
    94  * Interface for relinkable call sites. Language runtimes wishing to use this framework must use subclasses of
    93  * Interface for relinkable call sites. Language runtimes wishing to use this framework must use subclasses of
    95  * {@link CallSite} that also implement this interface as their call sites. There is a readily usable
    94  * {@link CallSite} that also implement this interface as their call sites. There is a readily usable
    96  * {@link MonomorphicCallSite} subclass that implements monomorphic inline caching strategy as well as a
    95  * {@link MonomorphicCallSite} subclass that implements monomorphic inline caching strategy as well as a
    97  * {@link ChainedCallSite} that retains a chain of already linked method handles. The reason this is defined as an
    96  * {@link ChainedCallSite} that retains a chain of already linked method handles. The reason this is defined as an