| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.ast.executable | |
| org.jruby.ir.operands | |
| org.jruby.java.codegen | |
| org.jruby.runtime.callsite | |
| org.jruby.runtime.invokedynamic |
| Modifier and Type | Field and Description |
|---|---|
private CacheEntry |
RubyClass.cachedLoad
A cached tuple of method and generation for marshal loading
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,CacheEntry> |
RubyModule.cachedMethods |
| Modifier and Type | Method and Description |
|---|---|
private CacheEntry |
RubyModule.addToCache(java.lang.String name,
DynamicMethod method,
int token) |
private CacheEntry |
RubyModule.cacheHit(java.lang.String name) |
abstract CacheEntry |
RubyModule.CacheEntryFactory.newCacheEntry(java.lang.String name,
DynamicMethod method,
int token) |
CacheEntry |
RubyModule.SynchronizedCacheEntryFactory.newCacheEntry(java.lang.String name,
DynamicMethod method,
int token) |
CacheEntry |
RubyModule.ProfilingCacheEntryFactory.newCacheEntry(java.lang.String name,
DynamicMethod method,
int token) |
CacheEntry |
RubyModule.searchWithCache(java.lang.String name)
Search through this module and supermodules for method definitions.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.Map<java.lang.String,CacheEntry> |
RubyModule.getCachedMethods() |
private java.util.Map<java.lang.String,CacheEntry> |
RubyModule.getCachedMethodsForWrite() |
| Modifier and Type | Field and Description |
|---|---|
private static CacheEntry[] |
RuntimeCache.EMPTY_CACHEENTRIES |
CacheEntry[] |
RuntimeCache.methodCache |
| Modifier and Type | Method and Description |
|---|---|
private CacheEntry |
RuntimeCache.getCacheEntry(int index) |
| Modifier and Type | Field and Description |
|---|---|
private CacheEntry |
MethodHandle.cachedMethod |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RealClassGenerator.isCacheOk(CacheEntry entry,
IRubyObject self) |
| Modifier and Type | Field and Description |
|---|---|
protected CacheEntry |
CachingCallSite.cache |
CacheEntry |
SuperCallSite.SuperTuple.cache |
CacheEntry |
RespondToCallSite.RespondToTuple.entry |
static CacheEntry |
CacheEntry.NULL_CACHE |
CacheEntry |
RespondToCallSite.RespondToTuple.respondToMethod |
| Modifier and Type | Method and Description |
|---|---|
private CacheEntry |
CachingCallSite.cacheAndGet(RubyClass selfType,
java.lang.String methodName) |
CacheEntry |
CachingCallSite.getCache() |
CacheEntry |
CachingCallSite.retrieveCache(RubyClass selfType,
java.lang.String methodName) |
| Modifier and Type | Method and Description |
|---|---|
private static IRubyObject |
RespondToCallSite.checkVisibilityAndCache(CacheEntry respondEntry,
boolean checkVisibility,
Ruby runtime) |
private static RespondToCallSite.RespondToTuple |
RespondToCallSite.recacheRespondsTo(CacheEntry respondToMethod,
java.lang.String newString,
RubyClass klass,
boolean checkVisibility,
ThreadContext context) |
static boolean |
CacheEntry.typeOk(CacheEntry entry,
RubyClass incomingType) |
protected void |
CachingCallSite.updateCache(CacheEntry newEntry) |
| Constructor and Description |
|---|
RespondToTuple(java.lang.String name,
boolean checkVisibility,
CacheEntry respondToMethod,
CacheEntry entry,
IRubyObject respondsTo) |
SuperTuple(java.lang.String name,
CacheEntry cache) |
| Modifier and Type | Field and Description |
|---|---|
CacheEntry |
JRubyCallSite.entry |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
Block block) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject[] args) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
Block block) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
Block block) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
static IRubyObject |
InvokeDynamicSupport.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
private static java.lang.invoke.MethodHandle |
InvocationLinker.createGWT(com.headius.invokebinder.SmartHandle test,
java.lang.invoke.MethodHandle target,
java.lang.invoke.MethodHandle fallback,
CacheEntry entry,
JRubyCallSite site,
boolean curryFallback) |
private static java.lang.invoke.MethodHandle |
InvocationLinker.getTarget(JRubyCallSite site,
RubyClass cls,
CacheEntry entry,
int arity) |
static IRubyObject |
InvokeDynamicSupport.handleBreakJump(JumpException.BreakJump bj,
CacheEntry entry,
ThreadContext context,
IRubyObject caller,
IRubyObject self,
java.lang.String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
static boolean |
InvokeDynamicSupport.methodMissing(CacheEntry entry,
CallType callType,
java.lang.String name,
IRubyObject caller) |
private static java.lang.invoke.MethodHandle |
InvocationLinker.updateInvocationTarget(java.lang.invoke.MethodHandle target,
JRubyCallSite site,
IRubyObject self,
RubyModule selfClass,
java.lang.String name,
CacheEntry entry,
java.lang.invoke.SwitchPoint switchPoint,
boolean block,
int arity)
Update the given call site using the new target, wrapping with appropriate
guard and argument-juggling logic.
|