Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X Y _ 

A

accept(ClassVisitor) - Method in class kilim.analysis.MethodWeaver
 
accept(ClassVisitor) - Method in class kilim.analysis.SAMweaver
Generate a method like this:
accept(KilimMvc.Route) - Method in interface kilim.http.KilimMvc.Clerk
 
accept(HttpRequest, HttpResponse) - Method in interface kilim.http.KilimMvc.Fullable0
 
accept(PP) - Method in interface kilim.http.KilimMvc.Preppable
 
accept() - Method in interface kilim.http.KilimMvc.Routeable0
 
accept(String) - Method in interface kilim.http.KilimMvc.Routeable1
 
accept(String, String) - Method in interface kilim.http.KilimMvc.Routeable2
 
accept(String, String, String) - Method in interface kilim.http.KilimMvc.Routeable3
 
accept(String, String, String, String) - Method in interface kilim.http.KilimMvc.Routeable4
 
accept(String, String, String, String, String) - Method in interface kilim.http.KilimMvc.Routeable5
 
accept(String[]) - Method in interface kilim.http.KilimMvc.Routeablex
 
acceptAnnotation(AnnotationVisitor, String, Object) - Static method in class kilim.analysis.MethodFlow
 
Actor() - Constructor for class kilim.examples.Battle.Actor
 
add(E) - Method in class kilim.concurrent.MPSCQueue
 
add(int) - Method in class kilim.http.IntList
 
add(String, KilimMvc.Routeable0) - Method in class kilim.http.KilimMvc.Router
 
add(String, KilimMvc.Routeable1) - Method in class kilim.http.KilimMvc.Router
 
add(String, KilimMvc.Routeable2) - Method in class kilim.http.KilimMvc.Router
 
add(String, KilimMvc.Routeable3) - Method in class kilim.http.KilimMvc.Router
 
add(String, KilimMvc.Routeable4) - Method in class kilim.http.KilimMvc.Router
 
add(String, KilimMvc.Routeable5) - Method in class kilim.http.KilimMvc.Router
 
add(Task) - Method in class kilim.TaskGroup
 
add(Timer) - Method in class kilim.timerservice.TimerPriorityHeap
 
addField(String, int) - Method in class kilim.http.HttpRequest
 
addField(String, String) - Method in class kilim.http.HttpResponse
 
addMsgAvailableListener(EventSubscriber) - Method in class kilim.Cell
 
addMsgAvailableListener(EventSubscriber) - Method in class kilim.Mailbox
 
addMsgAvailableListener(EventSubscriber) - Method in class kilim.MailboxMPSC
 
addMsgAvailableListener(EventSubscriber) - Method in class kilim.MailboxSPSC
 
addSpaceAvailableListener(EventSubscriber) - Method in class kilim.Cell
 
addSpaceAvailableListener(EventSubscriber) - Method in class kilim.Mailbox
 
addSpaceAvailableListener(EventSubscriber) - Method in class kilim.MailboxMPSC
 
addSpaceAvailableListener(EventSubscriber) - Method in class kilim.MailboxSPSC
 
AffineScheduler - Class in kilim
 
AffineScheduler() - Constructor for class kilim.AffineScheduler
 
AffineScheduler(int, int) - Constructor for class kilim.AffineScheduler
create the scheduler
AffineScheduler.Executor - Class in kilim
 
afterExecute(Runnable, Throwable) - Method in class kilim.AffineScheduler.Executor
 
Agent - Class in kilim.tools
 
Agent() - Constructor for class kilim.tools.Agent
 
ALOAD_0 - Static variable in interface kilim.Constants
 
analyze(boolean) - Method in class kilim.analysis.ClassFlow
 
analyze() - Method in class kilim.analysis.MethodFlow
 
analyzeJar(String) - Static method in class kilim.tools.FlowAnalyzer
 
apply(XX, Pausable.Psumer<XX, EE>) - Static method in exception kilim.Pausable
 
apply(XX, Pausable.Psumer<XX, E1>, Pausable.Psumer<XX, E2>) - Static method in exception kilim.Pausable
 
apply(XX, Pausable.Psumer<XX, E1>, Pausable.Psumer<XX, E2>, Pausable.Psumer<XX, E3>) - Static method in exception kilim.Pausable
 
apply(XX) - Method in interface kilim.Pausable.Pfun
 
apply(XX) - Method in interface kilim.Pausable.Psumer
 
applyAll(XX, Pausable.Psumer<XX, EE>...) - Static method in exception kilim.Pausable
 
array - Variable in class kilim.http.IntList
 
Asm - Class in kilim.tools
This is a replacement for the jasmin bytecode assembler and uses the same syntax.
Asm(String) - Constructor for class kilim.tools.Asm
 
ASTORE_0 - Static variable in interface kilim.Constants
 

B

backoff(int) - Method in enum kilim.concurrent.MPSCQueue.BackOffStrategy
 
baseDirectory - Static variable in class kilim.examples.HttpFileServer
 
baseDirectoryName - Static variable in class kilim.examples.HttpFileServer
 
BasicBlock - Class in kilim.analysis
A basic block is a contiguous set of instructions that has one label at the first instruction and a transfer-of-control instruction at the very end.
BasicBlock(MethodFlow, LabelNode) - Constructor for class kilim.analysis.BasicBlock
 
Battle - Class in kilim.examples
 
Battle() - Constructor for class kilim.examples.Battle
 
Battle.Actor - Class in kilim.examples
 
BBList - Class in kilim.analysis
Just a convenient alias for ArrayList
BBList() - Constructor for class kilim.analysis.BBList
 
BBList(int) - Constructor for class kilim.analysis.BBList
 
begin() - Method in class kilim.Fiber
 
BigPingPong - Class in kilim.bench
 
BlockingSubscriber() - Constructor for class kilim.Cell.BlockingSubscriber
 
BlockingSubscriber(long) - Constructor for class kilim.Mailbox.BlockingSubscriber
 
blockingWait(long) - Method in class kilim.Cell.BlockingSubscriber
 
blockingWait() - Method in class kilim.Mailbox.BlockingSubscriber
wait for either a timeout or event, returning true if the timeout occurred
bodyStream - Variable in class kilim.http.HttpResponse
 
born(int) - Method in class kilim.analysis.Usage
 
buff(int) - Static method in interface kilim.examples.Userdata.Eats5
 
buffer - Variable in class kilim.concurrent.SPSCQueue
 
byteCache - Static variable in class kilim.http.HttpResponse
 
bytes - Variable in class kilim.analysis.ClassInfo
bytecode for the class

C

CachedClassMirrors - Class in kilim.mirrors
CachedClassMirrors caches information about a set of classes that are loaded through byte arrays, and which are not already loaded by the classloader
CachedClassMirrors() - Constructor for class kilim.mirrors.CachedClassMirrors
 
CachedClassMirrors(ClassLoader) - Constructor for class kilim.mirrors.CachedClassMirrors
 
CachedClassMirrors.ClassMirror - Class in kilim.mirrors
 
CachedClassMirrors.ClassMirror.Visitor - Class in kilim.mirrors
 
CachedClassMirrors.MethodMirror - Class in kilim.mirrors
 
CallWeaver - Class in kilim.analysis
This class produces all the code associated with a specific pausable method invocation.
CallWeaver(MethodWeaver, Detector, BasicBlock) - Constructor for class kilim.analysis.CallWeaver
 
cancel() - Method in class kilim.timerservice.Timer
 
catchBB - Variable in class kilim.analysis.Handler
catch handler's entry point
category() - Method in class kilim.analysis.Value
 
Cell<T> - Class in kilim
A cell is a single-space buffer that supports multiple producers and a single consumer, functionally identical to Mailbox bounded to a size of 1 (and hence optimized for this size)
Cell() - Constructor for class kilim.Cell
 
Cell.BlockingSubscriber - Class in kilim
 
ch - Variable in class kilim.nio.SockEvent
 
Chain - Class in kilim.bench
 
Chain(Chain.Mbx, Chain.Mbx) - Constructor for class kilim.bench.Chain
 
Chain - Class in kilim.examples
Set up a chain of tasks.
Chain(Mailbox<StringBuffer>, Mailbox<StringBuffer>) - Constructor for class kilim.examples.Chain
 
chain(XX, Pausable.Pfun<XX, YY, EE>) - Static method in exception kilim.Pausable
 
chain(X1, Pausable.Pfun<X1, X2, E1>, Pausable.Pfun<X2, ZZ, E2>) - Static method in exception kilim.Pausable
 
chain(X1, Pausable.Pfun<X1, X2, E1>, Pausable.Pfun<X2, X3, E2>, Pausable.Pfun<X3, X4, E3>) - Static method in exception kilim.Pausable
 
check(String, String) - Static method in class kilim.analysis.FileLister
check if dst is up to date with src, ie at least as new
check(String) - Method in class kilim.analysis.FileLister.Entry
check if a newer version of the file exists in an output directory.
check(HttpResponse, File) - Method in class kilim.examples.HttpFileServer
 
check(HttpResponse, File, String...) - Method in class kilim.http.HttpSession
 
check(String) - Method in interface kilim.WeavingClassLoader.Excludable
check whether the named class should be loaded by the parent loader
checkKill() - Method in class kilim.Task
 
checkPin() - Method in class kilim.ReentrantLock
 
chooseCatchHandlers(ArrayList<Handler>) - Method in class kilim.analysis.BasicBlock
 
ClassFlow - Class in kilim.analysis
This class reads a .class file (or stream), wraps each method with a MethodFlow object and optionally analyzes it.
ClassFlow(KilimContext, InputStream) - Constructor for class kilim.analysis.ClassFlow
 
ClassFlow(KilimContext, String) - Constructor for class kilim.analysis.ClassFlow
 
classFlow - Variable in class kilim.analysis.ClassWeaver
 
classForName(String) - Method in class kilim.mirrors.CachedClassMirrors
 
classForName(String) - Method in class kilim.mirrors.Detector
 
classForNames(String[]) - Method in class kilim.mirrors.Detector
 
ClassInfo - Class in kilim.analysis
 
ClassInfo(String, byte[]) - Constructor for class kilim.analysis.ClassInfo
 
ClassMirror(byte[]) - Constructor for class kilim.mirrors.CachedClassMirrors.ClassMirror
 
ClassMirrorNotFoundException - Exception in kilim.mirrors
 
ClassMirrorNotFoundException(String) - Constructor for exception kilim.mirrors.ClassMirrorNotFoundException
 
ClassMirrorNotFoundException(Throwable) - Constructor for exception kilim.mirrors.ClassMirrorNotFoundException
 
ClassMirrorNotFoundException(String, ClassNotFoundException) - Constructor for exception kilim.mirrors.ClassMirrorNotFoundException
 
className - Variable in class kilim.analysis.ClassInfo
fully qualified classname in a format suitable for Class.forName
ClassPath() - Constructor for class kilim.tools.Javac.ClassPath
 
ClassWeaver - Class in kilim.analysis
This class is the main entry point for the Weave tool.
ClassWeaver(KilimContext, InputStream) - Constructor for class kilim.analysis.ClassWeaver
 
ClassWriter - Class in kilim.analysis
 
ClassWriter(int, Detector) - Constructor for class kilim.analysis.ClassWriter
 
clear() - Method in class kilim.MailboxSPSC
 
Client() - Constructor for class kilim.examples.Ping.Client
 
cloneMap() - Static method in class kilim.http.MimeTypes
 
close() - Method in class kilim.nio.EndPoint
Deprecated.
in a future version, this method will no longer print the stack trace
close() - Method in class kilim.nio.SessionTask
 
code - Variable in class kilim.analysis.ClassFlow
the original bytecode associated with the class
commonSuperType(Detector, String, String) - Static method in class kilim.analysis.TypeDesc
 
commonSuperType(String, String) - Method in class kilim.mirrors.Detector
 
compareAndSet(boolean, boolean) - Method in class kilim.concurrent.VolatileBoolean
 
compareAndSet(V, V) - Method in class kilim.concurrent.VolatileReferenceCell
 
compareTo(BasicBlock) - Method in class kilim.analysis.BasicBlock
 
compareTo(Timer) - Method in class kilim.timerservice.Timer
 
compile(List<String>) - Static method in class kilim.tools.Javac
Given a list of file-scope java code (equivalent to a .java file, including package and import declarations), compile() invokes javac to compile them, produce classfiles and return a list of pairs.
Config(boolean, Object, WeavingClassLoader.Excludable) - Constructor for class kilim.tools.Kilim.Config
 
consolidate(ArrayList<Handler>) - Static method in class kilim.analysis.Handler
 
Constants - Interface in kilim
 
Constants.Util - Class in kilim
 
contains(T) - Method in class kilim.RingQueue
 
contentLength - Variable in class kilim.http.HttpRequest
 
contentOffset - Variable in class kilim.http.HttpRequest
 
context - Variable in class kilim.analysis.ClassFlow
 
context - Variable in class kilim.analysis.ClassWeaver
 
context - Variable in class kilim.tools.Weaver
 
Continuation - Class in kilim
a minimal bridge or trampoline between woven and unwoven code backed by a Fiber giving the programmer explicit control over the event loop see Task for a more general and easier to use green thread implementation that automatically handles the event loop see Generator for more user friendly wrapper to use override execute() and call run() each time run() is called, execute runs until it yields, returns or throws an exception return value of true means either execute returned or threw an exception (accessible as ex()) with state stored in an internal Fiber field across invocations to reuse a Continuation, call reset() Continuation provides no scheduler - it is entirely the responsibility of the calling code to call run() again once the pausing condition has been satisfied typically used for state machines and Generators or to port an existing event loop to kilim this is a low level facility, see kilim.examples.Xorshift.X2 for an example of direct use
Continuation() - Constructor for class kilim.Continuation
 
Continuation.FakeTask - Class in kilim
 
count - Variable in class kilim.AffineScheduler
 
count - Variable in class kilim.http.KeyValues
 
cr - Variable in class kilim.analysis.ClassFlow
 
CR - Static variable in class kilim.http.HttpRequest
 
