Class DevUtils
java.lang.Object
org.archive.util.DevUtils
Write a message and stack trace to the 'org.archive.util.DevUtils' logger.
- Version:
- $Revision$ $Date$
- Author:
- gojomo
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic voidSend this JVM process a SIGQUIT; giving a thread dump and possibly a heap histogram (if using -XX:+PrintClassHistogram).static voidwarnHandle(Throwable ex, String note) Log a warning message to the logger 'org.archive.util.DevUtils' made of the passed 'note' and a stack trace based off passed exception.
-
Field Details
-
logger
-
-
Constructor Details
-
DevUtils
public DevUtils()
-
-
Method Details
-
warnHandle
-
extraInfo
- Returns:
- Extra information gotten from current Thread. May not always be available in which case we return empty string.
-
sigquitSelf
public static void sigquitSelf()Send this JVM process a SIGQUIT; giving a thread dump and possibly a heap histogram (if using -XX:+PrintClassHistogram). Used to automatically dump info, for example when a serious error is encountered. Would use 'jmap'/'jstack', but have seen JVM lockups -- perhaps due to lost thread wake signals -- when using those against Sun 1.5.0+03 64bit JVM.
-