I used docker to build a java program, the beginning of the Dockerfile is
FROM openjdk:8-jdk-alpine
but I notice the jvm command jinfo has no -flags
, what is wrong?
bash-4.4# ./jinfo
Usage:
jinfo <option> <pid>
(to connect to a running process)
where <option> is one of:
-flag <name> to print the value of the named VM flag
-flag [+|-]<name> to enable or disable the named VM flag
-flag <name>=<value> to set the named VM flag to the given value
-h | -help to print this help message