|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.instrumentors.record.CompactSynchronizedBlockStrategy
public class CompactSynchronizedBlockStrategy
Instrumentor for synchronized blocks, using the compact sync point list.
A synchronized block like synchronized(o) { abc(); } gets translated into
synchronized(o) { SyncPointBuffer.compactAdd(SP_MONITORENTER,tid); abc();
SyncPointBuffer.compactAdd(SP_MONITOREXIT,tid); }
| Constructor Summary | |
|---|---|
CompactSynchronizedBlockStrategy()
|
|
| Method Summary | |
|---|---|
void |
done()
Instrumentation of all classes is done. |
void |
instrument(ClassFile cf)
Instrument the class. |
static boolean |
isClassInstrumentable(java.lang.String className)
Return true if the class specified by the class name can be instrumented with the synchronized block instrumentor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompactSynchronizedBlockStrategy()
| Method Detail |
|---|
public void instrument(ClassFile cf)
instrument in interface IInstrumentationStrategycf - class file infopublic static boolean isClassInstrumentable(java.lang.String className)
className - name of the class
public void done()
done in interface IInstrumentationStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||