| 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 |
|---|---|
private static ObjectAllocator |
RubyBigDecimal.ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
protected static ObjectAllocator |
RubyDigest.DigestBase.DIGEST_BASE_ALLOCATOR |
protected static ObjectAllocator |
RubyDigest.DigestClass.DIGEST_CLASS_ALLOCATOR |
| Modifier and Type | Class and Description |
|---|---|
private static class |
AutoPointer.AutoPointerAllocator |
private static class |
Buffer.BufferAllocator |
private static class |
Enum.Allocator |
private static class |
Enums.Allocator |
private static class |
MemoryPointer.MemoryPointerAllocator |
private static class |
Pointer.PointerAllocator |
(package private) class |
ReifyingAllocator |
private static class |
Struct.Allocator |
private static class |
StructLayout.ArrayFieldAllocator |
private static class |
StructLayout.EnumFieldAllocator |
private static class |
StructLayout.FieldAllocator |
private static class |
StructLayout.FunctionFieldAllocator |
private static class |
StructLayout.InnerStructFieldAllocator |
private static class |
StructLayout.MappedFieldAllocator |
private static class |
StructLayout.NumberFieldAllocator |
private static class |
StructLayout.PointerFieldAllocator |
private static class |
StructLayout.StringFieldAllocator |
| Modifier and Type | Field and Description |
|---|---|
(package private) static ObjectAllocator |
AutoPointer.AutoPointerAllocator.INSTANCE |
(package private) static ObjectAllocator |
Buffer.BufferAllocator.INSTANCE |
private static ObjectAllocator |
Enum.Allocator.INSTANCE |
private static ObjectAllocator |
Enums.Allocator.INSTANCE |
(package private) static ObjectAllocator |
MemoryPointer.MemoryPointerAllocator.INSTANCE |
(package private) static ObjectAllocator |
Pointer.PointerAllocator.INSTANCE |
private static ObjectAllocator |
Struct.Allocator.INSTANCE |
private static ObjectAllocator |
StructLayout.FieldAllocator.INSTANCE |
private static ObjectAllocator |
StructLayout.NumberFieldAllocator.INSTANCE |
private static ObjectAllocator |
StructLayout.EnumFieldAllocator.INSTANCE |
private static ObjectAllocator |
StructLayout.StringFieldAllocator.INSTANCE |
private static ObjectAllocator |
StructLayout.PointerFieldAllocator.INSTANCE |
private static ObjectAllocator |
StructLayout.FunctionFieldAllocator.INSTANCE |
private static ObjectAllocator |
StructLayout.InnerStructFieldAllocator.INSTANCE |
private static ObjectAllocator |
StructLayout.ArrayFieldAllocator.INSTANCE |
private static ObjectAllocator |
StructLayout.MappedFieldAllocator.INSTANCE |
| Modifier and Type | Class and Description |
|---|---|
private static class |
FileDescriptorIO.Allocator |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
FileDescriptorIO.Allocator.INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
RubyIconv.ICONV_ALLOCATOR |
protected static ObjectAllocator |
RubyIconv.RubyFailure.ICONV_FAILURE_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
static ObjectAllocator |
JRubyFiberLocal.ALLOCATOR |
static ObjectAllocator |
JRubyThreadLocal.ALLOCATOR |
private static ObjectAllocator |
JRubyObjectInputStream.JROIS_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
RubyPathname.PATHNAME_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
RubyBasicSocket.BASICSOCKET_ALLOCATOR |
private static ObjectAllocator |
RubyIPSocket.IPSOCKET_ALLOCATOR |
private static ObjectAllocator |
RubyServerSocket.SERVER_SOCKET_ALLOCATOR |
private static ObjectAllocator |
RubySocket.SOCKET_ALLOCATOR |
private static ObjectAllocator |
RubyTCPServer.TCPSERVER_ALLOCATOR |
private static ObjectAllocator |
RubyTCPSocket.TCPSOCKET_ALLOCATOR |
private static ObjectAllocator |
RubyUDPSocket.UDPSOCKET_ALLOCATOR |
private static ObjectAllocator |
RubyUNIXServer.UNIXSERVER_ALLOCATOR |
private static ObjectAllocator |
RubyUNIXSocket.UNIXSOCKET_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
RubyStringIO.STRINGIO_ALLOCATOR |
private static ObjectAllocator |
StringIO.STRINGIO_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
RubyStringScanner.STRINGSCANNER_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
Tempfile.TEMPFILE_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
static ObjectAllocator |
WeakRef.WEAKREF_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
protected static ObjectAllocator |
JZlibDeflate.DEFLATE_ALLOCATOR |
protected static ObjectAllocator |
RubyGzipFile.GZIPFILE_ALLOCATOR |
protected static ObjectAllocator |
JZlibRubyGzipReader.GZIPREADER_ALLOCATOR |
protected static ObjectAllocator |
JZlibRubyGzipWriter.GZIPWRITER_ALLOCATOR |
protected static ObjectAllocator |
JZlibInflate.INFLATE_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
ConcreteJavaProxy.ALLOCATOR |
private static ObjectAllocator |
InterfaceJavaProxy.ALLOCATOR |
private static ObjectAllocator |
JavaProxy.ALLOCATOR |
private static ObjectAllocator |
MapJavaProxy.ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
private static ObjectAllocator |
JavaObject.JAVA_OBJECT_ALLOCATOR |
| Modifier and Type | Field and Description |
|---|---|
static ObjectAllocator |
ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR |