|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.rice.cs.cunit.instrumentors.util.AInsertAtOpcodeStrategy
edu.rice.cs.cunit.instrumentors.record.CompactRecordBufferCodeStrategy
edu.rice.cs.cunit.instrumentors.record.CompactRecordThreadExitStrategy
public class CompactRecordThreadExitStrategy
Instrumentation strategy that adds code to java.lang.Thread.exit to call SyncPointBuffer.compactAdd.
| Field Summary |
|---|
| Fields inherited from class edu.rice.cs.cunit.instrumentors.record.CompactRecordBufferCodeStrategy |
|---|
_code |
| Fields inherited from class edu.rice.cs.cunit.instrumentors.util.AInsertAtOpcodeStrategy |
|---|
_afterOpcodePredicate, _beforeOpcodePredicate, _classPredicate, _methodPredicate, OPCODE_NEVER |
| Constructor Summary | |
|---|---|
CompactRecordThreadExitStrategy()
Create a new strategy. |
|
| Method Summary | |
|---|---|
boolean |
insertEndOfMethod(ClassFile cf,
MethodInfo mi,
InstructionList il,
boolean insertBefore,
boolean insertAfter)
Insert instructions at the end of the method. |
| Methods inherited from class edu.rice.cs.cunit.instrumentors.record.CompactRecordBufferCodeStrategy |
|---|
insertInstructionsAfter, insertInstructionsBefore, modifyStackAndLocals |
| Methods inherited from class edu.rice.cs.cunit.instrumentors.util.AInsertAtOpcodeStrategy |
|---|
done, instrument |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompactRecordThreadExitStrategy()
| Method Detail |
|---|
public boolean insertEndOfMethod(ClassFile cf,
MethodInfo mi,
InstructionList il,
boolean insertBefore,
boolean insertAfter)
insertEndOfMethod in class CompactRecordBufferCodeStrategycf - class filemi - method informationil - instruction listinsertBefore - true if code was inserted before an opcodeinsertAfter - true if code was inserted after an opcode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||