class CodePatchSyncRequestVisitor extends RVMThread.SoftHandshakeVisitor
Garbage collection threads are exempt from the need to respond to soft handshakes in the current implementation. This is safe because garbage collection threads will never be executing code that is subject to code patching. (We don't allow speculative optimization of uninterruptible code).
Constructor and Description |
---|
CodePatchSyncRequestVisitor() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkAndSignal(RVMThread t)
Signals the given thread to sync for code patching.
|
includeThread, notifyStuckInNative
CodePatchSyncRequestVisitor()
public boolean checkAndSignal(RVMThread t)
checkAndSignal
in class RVMThread.SoftHandshakeVisitor
t
- the thread that will be processedtrue
because this visitor is interested in all
mutator threads