Package | Description |
---|---|
org.jruby | |
org.jruby.cext | |
org.jruby.ext | |
org.jruby.runtime |
Modifier and Type | Field and Description |
---|---|
static ObjectAllocator |
RubyJRuby.JRubyThreadLocal.ALLOCATOR |
static ObjectAllocator |
RubyJRuby.JRubyFiberLocal.ALLOCATOR |
static ObjectAllocator |
RubyBasicObject.BASICOBJECT_ALLOCATOR
Default allocator instance for all Ruby objects.
|
static ObjectAllocator |
RubyClass.CLASS_ALLOCATOR |
protected static ObjectAllocator |
RubyZlib.Deflate.DEFLATE_ALLOCATOR |
protected static ObjectAllocator |
RubyDigest.DigestBase.DIGEST_BASE_ALLOCATOR |
protected static ObjectAllocator |
RubyDigest.DigestClass.DIGEST_CLASS_ALLOCATOR |
static ObjectAllocator |
RubyException.EXCEPTION_ALLOCATOR |
protected static ObjectAllocator |
RubyZlib.RubyGzipFile.GZIPFILE_ALLOCATOR |
protected static ObjectAllocator |
RubyZlib.RubyGzipReader.GZIPREADER_ALLOCATOR |
protected static ObjectAllocator |
RubyZlib.RubyGzipWriter.GZIPWRITER_ALLOCATOR |
protected static ObjectAllocator |
RubyIconv.RubyFailure.ICONV_FAILURE_ALLOCATOR |
protected static ObjectAllocator |
RubyZlib.Inflate.INFLATE_ALLOCATOR |
static ObjectAllocator |
RubyModule.MODULE_ALLOCATOR |
static ObjectAllocator |
RubyNil.NIL_ALLOCATOR |
protected static ObjectAllocator |
RubyNumeric.NUMERIC_ALLOCATOR |
static ObjectAllocator |
RubyObject.OBJECT_ALLOCATOR
Default allocator instance for all Ruby objects.
|
static ObjectAllocator |
RubyObject.REIFYING_OBJECT_ALLOCATOR |
Modifier and Type | Method and Description |
---|---|
ObjectAllocator |
RubyClass.getAllocator() |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
RubyClass.createBootstrapClass(Ruby runtime,
java.lang.String name,
RubyClass superClass,
ObjectAllocator allocator)
boot_defclass
Create an initial Object meta class before Module and Kernel dependencies have
squirreled themselves together.
|
RubyClass |
Ruby.defineClass(java.lang.String name,
RubyClass superClass,
ObjectAllocator allocator)
Define a new class under the Object namespace.
|
RubyClass |
Ruby.defineClass(java.lang.String name,
RubyClass superClass,
ObjectAllocator allocator,
CallSite[] callSites)
A variation of defineClass that allows passing in an array of subplementary
call sites for improving dynamic invocation performance.
|
RubyClass |
RubyModule.defineClassUnder(java.lang.String name,
RubyClass superClass,
ObjectAllocator allocator)
rb_define_class_under
this method should be used only as an API to define/open nested classes
|
RubyClass |
Ruby.defineClassUnder(java.lang.String name,
RubyClass superClass,
ObjectAllocator allocator,
RubyModule parent)
Define a new class with the given name under the given module or class
namespace.
|
RubyClass |
Ruby.defineClassUnder(java.lang.String name,
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.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
java.lang.String name,
ObjectAllocator allocator,
RubyModule parent,
boolean setParent)
Construct a new class with the given name, allocator, parent class,
and containing class.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
java.lang.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) |
Modifier and Type | Class and Description |
---|---|
class |
NativeObjectAllocator
The
NativeObjectAllocator implements allocation through a native function. |
Modifier and Type | Field and Description |
---|---|
static ObjectAllocator |
WeakRef.WEAKREF_ALLOCATOR |
Modifier and Type | Field and Description |
---|---|
static ObjectAllocator |
ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR |
Copyright © 2002-2009 JRuby Team. All Rights Reserved.