-
Enhancement
-
Resolution: Fixed
-
P3
-
6
-
b67
-
generic, sparc
-
generic, solaris_9
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2173248 | 5.0-pool | Kevin Walls | P4 | Closed | Won't Fix |
The jmap utility currently uses the attach API to implement the -dump option. It might be good to extend jmap so that it uses the same mechanism for -histo (and maybe -heap). This will make the utilities more usable for running applications on Solaris/Linux. Also it means that the options will become available on Windows.
At this time there is little motive to change the -permstat and -finalizerinfo options. If needed, the developer can obtain a heap dump and use jhat/OQL to do more powerful queries. Over time (post-mustang) we can look to update these other options too.
Also, output from jmap options contains a typo.
j2se/src/share/classes/sun/tools/jmap/JMap.java
System.out.println(" jmap [option] [server_id@]<remote server IP or hostname>");
System.out.println(" (to connect to remove debug server)");
remove needs to be remote :)
At this time there is little motive to change the -permstat and -finalizerinfo options. If needed, the developer can obtain a heap dump and use jhat/OQL to do more powerful queries. Over time (post-mustang) we can look to update these other options too.
Also, output from jmap options contains a typo.
j2se/src/share/classes/sun/tools/jmap/JMap.java
System.out.println(" jmap [option] [server_id@]<remote server IP or hostname>");
System.out.println(" (to connect to remove debug server)");
remove needs to be remote :)
- backported by
-
JDK-2173248 Improve jmap -histo (and maybe -heap) for use with running applications
-
- Closed
-
- duplicates
-
JDK-6360345 typo: output from jmap options contains a typo.
-
- Closed
-
- relates to
-
JDK-6306981 Unexpected output from jmap -histo
-
- Closed
-