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

Quick Search    Search Deep
A B C D E F G H I L M O P R S T V W _

A

ARRAY_ELEMENT_OFFSET - Static variable in class Allocator.ObjectLayout
Offset of array element 0, in bytes.
ARRAY_HEADER_SIZE - Static variable in class Allocator.ObjectLayout
Size of array header, in bytes.
ARRAY_LENGTH_OFFSET - Static variable in class Allocator.ObjectLayout
Offset of array length word, in bytes.
Allocator - package Allocator
 
add1(byte) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Adds one byte to the end of this code buffer.
add1(byte) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
add2(int) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Adds two bytes (big-endian) to the end of this code buffer.
add2(int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
add2_endian(int) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Adds two bytes (little-endian) to the end of this code buffer.
add2_endian(int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
add3(int) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Adds three bytes (big-endian) to the end of this code buffer.
add3(int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
add4_endian(int) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Adds four bytes (little-endian) to the end of this code buffer.
add4_endian(int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
addCollection(Collection) - Method in class Allocator.BestFitStrategy
 
addCollection(Collection) - Method in interface Allocator.FreeMemStrategy
 
addCollection(Collection) - Method in class Allocator.WorstFitStrategy
 
addFreeMem(MemUnit) - Method in class Allocator.BestFitStrategy
 
addFreeMem(MemUnit) - Static method in class Allocator.FreeMemManager
 
addFreeMem(MemUnit) - Method in interface Allocator.FreeMemStrategy
 
addFreeMem(MemUnit) - Method in class Allocator.WorstFitStrategy
 
allocateArray(int, int, Object) - Static method in class Allocator.DefaultHeapAllocator
 
allocateArray(int, int, Object) - Method in class Allocator.HeapAllocator
Allocate an array with the default alignment.
allocateArray(int, int, Object) - Method in class Allocator.SimpleAllocator
Allocate an array with the default alignment.
allocateArrayAlign8(int, int, Object) - Static method in class Allocator.DefaultHeapAllocator
 
allocateArrayAlign8(int, int, Object) - Method in class Allocator.HeapAllocator
Allocate an array such that the elements are 8-byte aligned.
allocateArrayAlign8(int, int, Object) - Method in class Allocator.SimpleAllocator
Allocate an array such that the elements are 8-byte aligned.
allocateCodeBlock(jq_Method, jq_TryCatch[], jq_BytecodeMap, ExceptionDeliverer, int, List, List) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Uses the code in this buffer, along with the arguments, to create a jq_CompiledCode object.
allocateCodeBlock(jq_Method, jq_TryCatch[], jq_BytecodeMap, ExceptionDeliverer, int, List, List) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
allocateNewBlock(int) - Method in class Allocator.RuntimeCodeAllocator
 
allocateNewBlock() - Method in class Allocator.SimpleAllocator
Allocates a new block of memory from the OS, sets the current block to point to it, makes the new block the current block, and allocates and installs the GC structures.
allocateObject(int, Object) - Static method in class Allocator.DefaultHeapAllocator
 
allocateObject(int, Object) - Method in class Allocator.HeapAllocator
Allocate an object with the default alignment.
allocateObject(int, Object) - Method in class Allocator.SimpleAllocator
Allocate an object with the default alignment.
allocateObjectAlign8(int, Object) - Static method in class Allocator.DefaultHeapAllocator
 
allocateObjectAlign8(int, Object) - Method in class Allocator.HeapAllocator
Allocate an object such that the first field is 8-byte aligned.
allocateObjectAlign8(int, Object) - Method in class Allocator.SimpleAllocator
Allocate an object such that the first field is 8-byte aligned.

B

BLOCK_SIZE - Static variable in class Allocator.RuntimeCodeAllocator
Size of blocks allocated from the OS.
BLOCK_SIZE - Static variable in class Allocator.SimpleAllocator
Size of blocks allocated from the OS.
BestFitStrategy - class Allocator.BestFitStrategy.
Best Fit Strategy
BestFitStrategy() - Constructor for class Allocator.BestFitStrategy
 
byteLength - Variable in class Allocator.MemUnit
 

C

CodeAllocator - class Allocator.CodeAllocator.
This class provides the abstract interface for code allocators.
CodeAllocator() - Constructor for class Allocator.CodeAllocator
 
CodeAllocator.InstructionPointer - class Allocator.CodeAllocator.InstructionPointer.
An object of this class represents a code address.
CodeAllocator.InstructionPointer(CodeAddress) - Constructor for class Allocator.CodeAllocator.InstructionPointer
Create a new instruction pointer.
CodeAllocator.x86CodeBuffer - class Allocator.CodeAllocator.x86CodeBuffer.
This class provides the interface for x86 code buffers.
CodeAllocator.x86CodeBuffer() - Constructor for class Allocator.CodeAllocator.x86CodeBuffer
 
checkSize(int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
clone(Object) - Static method in class Allocator.HeapAllocator
Clone the given object.
clsinitAndAllocateObject(jq_Type) - Static method in class Allocator.HeapAllocator
Initialize class t and return a new uninitialized object of that type.
collect() - Static method in class Allocator.DefaultHeapAllocator
 
collect() - Method in class Allocator.HeapAllocator
Initiate a garbage collection.
collect() - Method in class Allocator.SimpleAllocator
 
compare(Object, Object) - Method in class Allocator.MemUnitComparator
 
compareTo(jq_CompiledCode) - Method in class Allocator.CodeAllocator.InstructionPointer
Compare this instruction pointer to a compiled code object.
compareTo(CodeAllocator.InstructionPointer) - Method in class Allocator.CodeAllocator.InstructionPointer
Compare this instruction pointer to another instruction pointer.
compareTo(Object) - Method in class Allocator.CodeAllocator.InstructionPointer
Compares this instruction pointer to the given object (InstructionPointer or jq_CompiledCode)
compareTo(HeapAllocator.HeapPointer) - Method in class Allocator.HeapAllocator.HeapPointer
Compare this heap pointer to another heap pointer.
compareTo(Object) - Method in class Allocator.HeapAllocator.HeapPointer
Compares this heap pointer to the given object.
compiledMethods - Static variable in class Allocator.CodeAllocator
Map of compiled methods, sorted by address.
currentAddress - Variable in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 

D

DefaultCodeAllocator - class Allocator.DefaultCodeAllocator.
DefaultCodeAllocator
DefaultCodeAllocator() - Constructor for class Allocator.DefaultCodeAllocator
 
DefaultHeapAllocator - class Allocator.DefaultHeapAllocator.
DefaultHeapAllocator
DefaultHeapAllocator() - Constructor for class Allocator.DefaultHeapAllocator
 
def() - Static method in class Allocator.DefaultCodeAllocator
 
def() - Static method in class Allocator.DefaultHeapAllocator
 
defaultStrategy - Static variable in class Allocator.FreeMemManager
 
default_allocator - Static variable in class Allocator.DefaultCodeAllocator
 

E

endAddress - Variable in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
endian2(int) - Static method in class Allocator.RuntimeCodeAllocator
 
entrypointAddress - Variable in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
equals(jq_CompiledCode) - Method in class Allocator.CodeAllocator.InstructionPointer
Returns true if this instruction pointer refers to a location within the given compiled code, false otherwise.
equals(CodeAllocator.InstructionPointer) - Method in class Allocator.CodeAllocator.InstructionPointer
Returns true if this instruction pointer refers to the same location as the given instruction pointer, false otherwise.
equals(Object) - Method in class Allocator.CodeAllocator.InstructionPointer
Compares this instruction pointer with the given object (InstructionPointer or jq_CompiledCode).
equals(HeapAllocator.HeapPointer) - Method in class Allocator.HeapAllocator.HeapPointer
Returns true if this heap pointer refers to the same location as the given heap pointer, false otherwise.
equals(Object) - Method in class Allocator.HeapAllocator.HeapPointer
Compares this heap pointer with the given object.

F

FreeMemManager - class Allocator.FreeMemManager.
FreeMemManager
FreeMemManager() - Constructor for class Allocator.FreeMemManager
 
FreeMemStrategy - interface Allocator.FreeMemStrategy.
FreeMemStrategy
freeMemory() - Static method in class Allocator.DefaultHeapAllocator
 
freeMemory() - Method in class Allocator.HeapAllocator
Returns an estimate of the amount of free memory available.
freeMemory() - Method in class Allocator.SimpleAllocator
Returns an estimate of the amount of free memory available.
freePool - Variable in class Allocator.BestFitStrategy
 
freePool - Variable in class Allocator.WorstFitStrategy
 

G

GC_BIT - Static variable in class Allocator.ObjectLayout
Bit in object header for use by GC.
gcBits - Variable in class Allocator.SimpleAllocator
GC information for the current block.
get() - Method in class Allocator.HeapAllocator.HeapPointer
Extract the address of this heap pointer.
get1(int) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Gets the byte at the given offset in this code buffer.
get1(int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
get4_endian(int) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Gets the (little-endian) 4 bytes at the given offset in this code buffer.
get4_endian(int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
getArrayLength(Object) - Static method in class Allocator.ObjectLayoutMethods
 
getByteLength() - Method in class Allocator.MemUnit
 
getCodeBuffer(int, int, int) - Method in class Allocator.CodeAllocator
Allocate a code buffer of the given estimated size, such that the given offset will have the given alignment.
getCodeBuffer(int, int, int) - Static method in class Allocator.DefaultCodeAllocator
 
getCodeBuffer(int, int, int) - Method in class Allocator.RuntimeCodeAllocator
Allocate a code buffer of the given estimated size, such that the given offset will have the given alignment.
getCodeContaining(CodeAddress) - Static method in class Allocator.CodeAllocator
Return the compiled code which contains the given code address.
getCompiledMethods() - Static method in class Allocator.CodeAllocator
Returns an iterator of the registered jq_CompiledCode objects, in address order.
getCurrent() - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
getCurrentAddress() - Method in class Allocator.CodeAllocator.x86CodeBuffer
Returns the current address in this code buffer.
getCurrentAddress() - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
getCurrentOffset() - Method in class Allocator.CodeAllocator.x86CodeBuffer
Returns the current offset in this code buffer.
getCurrentOffset() - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
getEnd() - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
getEntry() - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
getFreeMem(int) - Method in class Allocator.BestFitStrategy
 
getFreeMem(int) - Static method in class Allocator.FreeMemManager
 
getFreeMem(int) - Method in interface Allocator.FreeMemStrategy
 
getFreeMem(int) - Method in class Allocator.WorstFitStrategy
 
getHead() - Method in class Allocator.MemUnit
 
getHighAddress() - Static method in class Allocator.CodeAllocator
Returns the highest address of any registered code.
getIP() - Method in class Allocator.CodeAllocator.InstructionPointer
Extract the address of this instruction pointer.
getLowAddress() - Static method in class Allocator.CodeAllocator
Returns the lowest address of any registered code.
getNumberOfCompiledMethods() - Static method in class Allocator.CodeAllocator
Returns the number of registered jq_CompiledCode objects.
getStart() - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
getStartAddress() - Method in class Allocator.CodeAllocator.x86CodeBuffer
Returns the current address in this code buffer.
getStartAddress() - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
getVTable(Object) - Static method in class Allocator.ObjectLayoutMethods
 

H

HASHED - Static variable in class Allocator.ObjectLayout
Object has been hashed.
HASHED_MOVED - Static variable in class Allocator.ObjectLayout
Object has been hashed and later moved.
HeapAllocator - class Allocator.HeapAllocator.
HeapAllocator
HeapAllocator() - Constructor for class Allocator.HeapAllocator
 
HeapAllocator.HeapPointer - class Allocator.HeapAllocator.HeapPointer.
An object of this class represents a pointer to a heap address.
HeapAllocator.HeapPointer(HeapAddress) - Constructor for class Allocator.HeapAllocator.HeapPointer
Create a new heap pointer.
hashCode() - Method in class Allocator.CodeAllocator.InstructionPointer
Returns the hash code of this instruction pointer.
hashCode() - Method in class Allocator.HeapAllocator.HeapPointer
Returns the hash code of this heap pointer.
head - Variable in class Allocator.MemUnit
 
heapCurrent - Variable in class Allocator.RuntimeCodeAllocator
Pointers to the start, current, and end of the heap.
heapCurrent - Variable in class Allocator.SimpleAllocator
Pointers to the start, current, and end of the heap.
heapEnd - Variable in class Allocator.RuntimeCodeAllocator
Pointers to the start, current, and end of the heap.
heapEnd - Variable in class Allocator.SimpleAllocator
Pointers to the start, current, and end of the heap.
heapExhausted(Heap, int, int) - Static method in class Allocator.HeapAllocator
Handle heap exhaustion.
heapFirst - Variable in class Allocator.RuntimeCodeAllocator
Pointer to the first block.
heapFirst - Variable in class Allocator.SimpleAllocator
Pointers to the start, current, and end of the heap.
heapStart - Variable in class Allocator.RuntimeCodeAllocator
Pointers to the start, current, and end of the heap.
highAddress - Static variable in class Allocator.CodeAllocator
Address range of compiled code.

I

init() - Method in class Allocator.CodeAllocator
Initialize this code allocator.
init() - Static method in class Allocator.DefaultCodeAllocator
 
init() - Static method in class Allocator.DefaultHeapAllocator
 
init() - Method in class Allocator.HeapAllocator
Perform initialization for this allocator.
init() - Method in class Allocator.RuntimeCodeAllocator
 
init() - Method in class Allocator.SimpleAllocator
Perform initialization for this allocator.
initializeArray(HeapAddress, Object, int, int) - Static method in class Allocator.ObjectLayoutMethods
 
initializeCompiledMethodMap() - Static method in class Allocator.CodeAllocator
 
initializeObject(HeapAddress, Object, int) - Static method in class Allocator.ObjectLayoutMethods
 
installGCBits() - Method in class Allocator.SimpleAllocator
Allocates and installs the GC structures for the current block.
ip - Variable in class Allocator.CodeAllocator.InstructionPointer
The (actual) address.
ip - Variable in class Allocator.HeapAllocator.HeapPointer
The (actual) address.
isGenerating - Variable in class Allocator.RuntimeCodeAllocator
 
isOutOfMemory - Static variable in class Allocator.HeapAllocator
 

L

LARGE_THRESHOLD - Static variable in class Allocator.SimpleAllocator
Threshold for direct OS allocation.
LOCK_COUNT_INC - Static variable in class Allocator.ObjectLayout
Value to add to status word to increment lock count by one.
LOCK_COUNT_MASK - Static variable in class Allocator.ObjectLayout
Mask of the lock count in the status word.
LOCK_COUNT_SHIFT - Static variable in class Allocator.ObjectLayout
Bit location of lock count in the status word.
LOCK_EXPANDED - Static variable in class Allocator.ObjectLayout
Lock has been expanded.
lowAddress - Static variable in class Allocator.CodeAllocator
Address range of compiled code.

M

MAX_MEMORY - Static variable in class Allocator.SimpleAllocator
Maximum memory, in bytes, to be allocated from the OS.
MemUnit - class Allocator.MemUnit.
MemUnit
MemUnit(Address, int) - Constructor for class Allocator.MemUnit
 
MemUnit(Address, Address) - Constructor for class Allocator.MemUnit
 
MemUnitComparator - class Allocator.MemUnitComparator.
MemUnitComparator
MemUnitComparator() - Constructor for class Allocator.MemUnitComparator
 
maxFreePrevious - Variable in class Allocator.RuntimeCodeAllocator
Max memory free in all allocated blocks.

O

OBJ_HEADER_SIZE - Static variable in class Allocator.ObjectLayout
Size of (non-array) object header, in bytes.
ObjectLayout - class Allocator.ObjectLayout.
This interface contains constants that define the joeq object layout.
ObjectLayout() - Constructor for class Allocator.ObjectLayout
 
ObjectLayoutMethods - class Allocator.ObjectLayoutMethods.
This interface contains utility functions for the joeq object layout.
ObjectLayoutMethods() - Constructor for class Allocator.ObjectLayoutMethods
 
outOfMemory() - Static method in class Allocator.HeapAllocator
Called in an out of memory situation.
outofmemoryerror - Static variable in class Allocator.HeapAllocator
 

P

patchAbsolute(Address, Address) - Method in class Allocator.CodeAllocator
Patch the given address to refer to the other given address, in absolute terms.
patchAbsolute(Address, Address) - Static method in class Allocator.DefaultCodeAllocator
 
patchAbsolute(Address, Address) - Method in class Allocator.RuntimeCodeAllocator
 
patchRelativeOffset(CodeAddress, CodeAddress) - Method in class Allocator.CodeAllocator
Patch the given code address to refer to the given code address, in relative terms.
patchRelativeOffset(CodeAddress, CodeAddress) - Static method in class Allocator.DefaultCodeAllocator
 
patchRelativeOffset(CodeAddress, CodeAddress) - Method in class Allocator.RuntimeCodeAllocator
 
processPtrField(Address) - Static method in class Allocator.DefaultHeapAllocator
 
processPtrField(Address) - Method in class Allocator.HeapAllocator
Process a reference to a heap object during garbage collection.
processPtrField(Address) - Method in class Allocator.SimpleAllocator
 
put1(int, byte) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Sets the byte at the given offset to the given value.
put1(int, byte) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
put4_endian(int, int) - Method in class Allocator.CodeAllocator.x86CodeBuffer
Sets the 4 bytes at the given offset to the given (little-endian) value.
put4_endian(int, int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 

R

RuntimeCodeAllocator - class Allocator.RuntimeCodeAllocator.
RuntimeCodeAllocator
RuntimeCodeAllocator() - Constructor for class Allocator.RuntimeCodeAllocator
 
RuntimeCodeAllocator.Runtimex86CodeBuffer - class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer.
 
RuntimeCodeAllocator.Runtimex86CodeBuffer(CodeAddress, CodeAddress) - Constructor for class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
registerCode(jq_CompiledCode) - Static method in class Allocator.CodeAllocator
Register the given compiled code, so lookups by address will return this code.

S

STATUS_FLAGS_MASK - Static variable in class Allocator.ObjectLayout
Mask for status flags.
STATUS_WORD_OFFSET - Static variable in class Allocator.ObjectLayout
Offset of status word, in bytes.
SimpleAllocator - class Allocator.SimpleAllocator.
SimpleAllocator
SimpleAllocator() - Constructor for class Allocator.SimpleAllocator
 
setArrayLength(Object, int) - Static method in class Allocator.ObjectLayoutMethods
 
setByteLength(int) - Method in class Allocator.MemUnit
 
setEntrypoint() - Method in class Allocator.CodeAllocator.x86CodeBuffer
Sets the current address as the entrypoint to this code buffer.
setEntrypoint() - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
setFreeMemStrategy(FreeMemStrategy) - Static method in class Allocator.FreeMemManager
 
setHead(Address) - Method in class Allocator.MemUnit
 
skip(int) - Method in class Allocator.CodeAllocator.x86CodeBuffer
 
skip(int) - Method in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
startAddress - Variable in class Allocator.RuntimeCodeAllocator.Runtimex86CodeBuffer
 
strategy - Static variable in class Allocator.FreeMemManager
 

T

THREAD_ID_MASK - Static variable in class Allocator.ObjectLayout
Mask of the thread id in the status word.
THREAD_ID_SHIFT - Static variable in class Allocator.ObjectLayout
Bit location of thread id in the status word.
TRACE - Static variable in class Allocator.CodeAllocator
Trace flag.
testAndMark(Object, int) - Static method in class Allocator.ObjectLayoutMethods
 
testMarkBit(Object, int) - Static method in class Allocator.ObjectLayoutMethods
 
totalMemory() - Static method in class Allocator.DefaultHeapAllocator
 
totalMemory() - Method in class Allocator.HeapAllocator
Returns an estimate of the total memory allocated (both used and unused).
totalMemory() - Method in class Allocator.SimpleAllocator
Returns an estimate of the total memory allocated (both used and unused).

V

VTABLE_OFFSET - Static variable in class Allocator.ObjectLayout
Offset of vtable, in bytes.

W

WorstFitStrategy - class Allocator.WorstFitStrategy.
Worst Fit Strategy
WorstFitStrategy() - Constructor for class Allocator.WorstFitStrategy
 
writeMarkBit(Object, int) - Static method in class Allocator.ObjectLayoutMethods
 

_

_allocateArray - Static variable in class Allocator.DefaultHeapAllocator
 
_allocateArray - Static variable in class Allocator.SimpleAllocator
 
_allocateArrayAlign8 - Static variable in class Allocator.DefaultHeapAllocator
 
_allocateArrayAlign8 - Static variable in class Allocator.SimpleAllocator
 
_allocateObject - Static variable in class Allocator.DefaultHeapAllocator
 
_allocateObject - Static variable in class Allocator.SimpleAllocator
 
_allocateObjectAlign8 - Static variable in class Allocator.DefaultHeapAllocator
 
_allocateObjectAlign8 - Static variable in class Allocator.SimpleAllocator
 
_class - Static variable in class Allocator.SimpleAllocator
 
_clsinitAndAllocateObject - Static variable in class Allocator.HeapAllocator
 
_default_allocator - Static variable in class Allocator.DefaultCodeAllocator
 
_highAddress - Static variable in class Allocator.CodeAllocator
 
_ip - Static variable in class Allocator.CodeAllocator.InstructionPointer
 
_lowAddress - Static variable in class Allocator.CodeAllocator
 

A B C D E F G H I L M O P R S T V W _