jruby/docs BETA
Navigation
org.jruby.runtime.callsite 29
C ArefCallSite
C AsetCallSite
C BitAndCallSite
C BitOrCallSite
C CacheEntry
C CachingCallSite
C CmpCallSite
C DivCallSite
C EqCallSite
C FunctionalCachingCallSite
C GeCallSite
C GtCallSite
C LeCallSite
C LtCallSite
C MinusCallSite
C ModCallSite
C MonomorphicCallSite
C MulCallSite
C NormalCachingCallSite
C NotEqCallSite
C PlusCallSite
C ProfilingCachingCallSite
C RefinedCachingCallSite
C RespondToCallSite
C ShiftLeftCallSite
C ShiftRightCallSite
C SuperCallSite
C VariableCachingCallSite
C XorCallSite
EqCallSite — members 6+
C new()
M call(context, caller, self, arg1) IRubyObject
M call(context, caller, self, arg1) IRubyObject
M call(context, caller, self, arg1) IRubyObject
M is_builtin(self) boolean
M is_secondary_builtin(self) boolean
from CallSite
F methodName String
M fcall(context, self, fixnum) IRubyObject
M fcall(context, self, flote) IRubyObject
M to_string() String
from CachingCallSite
M cache() CacheEntry
M cached_class_index() int
M cached_method_serial() long
M call(context, caller, self, args) IRubyObject
M call(context, caller, self, args, block) IRubyObject
M call(context, caller, self) IRubyObject
M call(context, caller, self, block) IRubyObject
M call(context, caller, self, arg1, block) IRubyObject
M call(context, caller, self, arg1, arg2) IRubyObject
M call(context, caller, self, arg1, arg2, block) IRubyObject
M call(context, caller, self, arg1, arg2, arg3) IRubyObject
M call(context, caller, self, arg1, arg2, arg3, block) IRubyObject
M call_iter(context, caller, self, args, block) IRubyObject
M call_iter(context, caller, self, block) IRubyObject
M call_iter(context, caller, self, arg1, block) IRubyObject
M call_iter(context, caller, self, arg1, arg2, block) IRubyObject
M call_iter(context, caller, self, arg1, arg2, arg3, block) IRubyObject
M call_varargs(context, caller, self, args) IRubyObject
M call_varargs(context, caller, self, args, block) IRubyObject
M call_varargs_iter(context, caller, self, args, block) IRubyObject
M fcall(context, self, args) IRubyObject
M fcall(context, self, args, block) IRubyObject
M fcall(context, self) IRubyObject
M fcall(context, self, block) IRubyObject
M fcall(context, self, arg1) IRubyObject
M fcall(context, self, arg1, block) IRubyObject
M fcall(context, self, arg1, arg2) IRubyObject
M fcall(context, self, arg1, arg2, block) IRubyObject
M fcall(context, self, arg1, arg2, arg3) IRubyObject
M fcall(context, self, arg1, arg2, arg3, block) IRubyObject
M fcall_iter(context, self, args, block) IRubyObject
M fcall_iter(context, self, block) IRubyObject
M fcall_iter(context, self, arg1, block) IRubyObject
M fcall_iter(context, self, arg1, arg2, block) IRubyObject
M fcall_iter(context, self, arg1, arg2, arg3, block) IRubyObject
M fcall_varargs(context, self, args) IRubyObject
M fcall_varargs(context, self, args, block) IRubyObject
M fcall_varargs_iter(context, self, args, block) IRubyObject
M is_builtin(self_type) boolean
M method_name() String
M optimizable?() boolean
M retrieve_cache(self) CacheEntry
M retrieve_cache(self_type) CacheEntry
M retrieve_cache(self_type, method_name) CacheEntry
from BimorphicCallSite
M retrieve_secondary_cache(self) CacheEntry
M secondary_cache() CacheEntry

org.jruby.runtime.callsite.EqCallSite

class extends BimorphicCallSite 6 members

Constructors

new

new ( )
Java: <init>()

Instance Methods

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1 )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, long arg1 )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, long arg1)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, double arg1 )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, double arg1)

is_builtin

boolean is_builtin ( IRubyObject self )
Java: isBuiltin(org.jruby.runtime.builtin.IRubyObject self)

is_secondary_builtin

boolean is_secondary_builtin ( IRubyObject self )
Java: isSecondaryBuiltin(org.jruby.runtime.builtin.IRubyObject self)

Inherited

from CallSite

fieldtypenote
methodName String The method name this site calls and caches

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, long fixnum )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, long fixnum)

Call the site's method against the target object, passing a literal long value. This version does not check visibility.

nametypedescription
contextorg.jruby.runtime.ThreadContextthe ThreadContext for the current thread
selforg.jruby.runtime.builtin.IRubyObjectthe target object to call against
fixnumlongthe literal long value to pass