createStateClass(ValInfoList) - Method in class kilim.analysis.MethodWeaver
 
crlf - Static variable in class kilim.http.HttpRequestParser
 
CRLF - Static variable in class kilim.http.HttpResponse
 
curState - Variable in class kilim.Fiber
The current frame's state (local vars and elements of the operand stack that will be needed when the Fiber is resumed.

D

D_ARRAY_BOOLEAN - Static variable in interface kilim.Constants
 
D_ARRAY_BYTE - Static variable in interface kilim.Constants
 
D_ARRAY_CHAR - Static variable in interface kilim.Constants
 
D_ARRAY_DOUBLE - Static variable in interface kilim.Constants
 
D_ARRAY_FLOAT - Static variable in interface kilim.Constants
 
D_ARRAY_INT - Static variable in interface kilim.Constants
 
D_ARRAY_LONG - Static variable in interface kilim.Constants
 
D_ARRAY_SHORT - Static variable in interface kilim.Constants
 
D_BOOLEAN - Static variable in interface kilim.Constants
 
D_BYTE - Static variable in interface kilim.Constants
 
D_CHAR - Static variable in interface kilim.Constants
 
D_DOUBLE - Static variable in interface kilim.Constants
 
D_FIBER - Static variable in interface kilim.Constants
 
D_FIBER_LAST_ARG - Static variable in interface kilim.Constants
 
D_FLOAT - Static variable in interface kilim.Constants
 
D_INT - Static variable in interface kilim.Constants
 
D_LONG - Static variable in interface kilim.Constants
 
D_NULL - Static variable in interface kilim.Constants
 
D_OBJECT - Static variable in interface kilim.Constants
 
D_PAUSABLE - Static variable in interface kilim.Constants
 
D_RETURN_ADDRESS - Static variable in interface kilim.Constants
 
D_SHORT - Static variable in interface kilim.Constants
 
D_STATE - Static variable in interface kilim.Constants
 
D_STRING - Static variable in interface kilim.Constants
 
D_TASK - Static variable in interface kilim.Constants
 
D_THROWABLE - Static variable in interface kilim.Constants
 
D_UNDEFINED - Static variable in interface kilim.Constants
 
D_VOID - Static variable in interface kilim.Constants
 
dataChannel() - Method in class kilim.nio.EndPoint
 
debugPrintLiveness - Static variable in class kilim.analysis.MethodFlow
print the bit by bit liveness data after calculation
dedent(int) - Static method in class kilim.analysis.Utils
 
DEFAULT - Static variable in class kilim.analysis.KilimContext
 
defaultExec - Variable in class kilim.timerservice.TimerService
 
defaultLogger - Static variable in class kilim.Scheduler
 
defaultNumberThreads - Static variable in class kilim.Scheduler
 
defaultScheduler - Static variable in class kilim.Scheduler
 
define(String, byte[]) - Method in class kilim.WeavingClassLoader
 
detector - Variable in class kilim.analysis.KilimContext
 
Detector - Class in kilim.mirrors
Utility class to check if a method has been marked pausable
Detector(CachedClassMirrors) - Constructor for class kilim.mirrors.Detector
 
dive(int) - Method in class kilim.examples.TimerBlast.Tick
 
dive(int) - Method in class kilim.examples.TimerBlast2.Tick
 
dive(int) - Method in class kilim.examples.TimerBlast2.Tock
 
DLOAD_0 - Static variable in interface kilim.Constants
 
doMain(String[], String[]) - Static method in class kilim.tools.Weaver
 
done() - Method in class kilim.bench.Chain
 
done - Variable in class kilim.Task
 
down() - Method in class kilim.Fiber
 
DSTORE_0 - Static variable in interface kilim.Constants
 
dump() - Method in class kilim.Task
 
dumpBuffer(ByteBuffer) - Method in class kilim.http.HttpRequest
 
DumpClass - Class in kilim.tools
Equivalent to javap -c -l -private, but the output is in jasmin's format meant to be parseable by Asm.
DumpClass(InputStream) - Constructor for class kilim.tools.DumpClass
 
DumpClass(String) - Constructor for class kilim.tools.DumpClass
 
dup() - Method in class kilim.analysis.Frame
 
dupArray(Value[]) - Static method in class kilim.analysis.Frame
 

E

eater(Userdata.Eats4, int) - Static method in class kilim.examples.Userdata
 
Eats1Impl() - Constructor for class kilim.examples.Userdata.Eats1Impl
 
Eats2() - Constructor for class kilim.examples.Userdata.Eats2
 
Eats3() - Constructor for class kilim.examples.Userdata.Eats3
 
echoNoPause(int) - Method in class kilim.bench.Sleep
 
echoNoPause(int) - Method in class kilim.bench.Unwind
 
element() - Method in class kilim.concurrent.MPSCQueue
 
elements - Variable in class kilim.RingQueue
 
encodeRange(int, int) - Static method in class kilim.http.HttpRequestParser
encode the start pos and length as ints;
end() - Method in class kilim.Fiber
end() is the last up().
EndPoint - Class in kilim.nio
The EndPoint represents an open socket connection.
EndPoint(NioSelectorScheduler, AbstractSelectableChannel) - Constructor for class kilim.nio.EndPoint
 
endpoint - Variable in class kilim.nio.SessionTask
 
endPos - Variable in class kilim.analysis.BasicBlock
 
Entry() - Constructor for class kilim.analysis.FileLister.Entry
 
equals(Object) - Method in class kilim.analysis.ClassInfo
 
equals(Object) - Method in class kilim.analysis.Frame
 
equals(Object) - Method in class kilim.analysis.SAMweaver
 
equals(Object) - Method in class kilim.analysis.Value
 
equals(Object) - Method in class kilim.ExitMsg
 
equals(Object) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
equals(Object) - Method in class kilim.Task
 
err(String) - Static method in class kilim.http.HttpRequestParser
 
errNotWoven() - Static method in class kilim.Task
 
errNotWoven(Task) - Static method in class kilim.Task
 
errorExit(Throwable) - Static method in class kilim.Task
Exit the task with a throwable indicating an error condition.
errorExit(Throwable, Fiber) - Static method in class kilim.Task
 
es - Variable in class kilim.timerservice.Timer
 
evalLiveIn(ArrayList<Usage>, ArrayList<Handler>) - Method in class kilim.analysis.Usage
This is the standard liveness calculation (Dragon Book, section 10.6).
Event - Class in kilim
 
Event(int) - Constructor for class kilim.Event
 
EventPublisher - Interface in kilim
 
eventRcvd - Variable in class kilim.Cell.BlockingSubscriber
 
eventRcvd - Variable in class kilim.Mailbox.BlockingSubscriber
 
EventSubscriber - Interface in kilim
 
eventType - Variable in class kilim.Event
Type of event to switch on.
ex() - Method in class kilim.Continuation
get the stored exception
Ex - Class in kilim.examples
Spawn a task, communicate through a shared mailbox.
Ex() - Constructor for class kilim.examples.Ex
 
Ex_vs_Ret - Class in kilim.bench
 
Ex_vs_Ret() - Constructor for class kilim.bench.Ex_vs_Ret
 
exclude(WeavingClassLoader.Excludable) - Method in class kilim.WeavingClassLoader
replace the exclude filter which determines whether a named class should be defined definitively by this loader or instead delegated to the parent loader.
excludePattern - Static variable in class kilim.tools.Weaver
 
execute() - Method in class kilim.bench.BigPingPong
 
execute() - Method in class kilim.bench.Chain
 
execute() - Method in class kilim.bench.Jetlang
 
execute() - Method in class kilim.bench.Rec
 
execute() - Method in class kilim.bench.Ring
 
execute() - Method in class kilim.bench.Sleep
 
execute() - Method in class kilim.bench.Unwind
 
execute() - Method in class kilim.Continuation
the top level entrypoint for the continuation override this method cannot be called directly - use run() instead use Fiber.yield() to yield control cooperatively and return execution to the caller of run()
execute(Fiber) - Method in class kilim.Continuation
the woven variant of execute() generated by the weaver overriding this method will cause the weaver to leave it unchanged this is a low level facility (override execute() instead)
execute() - Method in class kilim.examples.Battle.Actor
 
execute() - Method in class kilim.examples.Chain
 
execute() - Method in class kilim.examples.Ex
The entry point.
execute() - Method in class kilim.examples.Fib
 
execute() - Method in class kilim.examples.HttpFileServer
 
execute() - Method in class kilim.examples.PerfTest
 
execute() - Method in class kilim.examples.Ping.Server
 
execute() - Method in class kilim.examples.Pure.JavaDemo
 
execute() - Method in class kilim.examples.Pure.PureDemo
 
execute() - Method in class kilim.examples.Pure.PureMega
 
execute() - Method in class kilim.examples.Pure.TaskDemo
 
execute() - Method in class kilim.examples.Reflect
 
execute() - Method in class kilim.examples.SimpleHttpServer.SimpleHttpSession
 
execute() - Method in class kilim.examples.SimpleTask
The entry point.
execute() - Method in class kilim.examples.SimpleTask2
The entry point.
execute() - Method in class kilim.examples.TimedTask
 
execute() - Method in class kilim.examples.TimerBlast
 
execute() - Method in class kilim.examples.TimerBlast.Tick
 
execute() - Method in class kilim.examples.TimerBlast2.Tick
 
execute() - Method in class kilim.examples.TimerBlast2.Tock
 
execute() - Method in class kilim.examples.Userdata
 
execute() - Method in class kilim.examples.Xorshift.X1
 
execute() - Method in class kilim.examples.Xorshift.X2
 
execute() - Method in interface kilim.Fiber.Worker
 
execute(Fiber) - Method in interface kilim.Fiber.Worker
 
execute() - Method in class kilim.http.HttpSession.StringSession
 
execute() - Method in class kilim.http.KilimMvc.Session
 
execute() - Method in class kilim.nio.NioSelectorScheduler.RegistrationTask
 
execute() - Method in interface kilim.Pausable.Fork
 
execute(AA) - Method in interface kilim.Pausable.Fork1
 
execute() - Method in interface kilim.Pausable.Spawn
 
execute() - Method in class kilim.plugins.KilimMavenPlugin
 
execute() - Method in class kilim.Task
 
execute(Fiber) - Method in class kilim.Task
 
execute() - Method in class kilim.Task.Fork
 
execute() - Method in class kilim.Task.Invoke
 
execute() - Method in class kilim.Task.Spawn
 
execute() - Method in class kilim.TaskGroup
 
Executor(LinkedBlockingQueue) - Constructor for class kilim.AffineScheduler.Executor
 
exes - Variable in class kilim.AffineScheduler
 
exit(Object) - Static method in class kilim.Task
Analogous to System.exit, except an Object can be used as the exit value
exit(Object, Fiber) - Static method in class kilim.Task
 
ExitMsg<TT> - Class in kilim
 
ExitMsg(Task<TT>, TT) - Constructor for class kilim.ExitMsg
 
exitResult - Variable in class kilim.Task
 
ExposedBais - Class in kilim.nio
A hack that exposes the bytearray inside the ByteArrayInputStream.
ExposedBais(int) - Constructor for class kilim.nio.ExposedBais
 
ExposedBais(byte[], int, int) - Constructor for class kilim.nio.ExposedBais
 
ExposedBais(byte[]) - Constructor for class kilim.nio.ExposedBais
 
ExposedBaos - Class in kilim.nio
A hack that exposes the bytearray inside the ByteArrayOutputStream.
ExposedBaos() - Constructor for class kilim.nio.ExposedBaos
 
ExposedBaos(int) - Constructor for class kilim.nio.ExposedBaos
 
extractBytes(int, int) - Method in class kilim.http.HttpRequest
 
extractRange(int) - Method in class kilim.http.HttpRequest
 
extractRange(int, int) - Method in class kilim.http.HttpRequest
 

F

F_DATE - Static variable in class kilim.http.HttpResponse
 
F_SERVER - Static variable in class kilim.http.HttpResponse
 
Factory(HttpSession.StringRouter) - Constructor for class kilim.http.HttpServer.Factory
 
factory - Static variable in class kilim.timerservice.TimerService
 
FakeTask() - Constructor for class kilim.Continuation.FakeTask
 
fallback - Variable in class kilim.http.KilimMvc
 
Fib - Class in kilim.examples
This example prints the nth Fibonacci number.
Fib() - Constructor for class kilim.examples.Fib
 
Fiber - Class in kilim
This class serves as a context to manage and store the continuation stack.
Fiber(Task) - Constructor for class kilim.Fiber
 
fiber - Variable in class kilim.Task
The stack manager in charge of rewinding and unwinding the stack when Task.pause() is called.
Fiber.MethodRef - Class in kilim
 
Fiber.Worker - Interface in kilim
 
FIBER_CLASS - Static variable in interface kilim.Constants
 
FIELD_SEP - Static variable in class kilim.http.HttpResponse
 
FileLister - Class in kilim.analysis
Utility class to present a uniform iterator interface for file containers; presently includes directories and jar files.
FileLister(String) - Constructor for class kilim.analysis.FileLister
 
FileLister.Entry - Class in kilim.analysis
 
fill(E[]) - Method in class kilim.concurrent.MPSCQueue
 
fill(EndPoint, int, int) - Method in class kilim.http.HttpRequest
 
fill(T[]) - Method in class kilim.MailboxMPSC
 
fill(EventSubscriber, T[]) - Method in class kilim.MailboxSPSC
Non-blocking, nonpausing fill.
fill(T[]) - Method in class kilim.MailboxSPSC
Pausable fill Pause the caller until at least one message is available.
fill(ByteBuffer, int) - Method in class kilim.nio.EndPoint
Read atleastN bytes more into the buffer if there's space.
fillMessage(ByteBuffer, int, boolean) - Method in class kilim.nio.EndPoint
Reads a length-prefixed message in its entirety.
fillnb(T[]) - Method in class kilim.concurrent.SPSCQueue
 
findClass(String) - Method in class kilim.WeavingClassLoader
 
