RFR: 8263670: pmap and pstack in jhsdb do not work on debug server [v2]

Yasumasa Suenaga ysuenaga at openjdk.java.net
Thu Mar 18 05:17:10 UTC 2021


> 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.

Yasumasa Suenaga has updated the pull request incrementally with one additional commit since the last revision:

  Update testcases

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3027/files
  - new: https://git.openjdk.java.net/jdk/pull/3027/files/e00d9788..57149ae1

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3027&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3027&range=00-01

  Stats: 56 lines in 4 files changed: 16 ins; 33 del; 7 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


More information about the serviceability-dev mailing list