|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.specialization.InvokeeThreadLocalContext
public final class InvokeeThreadLocalContext
This class represents a specialization context meaning "the invokee is thread local". We use this context to remove unnecessary synchronizations.
Field Summary | |
---|---|
private static OptimizationPlanElement[] |
optimizationPlan
The default optimization plan. |
private static OptOptions |
options
The default optimization options, with the INVOKEE_THREAD_LOCAL flag set true. |
Constructor Summary | |
---|---|
InvokeeThreadLocalContext()
|
Method Summary | |
---|---|
private SpecializedMethod |
createSpecializedMethod(NormalMethod method)
Create specialized method in this context. |
SpecializedMethod |
findOrCreateSpecializedVersion(NormalMethod source)
Find or create a specialized method in this context. |
static void |
init()
Initialize static members. |
CompiledMethod |
specialCompile(NormalMethod source)
Generate code to specialize a method in this context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static OptOptions options
private static OptimizationPlanElement[] optimizationPlan
Constructor Detail |
---|
public InvokeeThreadLocalContext()
Method Detail |
---|
public SpecializedMethod findOrCreateSpecializedVersion(NormalMethod source)
findOrCreateSpecializedVersion
in interface SpecializationContext
source
- private SpecializedMethod createSpecializedMethod(NormalMethod method)
method
- public CompiledMethod specialCompile(NormalMethod source)
specialCompile
in interface SpecializationContext
source
- public static void init()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |