- 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
-
- 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.
- 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_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
-
- 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
-
- 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
-
- 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
-
- 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.
- 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
-