Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Allocator
Class DefaultCodeAllocator  view DefaultCodeAllocator download DefaultCodeAllocator.java

java.lang.Object
  extended byAllocator.DefaultCodeAllocator

public abstract class DefaultCodeAllocator
extends java.lang.Object

DefaultCodeAllocator

Version:
$Id: DefaultCodeAllocator.java,v 1.8 2003/05/12 10:04:52 joewhaley Exp $

Field Summary
static Clazz.jq_StaticField _default_allocator
           
static CodeAllocator default_allocator
           
 
Constructor Summary
DefaultCodeAllocator()
           
 
Method Summary
static CodeAllocator def()
           
static CodeAllocator.x86CodeBuffer getCodeBuffer(int estimatedSize, int offset, int alignment)
           
static void init()
           
static void patchAbsolute(Memory.Address code, Memory.Address heap)
           
static void patchRelativeOffset(Memory.CodeAddress code, Memory.CodeAddress target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

default_allocator

public static CodeAllocator default_allocator

_default_allocator

public static final Clazz.jq_StaticField _default_allocator
Constructor Detail

DefaultCodeAllocator

public DefaultCodeAllocator()
Method Detail

def

public static final CodeAllocator def()

init

public static final void init()

getCodeBuffer

public static final CodeAllocator.x86CodeBuffer getCodeBuffer(int estimatedSize,
                                                              int offset,
                                                              int alignment)

patchAbsolute

public static final void patchAbsolute(Memory.Address code,
                                       Memory.Address heap)

patchRelativeOffset

public static final void patchRelativeOffset(Memory.CodeAddress code,
                                             Memory.CodeAddress target)