Class OutOfMemoryReason
java.lang.Object
soot.jimple.infoflow.memory.reasons.OutOfMemoryReason
- All Implemented Interfaces:
ISolverTerminationReason
Reason for terminating a data flow solver that has run out of memory
- Author:
- Steven Arzt
-
Constructor Summary
ConstructorsConstructorDescriptionOutOfMemoryReason(long currentMemory) Creates a new instance of theOutOfMemoryReasonclass -
Method Summary
Modifier and TypeMethodDescriptioncombine(ISolverTerminationReason terminationReason) Combines this termination reason with the given onebooleanlonginthashCode()
-
Constructor Details
-
OutOfMemoryReason
public OutOfMemoryReason(long currentMemory) Creates a new instance of theOutOfMemoryReasonclass- Parameters:
currentMemory- The amount of memory that is currently in use
-
-
Method Details
-
getCurrentMemory
public long getCurrentMemory() -
hashCode
public int hashCode() -
equals
-
combine
Description copied from interface:ISolverTerminationReasonCombines this termination reason with the given one- Specified by:
combinein interfaceISolverTerminationReason- Parameters:
terminationReason- The reason to combine this one with- Returns:
- A combined termination reason that models the current reason as well as the given one, i.e., the fact that the solver was terminated for multiple reasons
-