code: @NullSafe
    public static void dumpStack(String tag) {
      Thread currentThread = Thread.currentThread();
      System.err.printf("%1$s - %2$s Thread @ %3$d%n", String.valueOf(tag).toUpperCase(), currentThread.getName(),
        currentThread.getId());
      Thread.dumpStack();
    }
docs: Null-safe operation to dump the (call) stack of the current Thread.
  
  @param tag a String labeling the stack dump of the current Thread.
  @see java.lang.Thread#dumpStack()