private static String getFilteredStackTrace() {
    StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
    StringBuilder sb = new StringBuilder();
    for (StackTraceElement element : stackTrace) {
      String className = element.getClassName();
      if (className.startsWith("org.apache.ambari") && !className.startsWith("org.apache.ambari.server.logging")) {
        sb.append(className)
          .append("#").append(element.getMethodName())
          .append("(").append(element.getFileName())
          .append(":").append(element.getLineNumber())
          .append(");\t");
      }
    }
    return sb.toString();
  }
Should be called by the lock to indicate that the lock was unlocked.  For reentrant locks this may or may not
mean the lock was actually released.
ambari-server/src/main/java/org/apache/ambari/server/logging/LockProfileDelegate.java