CJRE for certain platforms can be configured with a 'dump tool' support that allows for additional runtime information to be generated by JRE. This information can be used in analyzing memory leaks, thread execution, memory allocation, etc. Here, we present a short guide to obtaining and using dump data for analysis of Java application. Installation.
Setting up JREs.
Generating dump information.The creation of dump files can be requested explicitly by the user by sending a SIGQUIT signal (% kill -3 $PID) to the JRE. Depending on the settings of environment variables, JRE may generate dump files when OutOfMemoryError is encounterd by the Java application. As part of the dump information, the following files are generated:
Additionally, when JRE encounters SIGSEGV, SIGILL or SIGFPE conditions, it will generate an additional system core file, suitable for examination under native debugger (e.g. gdb)
|