Uses of Interface
org.jruby.runtime.ObjectAllocator
Packages that use ObjectAllocator
-
Uses of ObjectAllocator in org.jruby
Fields in org.jruby declared as ObjectAllocatorModifier and TypeFieldDescriptionstatic final ObjectAllocator
RubyBasicObject.BASICOBJECT_ALLOCATOR
Default allocator instance for all Ruby objects.static final ObjectAllocator
RubyClass.CLASS_ALLOCATOR
static final ObjectAllocator
RubyException.EXCEPTION_ALLOCATOR
static final ObjectAllocator
RubyObject.IVAR_INSPECTING_OBJECT_ALLOCATOR
Allocator that inspects all methods for instance variables and chooses a concrete class to construct based on that.static final ObjectAllocator
RubyModule.MODULE_ALLOCATOR
static final ObjectAllocator
RubyNil.NIL_ALLOCATOR
Deprecated.static final ObjectAllocator
RubyObject.OBJECT_ALLOCATOR
Default allocator instance for all Ruby objects.static final ObjectAllocator
RubyObject.REIFYING_OBJECT_ALLOCATOR
Methods in org.jruby that return ObjectAllocatorMethods in org.jruby with parameters of type ObjectAllocatorModifier and TypeMethodDescription<T extends RubyClass>
TRubyClass.allocator
(ObjectAllocator allocator) Define an allocator for this class (usually this is part ofDefine.defineClass(ThreadContext, String, RubyClass, ObjectAllocator)
).static RubyClass
RubyClass.createBootstrapClass
(Ruby runtime, String name, RubyClass superClass, ObjectAllocator allocator) boot_defclass Create an initial Object meta class before Module and Kernel dependencies have squirreled themselves together.Ruby.defineClass
(String name, RubyClass superClass, ObjectAllocator allocator) Deprecated.Ruby.defineClass
(String name, RubyClass superClass, ObjectAllocator allocator, CallSite[] callSites) Deprecated.Ruby.defineClassUnder
(String name, RubyClass superClass, ObjectAllocator allocator, RubyModule parent) Deprecated.Ruby.defineClassUnder
(String id, RubyClass superClass, ObjectAllocator allocator, RubyModule parent, CallSite[] callSites) Deprecated.Ruby.defineClassUnder
(ThreadContext context, String id, RubyClass superClass, ObjectAllocator allocator, RubyModule parent, CallSite[] callSites) A variation of defineClassUnder that allows passing in an array of supplementary call sites to improve dynamic invocation.RubyModule.defineClassUnder
(String name, RubyClass superClass, ObjectAllocator allocator) Deprecated.<T extends RubyClass>
TRubyModule.defineClassUnder
(ThreadContext context, String name, RubyClass superClass, ObjectAllocator allocator) Define a Class under this Class/Module.RubyModule.defineClassUnder
(ThreadContext context, String name, RubyClass superClazz, ObjectAllocator allocator, String file, int line) Internal API only used by our IR runtime helpers in setting up Ruby-defined classes or re-accessing them if they already exist.RubyModule.defineOrGetClassUnder
(String name, RubyClass superClazz, ObjectAllocator allocator) Deprecated.RubyModule.defineOrGetClassUnder
(String name, RubyClass superClazz, ObjectAllocator allocator, String file, int line) Deprecated.static RubyClass
RubyClass.newClass
(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent) Deprecated.static RubyClass
RubyClass.newClass
(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, String file, int line) Deprecated.static RubyClass
RubyClass.newClass
(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, CallSite[] extraCallSites) Deprecated.static RubyClass
RubyClass.newClass
(ThreadContext context, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, String file, int line) static RubyClass
RubyClass.newClass
(ThreadContext context, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, CallSite[] extraCallSites) A variation on newClass that allows passing in an array of supplementary call sites to improve dynamic invocation performance.void
RubyClass.setAllocator
(ObjectAllocator allocator) Deprecated.UseRubyClass.allocator(ObjectAllocator)
instead. -
Uses of ObjectAllocator in org.jruby.api
Methods in org.jruby.api with parameters of type ObjectAllocatorModifier and TypeMethodDescriptionstatic RubyClass
Define.defineClass
(ThreadContext context, String name, RubyClass superClass, ObjectAllocator allocator) Define a new class under the Object namespace. -
Uses of ObjectAllocator in org.jruby.runtime
Fields in org.jruby.runtime declared as ObjectAllocatorModifier and TypeFieldDescriptionstatic final ObjectAllocator
ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR
-
Uses of ObjectAllocator in org.jruby.specialized
Methods in org.jruby.specialized that return ObjectAllocatorModifier and TypeMethodDescriptionRubyObjectSpecializer.specializeForVariables
(RubyClass klass, Set<String> foundVariables)
RubyModule.defineClassUnder(ThreadContext, String, RubyClass, ObjectAllocator)
instead.