public int getMaxStack() {
    return stack.length;
  }
Gets the maximum stack size for this instance.

@return {@code >= 0;} the max stack size
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/ExecutionStack.java