To see Log4j initialization logs and log file picked, add as VM argument:
The java.lang.Object has two methods defined in it. They are
- public boolean equals(Object obj)
- public int hashCode().
Getting head dump
1. Use jmap (which is also part of the Sun JDK 6) to dump the heap of a running application to a file using a command line like
jmap -heap <pid>