- java.lang.Object
-
- com.ibm.j9ddr.vm29.j9.stackmap.LocalMap
-
public class LocalMap extends Object
Provides subset of function in stackmap/localmap.c
-
-
Field Summary
Fields Modifier and Type Field Description static int
DOUBLE_ACCESS
static int
ENCODED_INDEX
static int
ENCODED_MASK
static int
INT
static int
NOT_FOUND
static int
OBJ
static int
OBJECT_ACCESS
static int
SINGLE_ACCESS
static int
WALKED
static int
WIDE_INDEX
static int
WRITE_ACCESS
-
Constructor Summary
Constructors Constructor Description LocalMap()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
ENCODED_INDEX
public static final int ENCODED_INDEX
- See Also:
- Constant Field Values
-
ENCODED_MASK
public static final int ENCODED_MASK
- See Also:
- Constant Field Values
-
WIDE_INDEX
public static final int WIDE_INDEX
- See Also:
- Constant Field Values
-
DOUBLE_ACCESS
public static final int DOUBLE_ACCESS
- See Also:
- Constant Field Values
-
SINGLE_ACCESS
public static final int SINGLE_ACCESS
- See Also:
- Constant Field Values
-
OBJECT_ACCESS
public static final int OBJECT_ACCESS
- See Also:
- Constant Field Values
-
WRITE_ACCESS
public static final int WRITE_ACCESS
- See Also:
- Constant Field Values
-
INT
public static final int INT
- See Also:
- Constant Field Values
-
OBJ
public static final int OBJ
- See Also:
- Constant Field Values
-
NOT_FOUND
public static final int NOT_FOUND
- See Also:
- Constant Field Values
-
WALKED
public static final int WALKED
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-