findCode(ClassLoader, String) - Static method in class kilim.WeavingClassLoader
read bytecode for the named class from a source classloader
findNextPositivePowerOfTwo(int) - Static method in class kilim.concurrent.SPSCQueue
 
FLOAD_0 - Static variable in interface kilim.Constants
 
flow - Variable in class kilim.analysis.BasicBlock
The flow to which this BB belongs.
FlowAnalyzer - Class in kilim.tools
Used to dump the stack and locals at the beginning of each basic block
FlowAnalyzer() - Constructor for class kilim.tools.FlowAnalyzer
 
flowVarUsage() - Method in class kilim.analysis.BasicBlock
calculate the liveness usage by evolution (assume born usage has already been calculated)
fluff(String) - Static method in interface kilim.examples.Userdata.Eats4
 
force - Static variable in class kilim.tools.Weaver
 
fork(Pausable.Fork) - Static method in class kilim.Task
Wraps the given object or lambda expression in a Task and starts that task.
Fork(Pausable.Fork) - Constructor for class kilim.Task.Fork
 
ForkJoinScheduler - Class in kilim
 
ForkJoinScheduler(int) - Constructor for class kilim.ForkJoinScheduler
 
format(String) - Static method in class kilim.analysis.Utils
 
Frame - Class in kilim.analysis
An activation frame.
Frame(int, int) - Constructor for class kilim.analysis.Frame
 
Frame(String, MethodNode) - Constructor for class kilim.analysis.Frame
 
from - Variable in class kilim.analysis.Handler
Source offset in method's instruction list
FSTORE_0 - Static variable in interface kilim.Constants
 

G

Generator<T> - Class in kilim
A Generator, from the caller's perspective, looks like a normal iterator that produces values.
Generator() - Constructor for class kilim.Generator
 
get(EventSubscriber) - Method in class kilim.Cell
Non-blocking, nonpausing get.
get() - Method in class kilim.Cell
 
get(long) - Method in class kilim.Cell
 
get() - Method in class kilim.concurrent.PaddedEventSubscriber
 
get() - Method in class kilim.concurrent.VolatileBoolean
 
get() - Method in class kilim.concurrent.VolatileLongCell
 
get() - Method in class kilim.concurrent.VolatileReferenceCell
 
get() - Method in class kilim.http.HttpServer.Factory
 
get(int) - Method in class kilim.http.IntList
 
get(String) - Method in class kilim.http.KeyValues
 
get(EventSubscriber) - Method in class kilim.Mailbox
Non-blocking, nonpausing get.
get() - Method in class kilim.Mailbox
 
get(long) - Method in class kilim.Mailbox
 
get(EventSubscriber) - Method in class kilim.MailboxMPSC
Non-blocking, nonpausing get.
get() - Method in class kilim.MailboxMPSC
 
get(long) - Method in class kilim.MailboxMPSC
 
get(EventSubscriber) - Method in class kilim.MailboxSPSC
Non-blocking, nonpausing get.
get() - Method in class kilim.MailboxSPSC
 
get(long) - Method in class kilim.MailboxSPSC
 
get() - Method in interface kilim.nio.NioSelectorScheduler.SessionFactory
 
get() - Method in class kilim.RingQueue
 
getAndSet(V) - Method in class kilim.concurrent.VolatileReferenceCell
 
getArgumentTypes(String) - Static method in class kilim.analysis.TypeDesc
 
getb() - Method in class kilim.Cell
retrieve a message, blocking the thread indefinitely.
getb(long) - Method in class kilim.Cell
retrieve a msg, and block the Java thread for the time given.
getb() - Method in class kilim.Mailbox
retrieve a message, blocking the thread indefinitely.
getb(long) - Method in class kilim.Mailbox
retrieve a msg, and block the Java thread for the time given.
getBasicBlocks() - Method in class kilim.analysis.MethodFlow
 
getByteStream(ClassLoader, String, String, boolean) - Static method in class kilim.WeavingClassLoader
 
getCallee() - Method in class kilim.Fiber
Called by the weaved code while rewinding the stack.
getClassDescriptor() - Method in class kilim.analysis.ClassFlow
 
getClassInfos() - Method in class kilim.analysis.ClassWeaver
 
getClassName() - Method in class kilim.analysis.ClassFlow
 
getClassPath(Class, ClassLoader) - Static method in class kilim.tools.Javac
get the class path comprising the paths of URL class loaders ancestors
getCommonSuperClass(String, String) - Method in class kilim.analysis.ClassWriter
 
getComponentType(String) - Static method in class kilim.analysis.TypeDesc
 
getConstVal() - Method in class kilim.analysis.Value
 
getCreationSites() - Method in class kilim.analysis.Value
 
getCurrentTask() - Static method in class kilim.Scheduler
 
getCurrentTask() - Static method in class kilim.Task
This is a placeholder that doesn't do anything useful.
getDeclaredMethods() - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
getDefaultPinnable() - Static method in class kilim.Scheduler
get and possibly instantiate a scheduler that is pinnable
getDefaultScheduler() - Static method in class kilim.Scheduler
get and possibly instantiate a default scheduler
getExceptionTypes() - Method in class kilim.mirrors.CachedClassMirrors.MethodMirror
 
getExecutionThread() - Method in class kilim.Task
 
getExecutionTime() - Method in class kilim.timerservice.Timer
 
getFileName() - Method in class kilim.analysis.FileLister.Entry
 
getHeader(String) - Method in class kilim.http.HttpRequest
Get the value for a given key
getHeaderValue(String) - Method in class kilim.http.HttpResponse
 
getInputStream() - Method in class kilim.analysis.FileLister.Entry
 
getInstruction(int) - Method in class kilim.analysis.BasicBlock
 
getInterfaces() - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
getInternalName(String) - Static method in class kilim.analysis.TypeDesc
 
getInterned(String) - Static method in class kilim.analysis.TypeDesc
 
getJSRTarget() - Method in class kilim.analysis.BasicBlock
 
getLabelAt(int) - Method in class kilim.analysis.MethodFlow
 
getLocal(int, int) - Method in class kilim.analysis.Frame
 
getLocal(int) - Method in class kilim.analysis.Frame
 
getMaxLocals() - Method in class kilim.analysis.Frame
 
getMethodDescriptor() - Method in class kilim.mirrors.CachedClassMirrors.MethodMirror
 
getMethodFlows() - Method in class kilim.analysis.ClassFlow
 
getModifiers() - Method in class kilim.mirrors.CachedClassMirrors.MethodMirror
 
getName() - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
getName() - Method in class kilim.mirrors.CachedClassMirrors.MethodMirror
 
getnb() - Method in class kilim.Cell
Get, don't pause or block.
getnb() - Method in class kilim.Mailbox
Get, don't pause or block.
getnb() - Method in class kilim.MailboxMPSC
Get, don't pause or block.
getnb() - Method in class kilim.MailboxSPSC
Get, don't pause or block.
getNumArgs() - Method in class kilim.analysis.MethodFlow
 
getNumArgumentTypes(String) - Static method in class kilim.analysis.TypeDesc
 
getNumArgumentTypes(char[]) - Static method in class kilim.analysis.TypeDesc
 
getNumSites() - Method in class kilim.analysis.Value
 
getOutputStream() - Method in class kilim.http.HttpResponse
 
getOwner() - Method in class kilim.ReentrantLock
 
getPausableStatus(String, String, String) - Method in class kilim.mirrors.Detector
 
getPauseReason() - Method in class kilim.Task
 
getPinnable() - Method in class kilim.Scheduler
 
getQuery() - Method in class kilim.http.HttpRequest
 
getQueryComponents() - Method in class kilim.http.HttpRequest
 
getQueryComponents(String) - Method in class kilim.http.HttpRequest
 
getResourceAsStream(String) - Method in class kilim.WeavingClassLoader
 
getReturnTypeDesc(String) - Static method in class kilim.analysis.TypeDesc
 
getSAM() - Method in class kilim.analysis.ClassFlow
 
getScheduler() - Method in class kilim.Task
 
getSize() - Method in class kilim.analysis.FileLister.Entry
 
getStack(int) - Method in class kilim.analysis.Frame
 
getStackDepth(Task) - Static method in class kilim.Task
The generated code calls Fiber.upEx, which in turn calls this to find out out where the current method is w.r.t the closest _runExecute method.
getStackLen() - Method in class kilim.analysis.Frame
 
getState() - Method in class kilim.Fiber
 
getState() - Method in class kilim.Task
 
getStrategy(String, MPSCQueue.BackOffStrategy) - Static method in enum kilim.concurrent.MPSCQueue.BackOffStrategy
 
getSubBlocks() - Method in class kilim.analysis.BasicBlock
 
getSuperclass() - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
getSuperClasses(String) - Method in class kilim.mirrors.Detector
 
getTid() - Method in class kilim.Task
return the thread ID that the task is currently running on, valid only during execute
getTypeDesc(Object) - Static method in class kilim.analysis.TypeDesc
 
getTypeDesc() - Method in class kilim.analysis.Value
 
getURLs(String[]) - Static method in class kilim.WeavingClassLoader
 
getVarUsage() - Method in class kilim.analysis.BasicBlock
 
getVersion(ClassLoader, Class) - Static method in class kilim.mirrors.CachedClassMirrors
get the major version of klass by loading the bytecode from source, unused but useful for debugging
GMT - Static variable in class kilim.http.HttpRequestParser
 
gmtdf - Static variable in class kilim.http.HttpResponse
 
Group - Class in kilim.examples
 
Group() - Constructor for class kilim.examples.Group
 
growArray(Object[], int) - Static method in class kilim.http.Utils
 
growArray(int[], int) - Static method in class kilim.http.Utils
 

H

handle(KilimMvc.Session, HttpRequest, HttpResponse) - Method in interface kilim.http.KilimMvc.KilimHandler
 
handle(HttpRequest, HttpResponse) - Method in class kilim.http.KilimMvc.Session
 
handle(HttpServletRequest, HttpServletResponse) - Method in interface kilim.ServletHandler.Iface
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class kilim.support.JettyHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in interface kilim.support.JettyHandler.Iface
 
handle(String, Request, HttpServletRequest, HttpServletResponse, Fiber) - Method in class kilim.support.JettyHandler.Java7Handler
 
Handler - Class in kilim.analysis
Representation for a catch handler.
Handler(int, int, Handler) - Constructor for class kilim.analysis.Handler
 
Handler(int, int, String, BasicBlock, int) - Constructor for class kilim.analysis.Handler
 
handlers - Variable in class kilim.analysis.BasicBlock
 
hasFlag(int) - Method in class kilim.analysis.BasicBlock
 
hashCode() - Method in class kilim.analysis.ClassInfo
 
hashCode() - Method in class kilim.analysis.Frame
 
hashCode() - Method in class kilim.analysis.SAMweaver
 
hashCode() - Method in class kilim.analysis.Value
 
hashCode() - Method in class kilim.ExitMsg
 
hashCode() - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
hashCode() - Method in class kilim.Task
 
hasMessage() - Method in class kilim.Cell
 
hasMessage(Task) - Method in class kilim.Mailbox
 
hasMessage() - Method in class kilim.Mailbox
 
hasMessages(int, Task) - Method in class kilim.Mailbox
 
hasNext() - Method in class kilim.Generator
 
hasSpace() - Method in class kilim.Cell
 
hasSpace() - Method in class kilim.concurrent.MPSCQueue
 
hasSpace() - Method in class kilim.concurrent.SPSCQueue
 
hasSpace() - Method in class kilim.Mailbox
 
head - Variable in class kilim.concurrent.SPSCQueue
 
headCache - Variable in class kilim.concurrent.SPSCQueue
 
HeapBlast - Class in kilim.examples
 
HttpFileServer - Class in kilim.examples
A simple file server over http Usage: Run java kilim.examples.HttpFileServer [base directory name] From a browser, go to "http://localhost:7262".
HttpFileServer() - Constructor for class kilim.examples.HttpFileServer
 
HttpMsg - Class in kilim.http
 
HttpMsg() - Constructor for class kilim.http.HttpMsg
 
HttpRequest - Class in kilim.http
This object encapsulates a bytebuffer (via HttpMsg).
HttpRequest() - Constructor for class kilim.http.HttpRequest
 
HttpRequestParser - Class in kilim.http
 
HttpRequestParser() - Constructor for class kilim.http.HttpRequestParser
 
HttpResponse - Class in kilim.http
The response object encapsulates the header and often, but not always, the content.
HttpResponse() - Constructor for class kilim.http.HttpResponse
 
HttpResponse(byte[]) - Constructor for class kilim.http.HttpResponse
 
HttpResponse(String) - Constructor for class kilim.http.HttpResponse
 
HttpServer - Class in kilim.http
A very rudimentary HTTP server bound to a specific given port.
HttpServer() - Constructor for class kilim.http.HttpServer
 
HttpServer(int, Class<? extends HttpSession>) - Constructor for class kilim.http.HttpServer
Creates a separate thread and a selector for the select loop and calls #listen(int, Class)listen
HttpServer(int, NioSelectorScheduler.SessionFactory) - Constructor for class kilim.http.HttpServer
 
HttpServer(int, HttpSession.StringRouter) - Constructor for class kilim.http.HttpServer
 
HttpServer.Factory - Class in kilim.http
 
HttpSession - Class in kilim.http
Responsible for creating an HTTPRequest object out of raw bytes from a socket, and for sending an HTTPResponse object in its entirety.
HttpSession() - Constructor for class kilim.http.HttpSession
 
HttpSession.StringRouter - Interface in kilim.http
 
HttpSession.StringSession - Class in kilim.http
 

I

icons - Variable in class kilim.RingQueue
 
id - Variable in class kilim.analysis.BasicBlock
A number handed out in increasing order of starting position, to ease sorting as well as for debug information
id - Variable in class kilim.Task
Task id, automatically generated
id() - Method in class kilim.Task
 
idledown() - Method in class kilim.AffineScheduler
 
idledown() - Method in class kilim.ForkJoinScheduler
 
