public final class CollectorThread extends SystemThread
Modifier and Type | Field and Description |
---|---|
private static int |
nextId
Next collector thread id.
|
private ScanThread |
threadScanner
used by collector threads to hold state during stack scanning
|
rvmThread
Constructor and Description |
---|
CollectorThread(byte[] stack,
CollectorContext context) |
Modifier and Type | Method and Description |
---|---|
ScanThread |
getThreadScanner() |
void |
run()
Collection entry point.
|
getRVMThread, start, stop
private final ScanThread threadScanner
private static int nextId
public CollectorThread(byte[] stack, CollectorContext context)
stack
- The stack this thread will run oncontext
- the context that will provide the thread's
functionalitypublic ScanThread getThreadScanner()
public void run()
run
in class SystemThread