Even if you specify the same path as repositorypath in JFR.configure, a new subdirectory is created every time.
$ ${JAVA_HOME}/bin/jcmd 17535 JFR.configure repositorypath=/tmp
17535:
Repository path: /tmp/2019_01_12_00_28_53_17535
$ ${JAVA_HOME}/bin/jcmd 17535 JFR.configure repositorypath=/tmp
17535:
Repository path: /tmp/2019_01_12_00_29_03_17535
If the same directory is specified, you should not create a new .
$ ${JAVA_HOME}/bin/jcmd 17535 JFR.configure repositorypath=/tmp
17535:
Repository path: /tmp/2019_01_12_00_28_53_17535
$ ${JAVA_HOME}/bin/jcmd 17535 JFR.configure repositorypath=/tmp
17535:
Repository path: /tmp/2019_01_12_00_29_03_17535
If the same directory is specified, you should not create a new .
- relates to
-
JDK-8231317 jdk/jfr/jcmd/TestJcmdConfigure.java fails with "java.lang.RuntimeException: assertTrue: expected true, was false"
-
- Resolved
-