idledown() - Method in class kilim.Scheduler
block the thread till a moment at which all scheduled tasks have completed and then shutdown the scheduler does not prevent scheduling new tasks (from other threads) until the shutdown is complete so such a task could be partially executed
idledown() - Static method in class kilim.Task
idledown the default scheduler
ILOAD_0 - Static variable in interface kilim.Constants
 
IncompatibleTypesException - Exception in kilim.analysis
 
IncompatibleTypesException(String) - Constructor for exception kilim.analysis.IncompatibleTypesException
 
indent(int) - Static method in class kilim.analysis.Utils
 
indentStr - Static variable in class kilim.analysis.Utils
 
indentWith(String) - Static method in class kilim.analysis.Utils
 
index - Variable in class kilim.AffineScheduler
 
index - Variable in class kilim.timerservice.Timer
 
indexOf(String) - Method in class kilim.http.KeyValues
 
Info() - Constructor for class kilim.examples.TimerBlast2.Info
 
informOnExit(Mailbox<ExitMsg<TT>>) - Method in class kilim.Task
 
init(KilimMvc.Session, HttpRequest, HttpResponse) - Method in class kilim.http.KilimMvc.Router
 
initHeader(HttpRequest, int) - Static method in class kilim.http.HttpRequestParser
 
insert1(int) - Method in interface kilim.examples.Userdata.Eats1
 
insert1(int) - Method in class kilim.examples.Userdata.Eats1Impl
 
insert1(int) - Method in class kilim.examples.Userdata.Eats2
 
insert1(int) - Method in class kilim.examples.Userdata.Eats3
 
insert1(int) - Method in interface kilim.examples.Userdata.Eats4
 
insert2(int) - Method in class kilim.examples.Userdata.Eats2
 
interestOps - Variable in class kilim.nio.SockEvent
 
IntList - Class in kilim.http
 
IntList(int) - Constructor for class kilim.http.IntList
 
IntList() - Constructor for class kilim.http.IntList
 
invoke(Method, Object, Object...) - Static method in class kilim.Task
Invoke a pausable method via reflection.
Invoke(Method, Object, Object...) - Constructor for class kilim.Task.Invoke
 
iprod - Variable in class kilim.RingQueue
 
iread - Variable in class kilim.http.HttpRequest
The read cursor, used in the read* methods.
isAbstract() - Method in class kilim.analysis.MethodFlow
 
isAssignableFrom(CachedClassMirrors.ClassMirror) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
isBridge() - Method in class kilim.analysis.MethodFlow
 
isBridge() - Method in class kilim.mirrors.CachedClassMirrors.MethodMirror
 
isCatchHandler() - Method in class kilim.analysis.BasicBlock
 
isCategory1() - Method in class kilim.analysis.Value
 
isCategory2() - Method in class kilim.analysis.Value
 
isConstant() - Method in class kilim.analysis.Value
 
isDone() - Method in class kilim.Fiber
 
isDone() - Method in class kilim.Task
 
isEmpty() - Method in class kilim.AffineScheduler.Executor
 
isEmpty() - Method in class kilim.concurrent.MPSCQueue
 
isEmpty() - Method in class kilim.concurrent.SPSCQueue
 
isEmpty() - Method in class kilim.ForkJoinScheduler
 
isEmpty() - Method in class kilim.timerservice.TimerPriorityHeap
 
isEmpty() - Method in interface kilim.timerservice.TimerService.WatchdogContext
 
isEmptyish() - Method in class kilim.AffineScheduler.Executor
 
isEmptyish() - Method in class kilim.AffineScheduler
 
isEmptyish() - Method in class kilim.ForkJoinScheduler
 
isEmptyish() - Method in class kilim.Scheduler
are the queues empty allows false positives, but not false negatives ie, if this method returns false, then at some moment during the call at least one queue was non-empty if it returns true then for each queue there was a moment during the call when it was empty
isEmptyish() - Method in interface kilim.timerservice.TimerService.WatchdogContext
 
isEmptyLazy(TimerService.WatchdogContext) - Method in class kilim.timerservice.TimerService
return true if empty at a particular moment during the call allowing false negatives if operations are ongoing
isGetCurrentTask() - Method in class kilim.analysis.BasicBlock
 
isInterface() - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
isIntType(String) - Static method in class kilim.analysis.TypeDesc
 
isLiveIn(int) - Method in class kilim.analysis.Usage
return true if var is live at the entrance to this BB.
isLoaded(String) - Method in class kilim.KilimClassLoader
 
isOldHttp() - Method in class kilim.http.HttpRequest
 
isPausable() - Method in class kilim.analysis.BasicBlock
 
isPausable() - Method in class kilim.analysis.ClassFlow
 
isPausable() - Method in class kilim.analysis.MethodFlow
 
isPausable(String, String, String) - Method in class kilim.mirrors.Detector
 
isPinnable() - Method in class kilim.ForkJoinScheduler
 
isPinnable() - Method in class kilim.Scheduler
 
isRefType(String) - Static method in class kilim.analysis.TypeDesc
 
isSamShim(String) - Static method in class kilim.Constants.Util
 
isShutdown() - Method in class kilim.Scheduler
 
isStatic() - Method in class kilim.analysis.MethodFlow
 
ISTORE_0 - Static variable in interface kilim.Constants
 
isValid(Task) - Method in class kilim.Cell
 
isValid(Task) - Method in class kilim.Mailbox
 
isValid(Task) - Method in class kilim.MailboxMPSC
 
isValid(Task) - Method in class kilim.MailboxSPSC
 
isValid(Task) - Method in interface kilim.PauseReason
True if the given task's reason for pausing is still valid.
isValid(Task) - Method in class kilim.TaskDoneReason
 
isValid(Task) - Method in class kilim.YieldReason
 
isWoven - Variable in class kilim.analysis.ClassFlow
true if the .class being read is already woven.
isWoven(Class) - Static method in class kilim.tools.Kilim
has klass been woven
iterator() - Method in class kilim.analysis.FileLister
 
iterator() - Method in class kilim.Generator
 

J

Java7Handler() - Constructor for class kilim.support.JettyHandler.Java7Handler
 
Javac - Class in kilim.tools
Simple utility class to invoke the java compiler.
Javac() - Constructor for class kilim.tools.Javac
 
Javac.ClassPath - Class in kilim.tools
a collection of class path elements
JavaDemo() - Constructor for class kilim.examples.Pure.JavaDemo
 
Jetlang - Class in kilim.bench
Compare this to Jetlang's PerfMain tests See http://code.google.com/p/jetlang/
Jetlang() - Constructor for class kilim.bench.Jetlang
 
JettyHandler - Class in kilim.support
 
JettyHandler(JettyHandler.Iface) - Constructor for class kilim.support.JettyHandler
 
JettyHandler.Iface - Interface in kilim.support
 
JettyHandler.Java7Handler - Class in kilim.support
java 7 doesn't support default interface methods so we need a dummy impl of the woven handler this needs to be in a superclass, otherwise kilim will refuse to weave the real handle method
join() - Method in class kilim.Task
 
join() - Method in class kilim.TaskGroup
 
join() - Method in class kilim.tools.Javac.ClassPath
get the command-line-style classpath string
joinb() - Method in class kilim.Task
 
joinb() - Method in class kilim.TaskGroup
 

K

keepAlive() - Method in class kilim.http.HttpRequest
 
keys - Variable in class kilim.http.HttpRequest
Keys present in the HTTP header
keys - Variable in class kilim.http.HttpResponse
 
keys - Variable in class kilim.http.KeyValues
 
KeyValues - Class in kilim.http
A low overhead map to avoid creating too many objects (Entry objects and iterators etc)
KeyValues() - Constructor for class kilim.http.KeyValues
 
KeyValues(int) - Constructor for class kilim.http.KeyValues
 
kilim - package kilim
 
Kilim - Class in kilim.tools
runtime weaver This class dynamically weaves kilim-related classes and runs "class".
Kilim() - Constructor for class kilim.tools.Kilim
 
kilim.analysis - package kilim.analysis
 
kilim.bench - package kilim.bench
 
kilim.bench.rmi - package kilim.bench.rmi
 
kilim.concurrent - package kilim.concurrent
 
Kilim.Config - Class in kilim.tools
 
kilim.examples - package kilim.examples
 
kilim.http - package kilim.http
 
kilim.mirrors - package kilim.mirrors
 
kilim.nio - package kilim.nio
 
kilim.plugins - package kilim.plugins
 
kilim.support - package kilim.support
 
kilim.timerservice - package kilim.timerservice
 
kilim.tools - package kilim.tools
 
KILIM_ASM - Static variable in interface kilim.Constants
 
KILIM_CLASSPATH - Static variable in class kilim.WeavingClassLoader
 
KILIM_VERSION - Static variable in interface kilim.Constants
 
KilimClassLoader - Class in kilim
Extends Classloader just to have access to the (protected) findLoadedClass method
KilimClassLoader() - Constructor for class kilim.KilimClassLoader
 
KilimContext - Class in kilim.analysis
 
KilimContext() - Constructor for class kilim.analysis.KilimContext
 
KilimContext(CachedClassMirrors) - Constructor for class kilim.analysis.KilimContext
 
KilimException - Exception in kilim
 
KilimException(String) - Constructor for exception kilim.KilimException
 
KilimMavenPlugin - Class in kilim.plugins
maven plugin for ahead-of-time weaving of class files
KilimMavenPlugin() - Constructor for class kilim.plugins.KilimMavenPlugin
 
KilimMvc - Class in kilim.http
a minimal mvc framework for kilim, not available in java 7 or earlier
KilimMvc() - Constructor for class kilim.http.KilimMvc
 
KilimMvc.Clerk - Interface in kilim.http
 
KilimMvc.Factory<TT extends KilimMvc.Routeable,PP extends KilimMvc.Router> - Interface in kilim.http
 
KilimMvc.Fullable0 - Interface in kilim.http
 
KilimMvc.KilimHandler - Interface in kilim.http
 
KilimMvc.Preppable<PP> - Interface in kilim.http
 
KilimMvc.Route - Class in kilim.http
 
KilimMvc.Route.Info - Class in kilim.http
 
KilimMvc.Routeable - Interface in kilim.http
 
KilimMvc.Routeable0 - Interface in kilim.http
 
KilimMvc.Routeable1 - Interface in kilim.http
 
KilimMvc.Routeable2 - Interface in kilim.http
 
KilimMvc.Routeable3 - Interface in kilim.http
 
KilimMvc.Routeable4 - Interface in kilim.http
 
KilimMvc.Routeable5 - Interface in kilim.http
 
KilimMvc.Routeablex - Interface in kilim.http
 
KilimMvc.Router<PP extends KilimMvc.Router> - Class in kilim.http
 
KilimMvc.Scannable<PP extends KilimMvc.Router> - Interface in kilim.http
 
KilimMvc.Session - Class in kilim.http
 
kw_lookup(byte[], int, int) - Static method in class kilim.http.HttpRequestParser
 

L

lazySet(boolean) - Method in class kilim.concurrent.VolatileBoolean
 
lazySet(long) - Method in class kilim.concurrent.VolatileLongCell
 
lazySet(V) - Method in class kilim.concurrent.VolatileReferenceCell
 
LDC2_W - Static variable in interface kilim.Constants
 
LF - Static variable in class kilim.http.HttpRequest
 
listen(int, Class<? extends HttpSession>, Scheduler) - Method in class kilim.http.HttpServer
Sets up a listener on the supplied port, and when a fresh connection comes in, it creates a new instance of the httpSessionClass task and exceutes it on the supplied scheduler.
listen(int, NioSelectorScheduler.SessionFactory, Scheduler) - Method in class kilim.http.HttpServer
 
listen(int, NioSelectorScheduler.SessionFactory, Scheduler) - Method in class kilim.nio.NioSelectorScheduler
 
listen(int, Class<? extends SessionTask>, Scheduler) - Method in class kilim.nio.NioSelectorScheduler
 
LISTEN_BACKLOG - Static variable in class kilim.nio.NioSelectorScheduler
 
LLOAD_0 - Static variable in interface kilim.Constants
 
loadClass(String, boolean) - Method in class kilim.WeavingClassLoader
 
lock() - Method in class kilim.ReentrantLock
 
log(Object, Object) - Method in class kilim.Scheduler
write to the log
log(Object, Object) - Method in interface kilim.Scheduler.Logger
 
logging - Static variable in class kilim.bench.Ring
 
logRelay(Scheduler, Object, Object) - Static method in class kilim.Scheduler
a static accessor to allow log to be protected
loop(long) - Method in class kilim.examples.Xorshift.X1
 
loop(long) - Method in class kilim.examples.Xorshift.X2
 
LotsOfTasks - Class in kilim.bench
 
LotsOfTasks() - Constructor for class kilim.bench.LotsOfTasks
 
LSTORE_0 - Static variable in interface kilim.Constants
 

M

Mailbox<T> - Class in kilim
This is a typed buffer that supports multiple producers and a single consumer.
Mailbox() - Constructor for class kilim.Mailbox
 
Mailbox(int) - Constructor for class kilim.Mailbox
 
Mailbox(int, int) - Constructor for class kilim.Mailbox
 
Mailbox.BlockingSubscriber - Class in kilim
 
MailboxMPSC<T> - Class in kilim
This is a typed buffer that supports single producers and a single consumer.
MailboxMPSC() - Constructor for class kilim.MailboxMPSC
 
MailboxMPSC(int) - Constructor for class kilim.MailboxMPSC
 
MailboxSPSC<T> - Class in kilim
This is a typed buffer that supports single producers and a single consumer.
MailboxSPSC() - Constructor for class kilim.MailboxSPSC
 
MailboxSPSC(int) - Constructor for class kilim.MailboxSPSC
 
main(String[]) - Static method in class kilim.bench.BigPingPong
 
main(String[]) - Static method in class kilim.bench.Chain
 
main(String[]) - Static method in class kilim.bench.Ex_vs_Ret
 
main(String[]) - Static method in class kilim.bench.Jetlang
 
