jhsdb supports pmap (jhsdb jmap) and pstack (jhsdb jstack --mixed), and they 
work fine if they attach to live process or to coredump, however they do not 
work on debug server as following:

$ jhsdb jmap --connect localhost
Attaching to remote server localhost, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 11.0.10+9
remote configuration is not yet implemented

pmap and pstack depend on CDebugger in SA, however it would not be set in case 
of remote debugger client. We can avoid it if we can delegate the process to 
debug server.

-------------

Commit messages:
 - 8263670: pmap and pstack in jhsdb do not work on debug server

Changes: https://git.openjdk.java.net/jdk/pull/3027/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3027&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263670
  Stats: 159 lines in 7 files changed: 141 ins; 4 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3027.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3027/head:pull/3027

PR: https://git.openjdk.java.net/jdk/pull/3027

Reply via email to