public static synchronized void dprint(java.lang.Object caller, String msg, Throwable t) {
    System.out.println(
        compressClassName(caller.getClass().getName())
            + '('
            + Thread.currentThread()
            + "): "
            + msg);

    if (t != null) printStackTrace(t.getStackTrace());
  }
  public static synchronized void dprintTrace(Object obj, String msg) {
    ORBUtility.dprint(obj, msg);

    Throwable thr = new Throwable();
    printStackTrace(thr.getStackTrace());
  }