Uses of Class
org.jboss.byteman.agent.adapter.cfg.CodeLocation
-
Packages that use CodeLocation Package Description org.jboss.byteman.agent.adapter.cfg -
-
Uses of CodeLocation in org.jboss.byteman.agent.adapter.cfg
Fields in org.jboss.byteman.agent.adapter.cfg with type parameters of type CodeLocation Modifier and Type Field Description private java.util.Map<CodeLocation,CodeLocation>CFG. inverseMonitorPairsan inverse map from each monitor exit instruction to the monitor enter insructions it closes.private java.util.Map<CodeLocation,CodeLocation>CFG. inverseMonitorPairsan inverse map from each monitor exit instruction to the monitor enter insructions it closes.private java.util.Map<org.objectweb.asm.Label,CodeLocation>CFG. labelLocationsa mapping from each label to its enclosing basic block and instruction offsetprivate java.util.LinkedList<CodeLocation>BBlock. monitorEntersa 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 java.util.LinkedList<CodeLocation>BBlock. monitorExitsa list of the location of all monitor exit instructions contained in this blockprivate java.util.Map<CodeLocation,java.util.List<CodeLocation>>CFG. monitorPairsa map from monitor enter instructions to the monitor exit insructions which close them.private java.util.Map<CodeLocation,java.util.List<CodeLocation>>CFG. monitorPairsa map from monitor enter instructions to the monitor exit insructions which close them.private java.util.List<CodeLocation>TryCatchDetails. openEntersa 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 java.util.Map<org.objectweb.asm.Label,java.util.List<CodeLocation>>CFG. openMonitorEntersa 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 CodeLocation Modifier and Type Method Description CodeLocationCFG. getLocation(org.objectweb.asm.Label label)return the location of the label if known or null if it has not yet been reached.CodeLocationCFG. getPairedEnter(CodeLocation exit)locate the monitor enter instruction associated with a given monitor exitprivate CodeLocationCFG. getPairedExit(CodeLocation enter, BBlock block)locate a monitor exit instruction in block associated with a given monitor enterCodeLocationCFG. nextLocation()return a location which will identify the next instruction added to the current blockCodeLocationCFG. 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 CodeLocation Modifier and Type Method Description private java.util.List<CodeLocation>CFG. currentOpenEnters(boolean dumpOk)return a list of all open monitorenters with no corresponding monitorexit on a path to the current instructionjava.util.Iterator<CodeLocation>BBlock. getMonitorEnters()retrieve a list of all monitor enter instruction locations occurring in this blockjava.util.Iterator<CodeLocation>BBlock. getMonitorExits()retrieve a list of all monitor exit instruction locations occurring in this blockjava.util.Iterator<CodeLocation>TryCatchDetails. getOpenEnters()java.util.List<CodeLocation>CFG. getOpenMonitorEnters(BBlock block)retrieve the list of monitor enter locations open at the start of a given blockjava.util.List<CodeLocation>CFG. getOpenMonitorEnters(org.objectweb.asm.Label label)retrieve the list of monitor enter locations open at the start of a given blockjava.util.Iterator<CodeLocation>CFG. 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 CodeLocation Modifier and Type Method Description (package private) voidCFG. addMonitorPair(CodeLocation enter, CodeLocation exit)pair a monitor enter instruction with an associated monitor exit instructionsvoidTryCatchDetails. addOpenEnter(CodeLocation openEnter)add a new monitor enter location to the list of open locations associated with this handler maintaining the reverse position orderingintCodeLocation. compareTo(CodeLocation loc)private intCFG. 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 blockbooleanTryCatchDetails. containsOpenEnter(CodeLocation openEnter)check if a monitor enter location belongs to the list of open locations associated with this handlerCodeLocationCFG. getPairedEnter(CodeLocation exit)locate the monitor enter instruction associated with a given monitor exitprivate CodeLocationCFG. getPairedExit(CodeLocation enter, BBlock block)locate a monitor exit instruction in block associated with a given monitor enterintCFG. getSavedMonitorIdx(CodeLocation open)return the index of the local var at which this monitorenter saved its lock objectprivate booleanCFG. 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 CodeLocation Modifier and Type Method Description voidTryCatchDetails. addOpenLocations(java.util.List<CodeLocation> openMonitorEnters)add all the open locations associated with this handler to the supplied list of open locations maintaining the reverse position ordering
-