code: public static void enterFrame(String className) {
          int counter = local.get().incrementAndGet();
          classNames.get().add(className);
          if (counter == MAX_STACK_DEPTH) {
              throw new RuntimeException(STACK_OVERFLOW_MSG + getClassNames());
          }
      }
docs: Increment the counter.
  @param className name of class to enter.