Version Differences for Dumps From a Java Process

(Dump Table)
(Java 5)
Line 41:
       
  <br/>    <br/> 
- == Java 5 ==      
- There may be different options for each type of Java installed. The commands listed below are known to work with the Java 5 JDK.      
       
- <table border=3 cellspacing=3 cellpadding=3 align=center>      
- <tr>      
- <th>Command</th>      
- <th>Arguments</th>      
- <th>Description</th>      
- </tr>      
- <tr>      
- <td align=center rowspan=3>'''jmap''' ''(Heap Dump)''</td>      
- <td><font face=monospace>process-id#</font></td>      
- <td>Performs shared object mappings on the specified process ID#</td>      
- </tr>      
- <tr>      
- <td><font face=monospace>-heap process-id#</font></td>      
- <td>Performs a heap dump on the specified process ID#</td>      
- </tr>      
- <tr>      
- <td><font face=monospace>-histo process-id#</font></td>      
- <td>Prints the histogram for the specified process ID#</td>      
- </tr>      
- <tr>      
- <td align=center rowspan=1>'''jstack''' ''(Thread Dump)''</td>      
- <td><font face=monospace>-m process-id#</font></td>      
- <td>Prints mixed threads (Java & C++) on a specified process ID#</td>      
- </tr>      
- </table>      
       
  * '''jmap''' - This command will then dump a summary of the current memory map to the console. While not as sophisticated as the later versions of java, it still provides some rudimentary functionality.    * '''jmap''' - This command will then dump a summary of the current memory map to the console. While not as sophisticated as the later versions of java, it still provides some rudimentary functionality.