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

Sebastian Lövdahl duke at openjdk.org
Wed Jan 31 10:06:02 UTC 2024


On Wed, 31 Jan 2024 10:01:37 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Thanks! Please make sure that the tests actually ran. If, for example, docker is not installed, they get skipped.

Ah, good point. Running the tests did take some amount of time, so it felt like they did something. And by spamming `docker ps` while the tests are running I could see e.g. this:


$ docker ps
CONTAINER ID   IMAGE                                                          COMMAND                  CREATED         STATUS                  PORTS                                                NAMES
179ff2470b18   jdk-internal:test-containers-docker-TestJFREvents-jfr-events   "/jdk/bin/java -cp /…"   1 second ago    Up Less than a second                                                        stoic_clarke

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

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


More information about the serviceability-dev mailing list