Class LocalMap
java.lang.Object
com.ibm.j9ddr.vm29.j9.stackmap.LocalMap
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
j9localmap_ArgBitsForPC0
(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod, int[] resultsArray) static int
j9localmap_LocalBitsForPC
(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod, UDATA pc, int[] resultsArray) Builds a map of stack use for supplied ROMmethod.
-
Field Details
-
ENCODED_INDEX
public static final int ENCODED_INDEX- See Also:
-
ENCODED_MASK
public static final int ENCODED_MASK- See Also:
-
WIDE_INDEX
public static final int WIDE_INDEX- See Also:
-
DOUBLE_ACCESS
public static final int DOUBLE_ACCESS- See Also:
-
SINGLE_ACCESS
public static final int SINGLE_ACCESS- See Also:
-
OBJECT_ACCESS
public static final int OBJECT_ACCESS- See Also:
-
WRITE_ACCESS
public static final int WRITE_ACCESS- See Also:
-
INT
public static final int INT- See Also:
-
OBJ
public static final int OBJ- See Also:
-
NOT_FOUND
public static final int NOT_FOUND- See Also:
-
WALKED
public static final int WALKED- See Also:
-
-
Constructor Details
-
LocalMap
public LocalMap()
-
-
Method Details
-
j9localmap_ArgBitsForPC0
public static void j9localmap_ArgBitsForPC0(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod, int[] resultsArray) throws CorruptDataException - Throws:
CorruptDataException
-
j9localmap_LocalBitsForPC
public static int j9localmap_LocalBitsForPC(com.ibm.j9ddr.vm29.pointer.generated.J9ROMMethodPointer romMethod, UDATA pc, int[] resultsArray) throws CorruptDataException Builds a map of stack use for supplied ROMmethod. Used to identify which slots on the stack hold objects.- Parameters:
romMethod
- ROM method under testpc
-resultsArray
- Stack map bit array. One bit per slot.- Returns:
- Less than 0 if there was an error. >=0 on success.
- Throws:
CorruptDataException
-