main(String[]) - Static method in class kilim.bench.LotsOfTasks
 
main(String[]) - Static method in class kilim.bench.PingPong
 
main(String[]) - Static method in class kilim.bench.Rec
benchmark recursion
main(String[]) - Static method in class kilim.bench.Ring
 
main(String[]) - Static method in class kilim.bench.rmi.RMI
 
main(String[]) - Static method in class kilim.bench.Sleep
benchmark interleaved Thread.sleep(1) and Fiber.pause calls runtime in msec should be approximately 4 times the number of passes
main(String[]) - Static method in class kilim.bench.ThreadBench
 
main(String[]) - Static method in class kilim.bench.ThreadPipePingPong
 
main(String[]) - Static method in class kilim.bench.Unwind
benchmark kilim stack manipulation, comparing pausable and non-pausable variants of a trivial operation
main(String[]) - Static method in class kilim.examples.Battle
 
main(String[]) - Static method in class kilim.examples.Chain
 
main(String[]) - Static method in class kilim.examples.Ex
 
main(String[]) - Static method in class kilim.examples.Fib
 
main(String[]) - Static method in class kilim.examples.Group
 
main(String[]) - Static method in class kilim.examples.HeapBlast
 
main(String[]) - Static method in class kilim.examples.HttpFileServer
 
main(String[]) - Static method in class kilim.examples.PerfTest
 
main(String[]) - Static method in class kilim.examples.Ping
 
main(String[]) - Static method in class kilim.examples.Pure
 
main(String[]) - Static method in class kilim.examples.Reflect
 
main(String[]) - Static method in class kilim.examples.SimpleHttpServer
 
main(String[]) - Static method in class kilim.examples.SimpleTask
 
main(String[]) - Static method in class kilim.examples.SimpleTask2
 
main(String[]) - Static method in class kilim.examples.Spawn
 
main(String[]) - Static method in class kilim.examples.TimedTask
 
main(String[]) - Static method in class kilim.examples.TimerBlast
 
main(String[]) - Static method in class kilim.examples.TimerBlast2
 
main(String[]) - Static method in class kilim.examples.Tree
 
main(String[]) - Static method in class kilim.examples.Userdata
start the userdata task this entry point supports automatic runtime weaving if the code hasn't been woven when invoked, it will trampoline off the WeavingClassLoader
main(String[]) - Static method in class kilim.examples.Xorshift
 
main(String[]) - Static method in class kilim.ForkJoinScheduler
run the main method from another class using this scheduler as the default scheduler
main(String[]) - Static method in class kilim.http.HttpRequestParser
 
main(String[]) - Static method in class kilim.tools.Asm
 
main(String[]) - Static method in class kilim.tools.DumpClass
 
main(String[]) - Static method in class kilim.tools.FlowAnalyzer
 
main(String[]) - Static method in class kilim.tools.Kilim
 
main(String[]) - Static method in class kilim.tools.Weaver
Usage: java kilim.tools.Weaver -d <output directory> {source classe, jar, directory ...}
mainJava(int) - Static method in class kilim.examples.Pure
 
mainMega(int) - Static method in class kilim.examples.Pure
 
mainPerf(int) - Method in class kilim.examples.Pure.PureDemos
 
mainPure(int) - Static method in class kilim.examples.Pure
 
mainTask(int) - Static method in class kilim.examples.Pure
 
make(int, String) - Static method in class kilim.analysis.Value
create a new Value with the given position and type and no constant value
make(int, String, Object) - Static method in class kilim.analysis.Value
create a new Value
make(PP) - Method in interface kilim.http.KilimMvc.Factory
 
make(int) - Static method in class kilim.Scheduler
return a new default Scheduler with default queue length
make0(String, KilimMvc.Factory<KilimMvc.Routeable0, PP>) - Method in class kilim.http.KilimMvc.Router
 
make0(KilimMvc.Route, KilimMvc.Factory<KilimMvc.Routeable0, PP>) - Method in class kilim.http.KilimMvc.Router
 
make1(String, KilimMvc.Factory<KilimMvc.Routeable1, PP>) - Method in class kilim.http.KilimMvc.Router
 
make1(KilimMvc.Route, KilimMvc.Factory<KilimMvc.Routeable1, PP>) - Method in class kilim.http.KilimMvc.Router
 
make2(String, KilimMvc.Factory<KilimMvc.Routeable2, PP>) - Method in class kilim.http.KilimMvc.Router
 
make2(KilimMvc.Route, KilimMvc.Factory<KilimMvc.Routeable2, PP>) - Method in class kilim.http.KilimMvc.Router
 
make3(String, KilimMvc.Factory<KilimMvc.Routeable3, PP>) - Method in class kilim.http.KilimMvc.Router
 
make3(KilimMvc.Route, KilimMvc.Factory<KilimMvc.Routeable3, PP>) - Method in class kilim.http.KilimMvc.Router
 
make4(String, KilimMvc.Factory<KilimMvc.Routeable4, PP>) - Method in class kilim.http.KilimMvc.Router
 
make4(KilimMvc.Route, KilimMvc.Factory<KilimMvc.Routeable4, PP>) - Method in class kilim.http.KilimMvc.Router
 
make5(String, KilimMvc.Factory<KilimMvc.Routeable5, PP>) - Method in class kilim.http.KilimMvc.Router
 
make5(KilimMvc.Route, KilimMvc.Factory<KilimMvc.Routeable5, PP>) - Method in class kilim.http.KilimMvc.Router
 
makeResourceName(String) - Static method in class kilim.WeavingClassLoader
convert a fully qualified class name to a resource name.
map - Static variable in class kilim.tools.Agent
 
mapping(String, String) - Static method in class kilim.http.KilimMvc.Router
 
mask - Variable in class kilim.concurrent.SPSCQueue
 
maxSize - Variable in class kilim.RingQueue
 
merge(Detector, Frame, boolean, Usage) - Method in class kilim.analysis.Frame
Merge the local variables and stack from the incoming frame into the current frame.
merge(Detector, Value) - Method in class kilim.analysis.Value
Produces a new value (if necessary), if the instructions are different or the types are different.
mergeType(Detector, String, String) - Static method in class kilim.analysis.TypeDesc
Given two type descriptors, it returns an appropriate merge: 1) If they are Array types, the result is a an array of the merged component types 2) If they are ref types, it returns the least common super type.
messageAvailable - Static variable in class kilim.Cell
 
messageAvailable - Static variable in class kilim.Mailbox
 
messageAvailable - Static variable in class kilim.MailboxMPSC
 
messageAvailable - Static variable in class kilim.MailboxSPSC
 
messages() - Method in class kilim.Mailbox
 
method - Variable in class kilim.http.HttpRequest
The original header.
METHOD_NOT_FOUND_OR_PAUSABLE - Static variable in class kilim.mirrors.Detector
 
METHOD_NOT_PAUSABLE - Static variable in class kilim.mirrors.Detector
 
MethodFlow - Class in kilim.analysis
This represents all the basic blocks of a method.
MethodFlow(ClassFlow, int, String, String, String, String[], Detector) - Constructor for class kilim.analysis.MethodFlow
 
MethodMirror(int, String, String, String[]) - Constructor for class kilim.mirrors.CachedClassMirrors.MethodMirror
 
MethodRef(String, String) - Constructor for class kilim.Fiber.MethodRef
 
MethodWeaver - Class in kilim.analysis
This class takes the basic blocks from a MethodFlow and generates all the extra code to support continuations.
mimeType(File) - Static method in class kilim.examples.HttpFileServer
 
mimeType(File) - Static method in class kilim.http.MimeTypes
get the mime type of a file based on it's filename extension
mimeType(String) - Static method in class kilim.http.MimeTypes
get the mime type of a filename based on it's extension
mimeTypes - Static variable in class kilim.examples.HttpFileServer
 
MimeTypes - Class in kilim.http
mime types to simplify building http servers.
MimeTypes() - Constructor for class kilim.http.MimeTypes
 
mirror(byte[]) - Method in class kilim.mirrors.CachedClassMirrors
 
mirror(Class<?>) - Method in class kilim.mirrors.CachedClassMirrors
 
mirrors - Variable in class kilim.mirrors.Detector
 
MPSCQueue<E> - Class in kilim.concurrent
 
MPSCQueue(int) - Constructor for class kilim.concurrent.MPSCQueue
 
MPSCQueue.BackOffStrategy - Enum in kilim.concurrent
 
MSG_AVAILABLE - Static variable in class kilim.Cell
 
MSG_AVAILABLE - Static variable in class kilim.Mailbox
 
MSG_AVAILABLE - Static variable in class kilim.MailboxMPSC
 
MSG_AVAILABLE - Static variable in class kilim.MailboxSPSC
 

N

newThread(Runnable) - Method in class kilim.AffineScheduler
 
next() - Method in class kilim.AffineScheduler
 
next() - Method in class kilim.Generator
 
nFields - Variable in class kilim.http.HttpRequest
 
nio - Variable in class kilim.http.HttpServer
 
NioSelectorScheduler - Class in kilim.nio
This class wraps a selector and runs it in a separate thread.
NioSelectorScheduler() - Constructor for class kilim.nio.NioSelectorScheduler
 
NioSelectorScheduler.RegistrationTask - Class in kilim.nio
 
NioSelectorScheduler.SessionFactory - Interface in kilim.nio
 
NO_VAL - Static variable in class kilim.analysis.Value
 
nop() - Static method in class kilim.bench.Sleep
 
noPauseRun() - Method in class kilim.bench.Rec
 
noPauseRun() - Method in class kilim.bench.Sleep
 
noPauseRun() - Method in class kilim.bench.Unwind
 
NOT_PAUSABLE_CLASS - Static variable in interface kilim.Constants
 
NOT_PAUSING__HAS_STATE - Static variable in class kilim.Fiber
 
NOT_PAUSING__NO_STATE - Static variable in class kilim.Fiber
 
NotPausable - Exception in kilim
 
NotPausable() - Constructor for exception kilim.NotPausable
 
numElements - Variable in class kilim.http.IntList
 
numThreads() - Method in class kilim.AffineScheduler
 
numThreads() - Method in class kilim.ForkJoinScheduler
 
numThreads() - Method in class kilim.Scheduler
 

O

offer(E) - Method in class kilim.concurrent.MPSCQueue
 
offer(T) - Method in class kilim.concurrent.SPSCQueue
 
onEvent(EventPublisher, Event) - Method in class kilim.Cell.BlockingSubscriber
 
onEvent(EventPublisher, Event) - Method in interface kilim.EventSubscriber
 
onEvent(EventPublisher, Event) - Method in class kilim.Mailbox.BlockingSubscriber
 
onEvent(EventPublisher, Event) - Method in class kilim.Task
 
onHeap - Variable in class kilim.timerservice.Timer
 
onQueue - Variable in class kilim.timerservice.Timer
 
open(String) - Method in class kilim.analysis.FileLister
 
outputDir - Static variable in class kilim.tools.Weaver
 

P

p(String) - Static method in class kilim.analysis.Utils
 
P - Class in kilim.tools
 
P() - Constructor for class kilim.tools.P
 
p(Object) - Static method in class kilim.tools.P
 
p1 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p11 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p2 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p21 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p3 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p31 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p4 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p41 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p5 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p51 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p6 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
p61 - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
PaddedEventSubscriber - Class in kilim.concurrent
 
PaddedEventSubscriber() - Constructor for class kilim.concurrent.PaddedEventSubscriber
 
PaddedLong() - Constructor for class kilim.concurrent.SPSCQueue.PaddedLong
 
parse() - Method in class kilim.tools.Asm
 
parseArgs(String[]) - Static method in class kilim.tools.Weaver
 
parseChunkSize(ByteBuffer, int, int) - Static method in class kilim.http.HttpRequest
 
parseDate(byte[], int, int) - Static method in class kilim.http.HttpRequestParser
 
Pausable - Exception in kilim
 
Pausable.Fork - Interface in kilim
 
Pausable.Fork1<AA> - Interface in kilim
 
Pausable.Pfun<XX,YY,EE extends java.lang.Throwable> - Interface in kilim
 
Pausable.Psumer<XX,EE extends java.lang.Throwable> - Interface in kilim
 
Pausable.Spawn<TT> - Interface in kilim
 
PAUSABLE_CLASS - Static variable in interface kilim.Constants
 
PAUSABLE_METHOD_FOUND - Static variable in class kilim.mirrors.Detector
 
pause() - Static method in class kilim.Fiber
 
pause(Fiber) - Static method in class kilim.Fiber
 
pause(PauseReason) - Static method in class kilim.Task
Ask the current task to pause with a reason object, that is responsible for resuming the task when the reason (for pausing) is not valid any more.
pause(PauseReason, Fiber) - Static method in class kilim.Task
 
PauseReason - Interface in kilim
 
pauseReason - Variable in class kilim.Task
The reason for pausing (duh) and performs the role of a await condition in CCS.
pauseUntilAcceptable() - Method in class kilim.nio.EndPoint
 
pauseUntilReadable() - Method in class kilim.nio.EndPoint
 
pauseUntilWritable() - Method in class kilim.nio.EndPoint
 
PAUSING__HAS_STATE - Static variable in class kilim.Fiber
 
PAUSING__NO_STATE - Static variable in class kilim.Fiber
 
pc - Variable in class kilim.Fiber
The "program counter", kept equal to stateStack[iStack].pc and is used to jump to the appropriate place in the code while rewinding the code, and also to inform the weaved code inside an exception handler which pausable method (if at all) was being invoked when that exception was thrown.
pc - Variable in class kilim.State
 
peek() - Method in class kilim.concurrent.MPSCQueue
 
peek(int) - Method in class kilim.Mailbox
 
peek() - Method in class kilim.RingQueue
 
peek() - Method in class kilim.timerservice.TimerPriorityHeap
 
pending - Variable in class kilim.AffineScheduler.Executor
 
perf() - Method in class kilim.examples.Pure.PureDemos
 
performanceRun(int) - Static method in class kilim.examples.PerfTest
 
