On Tue, 16 Mar 2021 12:01:30 GMT, Yasumasa Suenaga <ysuen...@openjdk.org> wrote:

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

test/hotspot/jtreg/serviceability/sa/sadebugd/PmapOnDebugdTest.java line 36:

> 34:  * @bug 8263670
> 35:  * @requires vm.hasSA
> 36:  * @requires os.family != "windows"

You exclude windows but you check for "dylib" below.

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

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

Reply via email to