RFR: 8307977: jcmd and jstack broken for target processes running with elevated capabilities

Severin Gehwolf sgehwolf at openjdk.org
Tue Jan 30 13:56:41 UTC 2024


On Tue, 30 Jan 2024 10:57:09 GMT, Sebastian Lövdahl <duke at openjdk.org> wrote:

> I have poked around in the JDK sources but not found any tests related to this. Is there some prior art to look at?

Please run container tests, which do some jcmd testing across containers (host system runs `jcmd` and containers have the JVMs): `test/hotspot/jtreg/containers` See [testing.md](https://github.com/openjdk/jdk/blob/master/doc/testing.md#docker-tests) as to how to run them. I'll give this PR a spin as well.

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

PR Comment: https://git.openjdk.org/jdk/pull/17628#issuecomment-1916900904


More information about the serviceability-dev mailing list