PerfTest - Class in kilim.examples
 
PerfTest(Mailbox<Integer>) - Constructor for class kilim.examples.PerfTest
 
pi(int) - Static method in class kilim.tools.P
 
Ping - Class in kilim.examples
Example showing kilim's support for NIO.
Ping() - Constructor for class kilim.examples.Ping
 
Ping.Client - Class in kilim.examples
The Client is a conventional Java socket application.
Ping.Server - Class in kilim.examples
Server is a SessionTask, which means an instance of it is created by the NioSelectorScheduler on an incoming connection.
PingPong - Class in kilim.bench
 
PingPong() - Constructor for class kilim.bench.PingPong
 
pinnableScheduler - Static variable in class kilim.Scheduler
 
pinToThread() - Method in class kilim.Task
 
pn(String) - Static method in class kilim.analysis.Utils
 
pn(int) - Static method in class kilim.analysis.Utils
 
pn() - Static method in class kilim.analysis.Utils
 
pn(Object) - Static method in class kilim.analysis.Utils
 
pn() - Static method in class kilim.tools.P
 
pn(Object) - Static method in class kilim.tools.P
 
poll() - Method in class kilim.concurrent.MPSCQueue
 
poll() - Method in class kilim.concurrent.SPSCQueue
 
poll() - Method in class kilim.timerservice.TimerPriorityHeap
 
pop() - Method in class kilim.analysis.Frame
 
popn(int) - Method in class kilim.analysis.Frame
 
popWord() - Method in class kilim.analysis.Frame
 
pos - Variable in class kilim.analysis.Handler
the position of the corresponding entry in the unwoven exception table
preLock() - Method in class kilim.ReentrantLock
 
premain(String, Instrumentation) - Static method in class kilim.tools.Agent
 
prePin() - Method in class kilim.Task
 
preweaveDeserializeLambda() - Method in class kilim.analysis.MethodWeaver
at least with openjdk 8-11, deserializing lambdas checks the signature or the target.
print() - Method in class kilim.bench.Stopwatch
 
print(int) - Method in class kilim.bench.Stopwatch
 
problem(File, HttpResponse, byte[], String) - Method in class kilim.examples.HttpFileServer
 
problem(HttpResponse, byte[], String) - Method in class kilim.http.HttpSession
Send an error page to the client.
profilerMark() - Static method in class kilim.bench.LotsOfTasks
 
PROTOCOL - Static variable in class kilim.http.HttpResponse
 
proxy - Static variable in class kilim.tools.Weaver
 
ps(Object) - Static method in class kilim.tools.P
 
ptest() - Static method in class kilim.tools.P
 
publish(Task) - Method in class kilim.AffineScheduler.Executor
 
publish(TimerService.WatchdogTask) - Method in class kilim.AffineScheduler.Executor
 
publish(TimerService.WatchdogTask) - Method in class kilim.ForkJoinScheduler
 
publish(Runnable) - Method in class kilim.ForkJoinScheduler
 
publish(TimerService.WatchdogTask) - Method in interface kilim.timerservice.TimerService.WatchdogContext
 
Pure - Class in kilim.examples
 
Pure() - Constructor for class kilim.examples.Pure
 
Pure.JavaDemo - Class in kilim.examples
 
Pure.PureDemo - Class in kilim.examples
 
Pure.PureDemos - Class in kilim.examples
 
Pure.PureMega - Class in kilim.examples
 
Pure.TaskDemo - Class in kilim.examples
 
PureDemo() - Constructor for class kilim.examples.Pure.PureDemo
 
PureDemos() - Constructor for class kilim.examples.Pure.PureDemos
 
PureMega() - Constructor for class kilim.examples.Pure.PureMega
 
push(Value) - Method in class kilim.analysis.Frame
 
put(T, EventSubscriber) - Method in class kilim.Cell
Non-blocking, nonpausing put.
put(T) - Method in class kilim.Cell
 
put(T, int) - Method in class kilim.Cell
 
put(String, String) - Method in class kilim.http.KeyValues
add/replace key value pair.
put(T, EventSubscriber) - Method in class kilim.Mailbox
Non-blocking, nonpausing put.
put(T) - Method in class kilim.Mailbox
put a non-null message in the mailbox, and pause the calling task until the mailbox has space
put(T, int) - Method in class kilim.Mailbox
put a non-null message in the mailbox, and pause the calling task for timeoutMillis if the mailbox is full.
put(T, EventSubscriber) - Method in class kilim.MailboxMPSC
 
put(T) - Method in class kilim.MailboxMPSC
put a non-null message in the mailbox, and pause the calling task until the mailbox has space
put(T, int) - Method in class kilim.MailboxMPSC
put a non-null message in the mailbox, and pause the calling task for timeoutMillis if the mailbox is full.
put(T[]) - Method in class kilim.MailboxSPSC
put a non-null messages from buffer in the mailbox, and pause the calling task until all the messages put in the mailbox
put(T, EventSubscriber) - Method in class kilim.MailboxSPSC
 
put(T) - Method in class kilim.MailboxSPSC
put a non-null message in the mailbox, and pause the calling task until the mailbox has space
put(T, int) - Method in class kilim.MailboxSPSC
put a non-null message in the mailbox, and pause the calling task for timeoutMillis if the mailbox is full.
put(T) - Method in class kilim.RingQueue
 
putb(T) - Method in class kilim.Cell
 
putb(T, long) - Method in class kilim.Cell
 
putb(T) - Method in class kilim.Mailbox
 
putb(T, long) - Method in class kilim.Mailbox
put a non-null message in the mailbox, and block the calling thread for timeoutMillis if the mailbox is full
putMailbox(T[], MailboxSPSC) - Method in class kilim.concurrent.SPSCQueue
 
putnb(T) - Method in class kilim.Cell
 
putnb(T) - Method in class kilim.Mailbox
Attempt to put a message, and return true if successful.
putnb(T) - Method in class kilim.MailboxMPSC
Attempt to put a message, and return true if successful.
putnb(T) - Method in class kilim.MailboxSPSC
Attempt to put a message, and return true if successful.

Q

que - Variable in class kilim.AffineScheduler.Executor
 
queryStringRange - Variable in class kilim.http.HttpRequest
 
QUEUE_CAPACITY - Static variable in class kilim.examples.PerfTest
 

R

Range - Class in kilim.analysis
Used by catch handlers to handle overlapping ranges
Range(int, int) - Constructor for class kilim.analysis.Range
 
read(int) - Method in class kilim.analysis.Usage
 
readAllChunks(EndPoint) - Method in class kilim.http.HttpRequest
 
readBody(EndPoint) - Method in class kilim.http.HttpRequest
 
readFrom(EndPoint) - Method in class kilim.http.HttpRequest
 
readFully(InputStream) - Static method in class kilim.WeavingClassLoader
 
readFully(FileLister.Entry) - Static method in class kilim.WeavingClassLoader
 
readHeader(EndPoint) - Method in class kilim.http.HttpRequest
 
readLine(EndPoint) - Method in class kilim.http.HttpRequest
 
readRequest(HttpRequest) - Method in class kilim.http.HttpSession
Reads the socket, parses the HTTP headers and the body (including chunks) into the req object.
readTrailers(EndPoint) - Method in class kilim.http.HttpRequest
 
Rec - Class in kilim.bench
 
Rec(int, int) - Constructor for class kilim.bench.Rec
 
ReentrantLock - Class in kilim
 
ReentrantLock() - Constructor for class kilim.ReentrantLock
 
ReentrantLock(boolean) - Constructor for class kilim.ReentrantLock
 
Reflect - Class in kilim.examples
 
Reflect() - Constructor for class kilim.examples.Reflect
 
remove() - Method in class kilim.concurrent.MPSCQueue
 
remove() - Method in class kilim.Generator
 
remove(int) - Method in class kilim.Mailbox
 
removeMsgAvailableListener(EventSubscriber) - Method in class kilim.Cell
 
removeMsgAvailableListener(EventSubscriber) - Method in class kilim.Mailbox
 
removeMsgAvailableListener(EventSubscriber) - Method in class kilim.MailboxMPSC
 
removeMsgAvailableListener(EventSubscriber) - Method in class kilim.MailboxSPSC
 
removeSpaceAvailableListener(EventSubscriber) - Method in class kilim.Cell
 
removeSpaceAvailableListener(EventSubscriber) - Method in class kilim.Mailbox
 
removeSpaceAvailableListener(EventSubscriber) - Method in class kilim.MailboxMPSC
 
removeSpaceAvailableListener(EventSubscriber) - Method in class kilim.MailboxSPSC
 
REPETITIONS - Static variable in class kilim.examples.PerfTest
 
replyTo - Variable in class kilim.nio.SockEvent
 
reportMicros() - Method in class kilim.bench.Stopwatch
Report in micros or millis
reportMillis() - Method in class kilim.bench.Stopwatch
 
req - Variable in class kilim.http.KilimMvc.Router
 
reschedule(int) - Method in class kilim.timerservice.TimerPriorityHeap
 
reset() - Static method in class kilim.analysis.ClassWeaver
 
reset() - Method in class kilim.Continuation
reset the Continuation and corresponding Fiber cannot be called inside execute() subsequent invocations of run() will enter execute() as a normal method, ie at the beginning
reset() - Method in class kilim.examples.Pure.PureDemos
 
reset() - Method in class kilim.Fiber
 
reset() - Method in class kilim.RingQueue
 
resetIndentation() - Static method in class kilim.analysis.Utils
 
resetLabels() - Method in class kilim.analysis.MethodFlow
 
resolved(TimerService) - Method in class kilim.AffineScheduler
 
resp - Variable in class kilim.http.KilimMvc.Router
 
restoreNonInstructionNodes() - Method in class kilim.analysis.MethodFlow
 
result - Variable in class kilim.ExitMsg
 
results - Variable in class kilim.TaskGroup
 
resume() - Method in class kilim.Task
Add itself to scheduler if it is neither already running nor done.
resumeOnScheduler(Scheduler) - Method in class kilim.Task
 
reuse() - Method in class kilim.http.HttpRequest
Clear the request object so that it can be reused for the next message.
reuse() - Method in class kilim.http.HttpResponse
 
Ring - Class in kilim.bench
 
Ring(Mailbox<String>, Mailbox<String>, int, int) - Constructor for class kilim.bench.Ring
 
RingQueue<T> - Class in kilim
 
RingQueue(int) - Constructor for class kilim.RingQueue
 
RingQueue(int, int) - Constructor for class kilim.RingQueue
 
RMI - Class in kilim.bench.rmi
 
RMI() - Constructor for class kilim.bench.rmi.RMI
 
route(HttpRequest) - Method in interface kilim.http.HttpSession.StringRouter
 
route(KilimMvc.Session, HttpRequest, HttpResponse) - Method in class kilim.http.KilimMvc
 
Route(String, String) - Constructor for class kilim.http.KilimMvc.Route
 
Route() - Constructor for class kilim.http.KilimMvc.Route
 
Router(KilimMvc.Clerk) - Constructor for class kilim.http.KilimMvc.Router
 
run() - Method in class kilim.Continuation
perform one iteration of execute() the first invocation begins as a normal method subsequent invocations continue from the most recent yield
run() - Static method in class kilim.examples.Ping.Client
 
run() - Method in class kilim.examples.Pure.JavaDemo
 
run(String, int) - Method in class kilim.examples.Pure
 
