Oracle Account Manage your account and access personalized binary option signals trial and error. Cloud Account Access your cloud dashboard, manage orders, and more. Appendix B Command-Line Options This section describes some command line options that can be useful in diagnosing problems.
Many of these options are important for performance tuning and diagnostic purposes, and are therefore described in this appendix. All the -XX options are described here. For the complete list of these flags, use the MBeans tab of the JConsole utility. You can also specify this option at runtime with the MBeans tab in the jconsole utility. The heap dump is in HPROF binary format, and so it can be analyzed using any tools that can import this format.
For example, the jhat tool can be used to do rudimentary analysis of the dump. The following example shows the result of running out of memory with this flag set. Heap dump file created Exception in thread “main” java. By default the heap dump is created in a file called java_pid pid .
VM, as in the example above. On Solaris OS the pmap command displays information about the address space of a process. In the following example, the gcore command is executed to create the core image, and the debugger is started to attach to the process. 4 Collecting Crash Dumps on Windows for other details. 4 Collecting Crash Dumps on Windows for further details.
The above example assumes that the path to the userdump. 1026 Do you want to debug the problem? On Solaris OS the message is similar to the above except that the user is prompted to start the dbx debugger. On Windows a message box is displayed.
If the user presses the YES button, the VM will attempt to start the default debugger. If the debugger is launched, one of the initial steps in the debugger might be to select the thread and obtain its stack trace. As the process is waiting for a response it is possible to use other tools to obtain a crash dump or query the state of the process. On Solaris OS, for example, a core dump can be obtained using the gcore utility. Watson crash dump can be obtained using the userdump or windbg programs. The windbg program is included in Microsoft’s Debugging Tools for Windows. 4 Collecting Crash Dumps on Windows for further information on windbg and the link to the download location.
5 Other -XX Options Several other -XX command-line options can be useful in troubleshooting. 3 Collecting Data for a Bug Report. 1 Signal Handling on Solaris OS and Linux. 2 Other Command-Line Options In addition to the -XX options, many other command-line options can provide troubleshooting information.