Uses of Class
org.jboss.byteman.agent.adapter.cfg.CodeLocation
Packages that use CodeLocation
-
Uses of CodeLocation in org.jboss.byteman.agent.adapter.cfg
Fields in org.jboss.byteman.agent.adapter.cfg with type parameters of type CodeLocationModifier and TypeFieldDescriptionprivate Map
<CodeLocation, CodeLocation> an inverse map from each monitor exit instruction to the monitor enter insructions it closes.private Map
<CodeLocation, CodeLocation> an inverse map from each monitor exit instruction to the monitor enter insructions it closes.private Map
<org.objectweb.asm.Label, CodeLocation> CFG.labelLocations
a mapping from each label to its enclosing basic block and instruction offsetprivate LinkedList
<CodeLocation> BBlock.monitorEnters
a stack (reverse order list) containing the locations of all monitor enter instructions contained in this block excluding those which have been closed by a corresponding exit in this blockprivate LinkedList
<CodeLocation> BBlock.monitorExits
a list of the location of all monitor exit instructions contained in this blockprivate Map
<CodeLocation, List<CodeLocation>> CFG.monitorPairs
a map from monitor enter instructions to the monitor exit insructions which close them.private Map
<CodeLocation, List<CodeLocation>> CFG.monitorPairs
a map from monitor enter instructions to the monitor exit insructions which close them.private List
<CodeLocation> TryCatchDetails.openEnters
a list of monitor enter instructions which are opened within the scope of this try catch block and hence which may require closing in the associated handlerprivate Map
<org.objectweb.asm.Label, List<CodeLocation>> a map from block labels to any unclosed monitor enter instructions outstanding when the block is entered.Methods in org.jboss.byteman.agent.adapter.cfg that return CodeLocationModifier and TypeMethodDescriptionCFG.getLocation
(org.objectweb.asm.Label label) return the location of the label if known or null if it has not yet been reached.CFG.getPairedEnter
(CodeLocation exit) locate the monitor enter instruction associated with a given monitor exitprivate CodeLocation
CFG.getPairedExit
(CodeLocation enter, BBlock block) locate a monitor exit instruction in block associated with a given monitor enterCFG.nextLocation()
return a location which will identify the next instruction added to the current blockCFG.setLocation
(org.objectweb.asm.Label label) set the location of a label to the next instruction offset in the current blockMethods in org.jboss.byteman.agent.adapter.cfg that return types with arguments of type CodeLocationModifier and TypeMethodDescriptionprivate List
<CodeLocation> CFG.currentOpenEnters
(boolean dumpOk) return a list of all open monitorenters with no corresponding monitorexit on a path to the current instructionBBlock.getMonitorEnters()
retrieve a list of all monitor enter instruction locations occurring in this blockBBlock.getMonitorExits()
retrieve a list of all monitor exit instruction locations occurring in this blockTryCatchDetails.getOpenEnters()
CFG.getOpenMonitorEnters
(BBlock block) retrieve the list of monitor enter locations open at the start of a given blockCFG.getOpenMonitorEnters
(org.objectweb.asm.Label label) retrieve the list of monitor enter locations open at the start of a given blockCFG.getOpenMonitors
(TriggerDetails triggerDetails) retrieve the list of monitor enter locations associated with a trigger block.Methods in org.jboss.byteman.agent.adapter.cfg with parameters of type CodeLocationModifier and TypeMethodDescription(package private) void
CFG.addMonitorPair
(CodeLocation enter, CodeLocation exit) pair a monitor enter instruction with an associated monitor exit instructionsvoid
TryCatchDetails.addOpenEnter
(CodeLocation openEnter) add a new monitor enter location to the list of open locations associated with this handler maintaining the reverse position orderingint
CodeLocation.compareTo
(CodeLocation loc) private int
CFG.computeContainment
(CodeLocation tryStart, CodeLocation tryEnd, CodeLocation enter, CodeLocation exit, int flags) compute whether the the region defined by a given enter and exit location pair overlaps or is contained within the region defined by a try start and end location pair when both regions ar erestricted to the current blockboolean
TryCatchDetails.containsOpenEnter
(CodeLocation openEnter) check if a monitor enter location belongs to the list of open locations associated with this handlerCFG.getPairedEnter
(CodeLocation exit) locate the monitor enter instruction associated with a given monitor exitprivate CodeLocation
CFG.getPairedExit
(CodeLocation enter, BBlock block) locate a monitor exit instruction in block associated with a given monitor enterint
CFG.getSavedMonitorIdx
(CodeLocation open) return the index of the local var at which this monitorenter saved its lock objectprivate boolean
CFG.tryStartMayContainEnter
(CodeLocation tryStart, CodeLocation enter) check whether the instructions exposed by a monitor enter may be contained within the scope of a tryStart.Method parameters in org.jboss.byteman.agent.adapter.cfg with type arguments of type CodeLocationModifier and TypeMethodDescriptionvoid
TryCatchDetails.addOpenLocations
(List<CodeLocation> openMonitorEnters) add all the open locations associated with this handler to the supplied list of open locations maintaining the reverse position ordering