Returns: the result of the call

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, double flote )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, double flote)

Call the site's method against the target object, passing a literal double value. This version does not check visibility.

nametypedescription
contextorg.jruby.runtime.ThreadContextthe ThreadContext for the current thread
selforg.jruby.runtime.builtin.IRubyObjectthe target object to call against
flotedoublethe literal double value to pass

Returns: the result of the call

to_string

String to_string ( )
Java: toString()

Produce a string representation of this CallSite, for informational purposes. Subclasses can override this to provide more information.

Returns: an informational string representation of this CallSite

from CachingCallSite

cache

CacheEntry cache ( )
Java: getCache() · also: get_cache

cached_class_index

int cached_class_index ( )
Java: getCachedClassIndex() · also: get_cached_class_index

cached_method_serial

long cached_method_serial ( )
Java: getCachedMethodSerial() · also: get_cached_method_serial

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.Block block)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.Block block)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2 )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.Block block)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3 )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.builtin.IRubyObject arg3)

call

IRubyObject call ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.builtin.IRubyObject arg3, org.jruby.runtime.Block block)

call_iter

IRubyObject call_iter ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block )
Java: callIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

call_iter

IRubyObject call_iter ( ThreadContext context, IRubyObject caller, IRubyObject self, Block block )
Java: callIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.Block block)

call_iter

IRubyObject call_iter ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, Block block )
Java: callIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.Block block)

call_iter

IRubyObject call_iter ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block )
Java: callIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.Block block)

call_iter

IRubyObject call_iter ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block )
Java: callIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.builtin.IRubyObject arg3, org.jruby.runtime.Block block)

call_varargs

IRubyObject call_varargs ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args )
Java: callVarargs(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args)

call_varargs

IRubyObject call_varargs ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block )
Java: callVarargs(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

call_varargs_iter

IRubyObject call_varargs_iter ( ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block )
Java: callVarargsIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, IRubyObject[] args )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, IRubyObject[] args, Block block )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, Block block )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.Block block)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, IRubyObject arg1 )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, IRubyObject arg1, Block block )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.Block block)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2 )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.Block block)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3 )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.builtin.IRubyObject arg3)

fcall

IRubyObject fcall ( ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block )
Java: fcall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.builtin.IRubyObject arg3, org.jruby.runtime.Block block)

fcall_iter

IRubyObject fcall_iter ( ThreadContext context, IRubyObject self, IRubyObject[] args, Block block )
Java: fcallIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

fcall_iter

IRubyObject fcall_iter ( ThreadContext context, IRubyObject self, Block block )
Java: fcallIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.Block block)

fcall_iter

IRubyObject fcall_iter ( ThreadContext context, IRubyObject self, IRubyObject arg1, Block block )
Java: fcallIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.Block block)

fcall_iter

IRubyObject fcall_iter ( ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, Block block )
Java: fcallIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.Block block)

fcall_iter

IRubyObject fcall_iter ( ThreadContext context, IRubyObject self, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block )
Java: fcallIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.builtin.IRubyObject arg3, org.jruby.runtime.Block block)

fcall_varargs

IRubyObject fcall_varargs ( ThreadContext context, IRubyObject self, IRubyObject[] args )
Java: fcallVarargs(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args)

fcall_varargs

IRubyObject fcall_varargs ( ThreadContext context, IRubyObject self, IRubyObject[] args, Block block )
Java: fcallVarargs(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

fcall_varargs_iter

IRubyObject fcall_varargs_iter ( ThreadContext context, IRubyObject self, IRubyObject[] args, Block block )
Java: fcallVarargsIter(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

is_builtin

boolean is_builtin ( RubyClass self_type )
Java: isBuiltin(org.jruby.RubyClass selfType)

method_name

String method_name ( )
Java: getMethodName() · also: get_method_name

optimizable?

boolean optimizable? ( )
Java: isOptimizable() · also: is_optimizable

retrieve_cache

CacheEntry retrieve_cache ( IRubyObject self )
Java: retrieveCache(org.jruby.runtime.builtin.IRubyObject self)

retrieve_cache

CacheEntry retrieve_cache ( RubyClass self_type )
Java: retrieveCache(org.jruby.RubyClass selfType)

retrieve_cache

CacheEntry retrieve_cache ( RubyClass self_type, String method_name )
Java: retrieveCache(org.jruby.RubyClass selfType, String methodName)

from BimorphicCallSite

retrieve_secondary_cache

CacheEntry retrieve_secondary_cache ( IRubyObject self )
Java: retrieveSecondaryCache(org.jruby.runtime.builtin.IRubyObject self)

secondary_cache

CacheEntry secondary_cache ( )
Java: getSecondaryCache() · also: get_secondary_cache