run() - Method in class kilim.Task
Called by WorkerThread, it is the wrapper that performs pre and post execute processing (in addition to calling the execute(fiber) method of the task.
run() - Method in class kilim.timerservice.TimerService.WatchdogTask
 
run(String, String, String...) - Static method in class kilim.tools.Kilim
run static method className.method(args) using reflection and the WeavingClassLoader
run(String, String, String...) - Method in class kilim.WeavingClassLoader
run static method className.method(args) using reflection and this WeavingClassLoader
running - Variable in class kilim.Task
running = true when it is put on the schdulers run Q (by Task.resume()).

S

SAM_SHIM_PREFIX - Static variable in interface kilim.Constants
 
SAMweaver - Class in kilim.analysis
SAMweaver generates code to support functional interfaces (also known as SAM, for Single Abstract Method), where the SAM method is pausable.
SAMweaver(KilimContext, String, String, String, boolean) - Constructor for class kilim.analysis.SAMweaver
 
scan(KilimMvc.Scannable<PP>, KilimMvc.Preppable<PP>) - Method in class kilim.http.KilimMvc
 
schedule(int, Task) - Method in class kilim.AffineScheduler
 
schedule(int, Task) - Method in class kilim.ForkJoinScheduler
 
schedule(Task) - Method in class kilim.Scheduler
Schedule a task to run.
schedule(int, Task) - Method in class kilim.Scheduler
schedule a task to run
Scheduler - Class in kilim
This is a basic FIFO Executor.
Scheduler() - Constructor for class kilim.Scheduler
 
scheduler - Variable in class kilim.Task
The object responsible for handing this task to a thread when the task is runnable.
Scheduler.Logger - Interface in kilim
 
scheduleTimer(Timer) - Method in class kilim.AffineScheduler
 
scheduleTimer(Timer) - Method in class kilim.ForkJoinScheduler
 
scheduleTimer(Timer) - Method in class kilim.Scheduler
 
select(Mailbox...) - Static method in class kilim.Mailbox
Takes an array of mailboxes and returns the index of the first mailbox that has a message.
self - Variable in class kilim.State
 
send(HttpResponse, byte[], String) - Method in class kilim.http.KilimMvc.Session
 
sendDirectory(HttpResponse, File, boolean) - Method in class kilim.examples.HttpFileServer
 
sendFile(HttpResponse, File, boolean) - Method in class kilim.examples.HttpFileServer
 
sendFile(HttpRequest, HttpResponse, File, String) - Method in class kilim.http.HttpSession
send a file with content length to the client
sendJson(HttpResponse, byte[]) - Static method in class kilim.http.KilimMvc
 
sendResponse(HttpResponse) - Method in class kilim.http.HttpSession
Send the response object in its entirety, and mark it for reuse.
Server() - Constructor for class kilim.examples.Ping.Server
 
service(HttpServletRequest, HttpServletResponse) - Method in class kilim.ServletHandler
 
ServletHandler - Class in kilim
 
ServletHandler(ServletHandler.Iface) - Constructor for class kilim.ServletHandler
 
ServletHandler.Iface - Interface in kilim
 
session - Variable in class kilim.http.KilimMvc.Router
 
Session(KilimMvc.KilimHandler) - Constructor for class kilim.http.KilimMvc.Session
 
Session() - Constructor for class kilim.http.KilimMvc.Session
 
SessionTask - Class in kilim.nio
 
SessionTask() - Constructor for class kilim.nio.SessionTask
 
set(EventSubscriber) - Method in class kilim.concurrent.PaddedEventSubscriber
 
set(boolean) - Method in class kilim.concurrent.VolatileBoolean
 
set(long) - Method in class kilim.concurrent.VolatileLongCell
 
set(V) - Method in class kilim.concurrent.VolatileReferenceCell
 
setBornIn(int) - Method in class kilim.analysis.Usage
This is purely for testing purposes.
setCallee(Object) - Method in class kilim.Fiber
 
setContentLength(long) - Method in class kilim.http.HttpResponse
 
setContentType(String) - Method in class kilim.http.HttpResponse
 
setCount(int) - Method in class kilim.nio.ExposedBais
 
setCount(int) - Method in class kilim.nio.ExposedBaos
 
setCurrentTask(Task) - Static method in class kilim.Scheduler
 
setDefaultPinnable(Scheduler) - Static method in class kilim.Scheduler
 
setDefaultScheduler(Scheduler) - Static method in class kilim.Scheduler
 
setFlag(int) - Method in class kilim.analysis.BasicBlock
 
setIndex(int) - Method in class kilim.analysis.SAMweaver
 
setLiteral(long) - Method in class kilim.timerservice.Timer
set the timer value explicitly, ie not relative to the current time
setLiveIn(int) - Method in class kilim.analysis.Usage
This is purely for testing purposes.
setLocal(int, Value) - Method in class kilim.analysis.Frame
 
setLogger(Scheduler.Logger) - Method in class kilim.Scheduler
set a logger
setPausable(boolean) - Method in class kilim.analysis.MethodFlow
 
setPauseReason(PauseReason) - Method in class kilim.Task
 
setScheduler(Scheduler) - Method in class kilim.Task
 
setState(State) - Method in class kilim.Fiber
Called by the generated code before pausing and unwinding its stack frame.
setStatus(String) - Method in class kilim.http.HttpResponse
 
setTid(int) - Method in class kilim.Task
 
setTimer(long) - Method in class kilim.timerservice.Timer
set the timer relative to the current time, ie set a delay (in milliseconds)
setup(int) - Method in class kilim.examples.Pure.PureDemos
 
shutdown() - Method in class kilim.AffineScheduler
 
shutdown() - Method in class kilim.ForkJoinScheduler
 
shutdown() - Method in class kilim.nio.NioSelectorScheduler
 
shutdown - Variable in class kilim.Scheduler
 
shutdown() - Method in class kilim.Scheduler
 
shutdown() - Static method in class kilim.Task
 
shutdown() - Method in class kilim.timerservice.TimerService
 
ShutdownException - Exception in kilim
 
ShutdownException() - Constructor for exception kilim.ShutdownException
 
SimpleHttpServer - Class in kilim.examples
A basic HTTP server that merely echoes the path and the query string supplied to it in a GET request Usage: Run java kilim.examples.HttpFileServer [base directory name] From a browser, try "http://localhost:7262/hello", "http://localhost:7262/buy?code=200&desc=Rolls%20Royce">" SimpleHttpSession is an HTTPSession task, itself a thin wrapper over the socket connection.
SimpleHttpServer() - Constructor for class kilim.examples.SimpleHttpServer
 
SimpleHttpServer.SimpleHttpSession - Class in kilim.examples
 
SimpleHttpSession() - Constructor for class kilim.examples.SimpleHttpServer.SimpleHttpSession
 
SimpleTask - Class in kilim.examples
Spawn a task, communicate through a shared mailbox.
SimpleTask() - Constructor for class kilim.examples.SimpleTask
 
SimpleTask2 - Class in kilim.examples
A slight extension to SimpleTask.
SimpleTask2() - Constructor for class kilim.examples.SimpleTask2
 
size() - Method in class kilim.concurrent.MPSCQueue
 
size() - Method in class kilim.concurrent.SPSCQueue
 
size() - Method in class kilim.Mailbox
 
size - Variable in class kilim.RingQueue
 
size() - Method in class kilim.RingQueue
 
size() - Method in class kilim.timerservice.TimerPriorityHeap
 
Sleep - Class in kilim.bench
 
Sleep(int) - Constructor for class kilim.bench.Sleep
 
sleep(long) - Static method in class kilim.Task
 
sockch - Variable in class kilim.nio.EndPoint
The socket channel wrapped by the EndPoint.
SockEvent - Class in kilim.nio
 
SockEvent(Mailbox<SockEvent>, AbstractSelectableChannel, int) - Constructor for class kilim.nio.SockEvent
 
SPACE_AVAILABLE - Static variable in class kilim.Cell
 
SPACE_AVAILABLE - Static variable in class kilim.Mailbox
 
SPACE_AVAILABLE - Static variable in class kilim.MailboxMPSC
 
SPACE_AVAILABLE - Static variable in class kilim.MailboxSPSC
 
spaceAvailble - Static variable in class kilim.Cell
 
spaceAvailble - Static variable in class kilim.Mailbox
 
spaceAvailble - Static variable in class kilim.MailboxMPSC
 
spaceAvailble - Static variable in class kilim.MailboxSPSC
 
spaces - Static variable in class kilim.analysis.Utils
 
Spawn - Class in kilim.examples
Spawn example with one consumer, ten producers
Spawn() - Constructor for class kilim.examples.Spawn
 
spawn(Pausable.Spawn<TT>) - Static method in class kilim.Task
Wraps the given object or lambda expression in a Task and starts that task.
spawn(Method, Object, Object...) - Static method in class kilim.Task
 
Spawn() - Constructor for class kilim.Task.Spawn
 
Spawn(Pausable.Spawn<TT>) - Constructor for class kilim.Task.Spawn
 
SPSCQueue<T> - Class in kilim.concurrent
 
SPSCQueue(int) - Constructor for class kilim.concurrent.SPSCQueue
 
SPSCQueue.PaddedLong - Class in kilim.concurrent
 
srun() - Static method in class kilim.examples.Ping.Server
 
ST_ACCEPTED - Static variable in class kilim.http.HttpResponse
 
ST_BAD_GATEWAY - Static variable in class kilim.http.HttpResponse
 
ST_BAD_REQUEST - Static variable in class kilim.http.HttpResponse
 
ST_CONFLICT - Static variable in class kilim.http.HttpResponse
 
ST_CONTINUE - Static variable in class kilim.http.HttpResponse
 
ST_CREATED - Static variable in class kilim.http.HttpResponse
 
ST_EXPECTATION_FAILED - Static variable in class kilim.http.HttpResponse
 
ST_FORBIDDEN - Static variable in class kilim.http.HttpResponse
 
ST_FOUND - Static variable in class kilim.http.HttpResponse
 
ST_GATEWAY_TIMEOUT - Static variable in class kilim.http.HttpResponse
 
ST_GONE - Static variable in class kilim.http.HttpResponse
 
ST_HTTP_VERSION_NOT_SUPPORTED - Static variable in class kilim.http.HttpResponse
 
ST_INTERNAL_SERVER_ERROR - Static variable in class kilim.http.HttpResponse
 
ST_LENGTH_REQUIRED - Static variable in class kilim.http.HttpResponse
 
ST_METHOD_NOT_ALLOWED - Static variable in class kilim.http.HttpResponse
 
ST_MOVED_PERMANENTLY - Static variable in class kilim.http.HttpResponse
 
ST_MULTIPLE_CHOICES - Static variable in class kilim.http.HttpResponse
 
ST_NO_CONTENT - Static variable in class kilim.http.HttpResponse
 
ST_NON_AUTHORITATIVE - Static variable in class kilim.http.HttpResponse
 
ST_NOT_ACCEPTABLE - Static variable in class kilim.http.HttpResponse
 
ST_NOT_FOUND - Static variable in class kilim.http.HttpResponse
 
ST_NOT_IMPLEMENTED - Static variable in class kilim.http.HttpResponse
 
ST_NOT_MODIFIED - Static variable in class kilim.http.HttpResponse
 
ST_OK - Static variable in class kilim.http.HttpResponse
 
ST_PARTIAL_CONTENT - Static variable in class kilim.http.HttpResponse
 
ST_PAYMENT_REQUIRED - Static variable in class kilim.http.HttpResponse
 
ST_PRECONDITION_FAILED - Static variable in class kilim.http.HttpResponse
 
ST_PROXY_AUTHENTICATION_REQUIRED - Static variable in class kilim.http.HttpResponse
 
ST_REQUEST_ENTITY_TOO_LARGE - Static variable in class kilim.http.HttpResponse
 
ST_REQUEST_RANGE_NOT_SATISFIABLE - Static variable in class kilim.http.HttpResponse
 
ST_REQUEST_TIMEOUT - Static variable in class kilim.http.HttpResponse
 
ST_REQUEST_URI_TOO_LONG - Static variable in class kilim.http.HttpResponse
 
ST_RESET_CONTENT - Static variable in class kilim.http.HttpResponse
 
ST_SEE_OTHER - Static variable in class kilim.http.HttpResponse
 
ST_SERVICE_UNAVAILABLE - Static variable in class kilim.http.HttpResponse
 
ST_SWITCHING_PROTOCOLS - Static variable in class kilim.http.HttpResponse
 
ST_TEAPOT - Static variable in class kilim.http.HttpResponse
 
ST_TEMPORARY_REDIRECT - Static variable in class kilim.http.HttpResponse
 
ST_UNAUTHORIZED - Static variable in class kilim.http.HttpResponse
 
ST_UNSUPPORTED_MEDIA_TYPE - Static variable in class kilim.http.HttpResponse
 
ST_USE_PROXY - Static variable in class kilim.http.HttpResponse
 
start() - Method in class kilim.Task
Used to start the task; the task doesn't resume on its own.
startComparator() - Static method in class kilim.analysis.Handler
return a Comparator that orders the handlers by start position
startFrame - Variable in class kilim.analysis.BasicBlock
The frame at the BB's entry point.
startLabel - Variable in class kilim.analysis.BasicBlock
The label that starts this BB.
startPos - Variable in class kilim.analysis.BasicBlock
Start and end points (both inclusive) in the current method's list of instructions (this.flow.instructions)
State - Class in kilim
State is the super class for customized State objects generated by ClassWeaver.
State() - Constructor for class kilim.State
 
STATE_CLASS - Static variable in interface kilim.Constants
 
static_test() - Static method in class kilim.examples.Reflect
 
status - Variable in class kilim.http.HttpResponse
The status line for the response.
Stopwatch - Class in kilim.bench
 
Stopwatch() - Constructor for class kilim.bench.Stopwatch
 
Stopwatch(String) - Constructor for class kilim.bench.Stopwatch
 
StringSession(HttpSession.StringRouter) - Constructor for class kilim.http.HttpSession.StringSession
 
stuff(String) - Static method in interface kilim.examples.Userdata.Eats1
 
submit(Timer) - Method in class kilim.timerservice.TimerService
 
subscribe(boolean, Task, boolean) - Method in class kilim.MailboxSPSC
 
successors - Variable in class kilim.analysis.BasicBlock
List of successors (follower and all branch targets).
supply(KilimMvc.Clerk) - Method in interface kilim.http.KilimMvc.Scannable
 
supply(KilimMvc.Scannable<PP>, KilimMvc.Clerk) - Method in class kilim.http.KilimMvc
 

T

tail - Variable in class kilim.concurrent.SPSCQueue
 
tailCache - Variable in class kilim.concurrent.SPSCQueue
 
task - Variable in class kilim.ExitMsg
 
task - Variable in class kilim.Fiber
 
task() - Method in class kilim.Fiber
 
Task<TT> - Class in kilim
A base class for tasks.
Task() - Constructor for class kilim.Task
 
Task.Fork - Class in kilim
 
Task.Invoke<TT> - Class in kilim
 
Task.Spawn<TT> - Class in kilim
 
TASK_CLASS - Static variable in interface kilim.Constants
 
TaskDemo() - Constructor for class kilim.examples.Pure.TaskDemo
 
TaskDoneReason - Class in kilim
 
TaskGroup - Class in kilim
 
TaskGroup() - Constructor for class kilim.TaskGroup
 
test() - Method in class kilim.examples.Reflect
 
TEST_VALUE - Static variable in class kilim.examples.PerfTest
 
testCont(Rec) - Static method in class kilim.bench.Rec
 
testCont(Sleep) - Static method in class kilim.bench.Sleep
 
testCont(Unwind) - Static method in class kilim.bench.Unwind
 
ThreadBench - Class in kilim.bench
 
ThreadPipePingPong - Class in kilim.bench
 
ThreadPipePingPong() - Constructor for class kilim.bench.ThreadPipePingPong
 
THROWABLE_CLASS - Static variable in interface kilim.Constants
 
tick() - Method in class kilim.bench.Stopwatch
 
Tick() - Constructor for class kilim.examples.TimerBlast.Tick
 
tickPrint() - Method in class kilim.bench.Stopwatch
 
tickPrint(int) - Method in class kilim.bench.Stopwatch
 
TIMED_OUT - Static variable in class kilim.Cell
 
TIMED_OUT - Static variable in class kilim.Mailbox
 
TIMED_OUT - Static variable in class kilim.MailboxMPSC
 
TIMED_OUT - Static variable in class kilim.MailboxSPSC
 
TIMED_OUT - Static variable in class kilim.timerservice.Timer
 
timedOut - Static variable in class kilim.Cell
 
timedOut - Static variable in class kilim.Mailbox
 
timedOut - Static variable in class kilim.MailboxMPSC
 
timedOut - Static variable in class kilim.MailboxSPSC
 
timedOut - Static variable in class kilim.timerservice.Timer
 
TimedTask - Class in kilim.examples
Creates lots of tasks that print stuff, sleep, then wake up and print more.
TimedTask() - Constructor for class kilim.examples.TimedTask
 
timePerIter(int) - Method in class kilim.bench.Stopwatch
 
timer - Variable in class kilim.Task
 
Timer - Class in kilim.timerservice
 
Timer(EventSubscriber) - Constructor for class kilim.timerservice.Timer
 
TimerBlast - Class in kilim.examples
 
TimerBlast() - Constructor for class kilim.examples.TimerBlast
 
TimerBlast.Tick - Class in kilim.examples
 
TimerBlast2 - Class in kilim.examples
 
TimerBlast2() - Constructor for class kilim.examples.TimerBlast2
 
TimerBlast2.Info - Class in kilim.examples
 
TimerBlast2.Tick - Class in kilim.examples
 
TimerBlast2.Tock - Class in kilim.examples
 
TimerPriorityHeap - Class in kilim.timerservice
 
TimerPriorityHeap() - Constructor for class kilim.timerservice.TimerPriorityHeap
 
TimerPriorityHeap(int) - Constructor for class kilim.timerservice.TimerPriorityHeap
 
timerService - Variable in class kilim.AffineScheduler
 
TimerService - Class in kilim.timerservice
 
TimerService(TimerService.WatchdogContext) - Constructor for class kilim.timerservice.TimerService
 
TimerService.WatchdogContext - Interface in kilim.timerservice
 
TimerService.WatchdogTask - Class in kilim.timerservice
 
to - Variable in class kilim.analysis.Handler
End offset in method's instruction list
toByteArray() - Method in class kilim.nio.ExposedBais
 
toByteArray() - Method in class kilim.nio.ExposedBaos
 
toByteBuffer() - Method in class kilim.nio.ExposedBaos
 
toString() - Method in class kilim.analysis.BasicBlock
 
toString() - Method in class kilim.analysis.ClassInfo
 
toString() - Method in class kilim.analysis.Frame
 
toString() - Method in class kilim.analysis.MethodFlow
 
toString() - Method in class kilim.analysis.SAMweaver
 
toString() - Method in class kilim.analysis.Usage
 
toString() - Method in class kilim.analysis.Value
 
toString() - Method in class kilim.bench.Stopwatch
 
toString(int) - Method in class kilim.bench.Stopwatch
 
toString() - Method in class kilim.Cell
 
toString() - Method in class kilim.concurrent.VolatileReferenceCell
 
toString() - Method in class kilim.ExitMsg
 
toString() - Method in class kilim.Fiber
 
toString() - Method in class kilim.http.HttpRequest
 
toString() - Method in class kilim.http.KeyValues
 
toString() - Method in class kilim.Mailbox
 
toString() - Method in class kilim.MailboxMPSC
 
toString() - Method in class kilim.MailboxSPSC
 
toString() - Method in class kilim.RingQueue
 
toString() - Method in class kilim.Task
 
toString() - Method in class kilim.TaskDoneReason
 
toString() - Method in class kilim.YieldReason
 
toStringBits(String) - Method in class kilim.analysis.Usage
 
tracing - Static variable in class kilim.bench.ThreadBench
 
trampoline(boolean, String...) - Static method in class kilim.tools.Kilim
run the calling (static) method in the WeavingClassLoader context intended to be used from main
trampoline(Object, boolean, String...) - Static method in class kilim.tools.Kilim
run the calling (static) method in the WeavingClassLoader context using the classloader that was used to load example intended to be used from main
trampoline(Kilim.Config, String...) - Static method in class kilim.tools.Kilim
run the calling (static) method in the WeavingClassLoader context using the provided config
transform(ClassLoader, String, Class, ProtectionDomain, byte[]) - Method in class kilim.tools.Agent
 
Tree - Class in kilim.examples
This example illustrates two 'generators' that walk a tree, one in pre-order and another in post-order.
trigger(TimerService.WatchdogContext) - Method in class kilim.timerservice.TimerService
 
tryLock() - Method in class kilim.ReentrantLock
 
tryLock(long, TimeUnit) - Method in class kilim.ReentrantLock
 
type - Variable in class kilim.analysis.Handler
Exception type
TypeDesc - Class in kilim.analysis
A utility class that provides static methods for interning type strings and merging type descriptors.
TypeDesc() - Constructor for class kilim.analysis.TypeDesc
 

U

unlock() - Method in class kilim.ReentrantLock
 
unmakeResourceName(String) - Static method in class kilim.WeavingClassLoader
 
unpinFromThread() - Method in class kilim.Task
 
UNSAFE - Static variable in class kilim.concurrent.UnsafeAccess
 
UnsafeAccess - Class in kilim.concurrent
 
UnsafeAccess() - Constructor for class kilim.concurrent.UnsafeAccess
 
unsetFlag(int) - Method in class kilim.analysis.BasicBlock
 
untilHasMessage() - Method in class kilim.Mailbox
Block caller until at least one message is available.
untilHasMessages(int) - Method in class kilim.Mailbox
Block caller until num messages are available.
Unwind - Class in kilim.bench
 
Unwind(int) - Constructor for class kilim.bench.Unwind
 
up() - Method in class kilim.Fiber
 
upEx() - Method in class kilim.Fiber
In the normal (non-exception) scheme of things, the iStack is incremented by down() on the way down and decremented by a corresponding up() when returning or pausing.
uriFragment() - Method in class kilim.http.HttpRequest
 
uriFragmentRange - Variable in class kilim.http.HttpRequest
 
uriPath - Variable in class kilim.http.HttpRequest
The UTF8 decoded path from the HTTP header.
url(String) - Method in class kilim.WeavingClassLoader
 
usage - Variable in class kilim.analysis.BasicBlock
usage initially contains the usage of local variables in this block (without reference to any other block).
Usage - Class in kilim.analysis
Each BasicBlock owns one instance of Usage.
Usage(int) - Constructor for class kilim.analysis.Usage
 
usage() - Static method in class kilim.examples.HttpFileServer
 
Userdata - Class in kilim.examples
 
Userdata() - Constructor for class kilim.examples.Userdata
 
Userdata.Eats1 - Interface in kilim.examples
 
Userdata.Eats1Impl - Class in kilim.examples
 
Userdata.Eats2 - Class in kilim.examples
 
Userdata.Eats3 - Class in kilim.examples
 
Userdata.Eats4 - Interface in kilim.examples
 
Userdata.Eats5 - Interface in kilim.examples
 
UTF8 - Static variable in class kilim.http.HttpRequestParser
 
Util() - Constructor for class kilim.Constants.Util
 
Utils - Class in kilim.analysis
Simple string utils for pretty printing support
Utils() - Constructor for class kilim.analysis.Utils
 
Utils - Class in kilim.http
 
Utils() - Constructor for class kilim.http.Utils
 

V

V_UNDEFINED - Static variable in class kilim.analysis.Value
 
Value - Class in kilim.analysis
A SSA value that represents all objects produced at a particular location in the code.
value - Variable in class kilim.concurrent.SPSCQueue.PaddedLong
 
valueOf(String) - Static method in enum kilim.concurrent.MPSCQueue.BackOffStrategy
Returns the enum constant of this type with the specified name.
valueRanges - Variable in class kilim.http.HttpRequest
 
values() - Static method in enum kilim.concurrent.MPSCQueue.BackOffStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values - Variable in class kilim.http.HttpResponse
 
values - Variable in class kilim.http.KeyValues
 
verbose - Static variable in class kilim.tools.Weaver
 
verifyPausables() - Method in class kilim.analysis.MethodFlow
 
version() - Method in class kilim.http.HttpRequest
 
version() - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror
 
versionRange - Variable in class kilim.http.HttpRequest
 
visit(int, int, String, String, String, String[]) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visit(int, int, String, String, String, String[]) - Method in class kilim.tools.DumpClass
 
visitAnnotation(String, boolean) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitAnnotation(String, boolean) - Method in class kilim.tools.DumpClass
 
visitAttribute(Attribute) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitAttribute(Attribute) - Method in class kilim.tools.DumpClass
 
visitEnd() - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitEnd() - Method in class kilim.tools.DumpClass
 
visitField(int, String, String, String, Object) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitField(int, String, String, String, Object) - Method in class kilim.tools.DumpClass
 
visitFrame(int, int, Object[], int, Object[]) - Method in class kilim.analysis.MethodFlow
 
visitInnerClass(String, String, String, int) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitInnerClass(String, String, String, int) - Method in class kilim.tools.DumpClass
 
visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class kilim.analysis.MethodFlow
 
visitLabel(Label) - Method in class kilim.analysis.MethodFlow
 
visitLineNumber(int, Label) - Method in class kilim.analysis.MethodFlow
 
visitMethod(int, String, String, String, String[]) - Method in class kilim.analysis.ClassFlow
 
visitMethod(int, String, String, String, String[]) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitMethod(int, String, String, String, String[]) - Method in class kilim.tools.DumpClass
 
visitMethodInsn(int, String, String, String, boolean) - Method in class kilim.analysis.MethodFlow
 
visitNestHost(String) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitNestHost(String) - Method in class kilim.tools.DumpClass
 
visitNestMember(String) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitNestMember(String) - Method in class kilim.tools.DumpClass
 
visitOuterClass(String, String, String) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitOuterClass(String, String, String) - Method in class kilim.tools.DumpClass
 
visitSource(String, String) - Method in class kilim.mirrors.CachedClassMirrors.ClassMirror.Visitor
 
visitSource(String, String) - Method in class kilim.tools.DumpClass
 
VolatileBoolean - Class in kilim.concurrent
 
VolatileBoolean() - Constructor for class kilim.concurrent.VolatileBoolean
 
VolatileBoolean(boolean) - Constructor for class kilim.concurrent.VolatileBoolean
 
VolatileLongCell - Class in kilim.concurrent
 
VolatileLongCell() - Constructor for class kilim.concurrent.VolatileLongCell
 
VolatileLongCell(long) - Constructor for class kilim.concurrent.VolatileLongCell
 
VolatileReferenceCell<V> - Class in kilim.concurrent
 
VolatileReferenceCell(V) - Constructor for class kilim.concurrent.VolatileReferenceCell
 
VolatileReferenceCell() - Constructor for class kilim.concurrent.VolatileReferenceCell
 

W

waitIdle(int) - Method in class kilim.AffineScheduler
 
waitIdle(int) - Method in class kilim.ForkJoinScheduler
 
wake() - Method in class kilim.nio.NioSelectorScheduler.RegistrationTask
 
WatchdogTask(long) - Constructor for class kilim.timerservice.TimerService.WatchdogTask
 
weakCompareAndSet(V, V) - Method in class kilim.concurrent.VolatileReferenceCell
 
weave() - Method in class kilim.analysis.ClassWeaver
 
weave(InputStream) - Method in class kilim.tools.Weaver
 
weave(List<ClassInfo>) - Method in class kilim.tools.Weaver
Analyzes the list of supplied classes and inserts Kilim-related bytecode if necessary.
weaveClass(String) - Method in class kilim.WeavingClassLoader
load the bytecode for a class of a given name from the classpath and weave it
weaveFile(String, InputStream) - Method in class kilim.tools.Weaver
 
Weaver - Class in kilim.tools
This class supports both command-line and run time weaving of Kilim bytecode.
Weaver(KilimContext) - Constructor for class kilim.tools.Weaver
 
WeavingClassLoader - Class in kilim
Classloader that loads classes from the classpath spec given by the system property "kilim.class.path" and weaves them dynamically.
WeavingClassLoader() - Constructor for class kilim.WeavingClassLoader
 
WeavingClassLoader(ClassLoader, URLClassLoader) - Constructor for class kilim.WeavingClassLoader
 
WeavingClassLoader.Excludable - Interface in kilim
 
WOVEN_FIELD - Static variable in interface kilim.Constants
 
write(int) - Method in class kilim.analysis.Usage
 
write(ByteBuffer) - Method in class kilim.nio.EndPoint
Write buf.remaining() bytes to dataChannel().
write(FileChannel, long, long) - Method in class kilim.nio.EndPoint
Write a file to the endpoint using FileChannel.transferTo(long, long, java.nio.channels.WritableByteChannel)
writeClass(ClassInfo) - Static method in class kilim.tools.Weaver
 
writeHeader(OutputStream) - Method in class kilim.http.HttpResponse
 
writeTo(EndPoint) - Method in class kilim.http.HttpResponse
 
wrongPC() - Method in class kilim.Fiber
 

X

X1() - Constructor for class kilim.examples.Xorshift.X1
 
X2() - Constructor for class kilim.examples.Xorshift.X2
 
Xorshift - Class in kilim.examples
a demo and benchmark of kilim generators used to implement the xorshift PRNG runs xorshift a number of cycles, printing the nanos per cycle and the xor of the result the value is printed just to ensure that the JIT actually runs all the code https://en.wikipedia.org/wiki/Xorshift#xorshift.2B with modes to run the same algorithm as a Generator and as a raw Continuation (the default)
Xorshift() - Constructor for class kilim.examples.Xorshift
 
Xorshift.X1 - Class in kilim.examples
 
Xorshift.X2 - Class in kilim.examples
 

Y

yield() - Static method in class kilim.Fiber
yield cooperatively to the next task waiting to use the thread
yield(Fiber) - Static method in class kilim.Fiber
yield cooperatively to the next task waiting to use the thread
yield(T) - Method in class kilim.Generator
 
yield() - Static method in class kilim.Task
Yield cooperatively to the next task waiting to use the thread.
yield(Fiber) - Static method in class kilim.Task
 
YieldReason - Class in kilim
 
YieldReason() - Constructor for class kilim.YieldReason
 

_

_val - Variable in class kilim.examples.Tree
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y _ 
Skip navigation links