Propagate the concept of "packed opcode" values.
Dalvik now exposes a distinction between "packed" and regular opcode values. The packed values are more densely defined in the range 0-0x1ff, whereas the regular values are sparsely defined across the range 0-0xffff. The only current use for packed values at this level is in opcode usage reporting, but their use may expand over time. Change-Id: Ie783b90cb2dcb9df8f3eb19a7c708a53906fdbe4
This commit is contained in:
@@ -866,7 +866,8 @@ href="{@docRoot}guide/developing/tools/traceview.html">Traceview: A Graphical Lo
|
||||
* </pre>
|
||||
*/
|
||||
public static class InstructionCount {
|
||||
private static final int NUM_INSTR = OpcodeInfo.MAXIMUM_VALUE + 1;
|
||||
private static final int NUM_INSTR =
|
||||
OpcodeInfo.MAXIMUM_PACKED_VALUE + 1;
|
||||
|
||||
private int[] mCounts;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user