Package: openjdk-11-jdk Version: 11~28-3 Severity: important HOW TO REPRODUCE
# java -XX:StartFlightRecording=disk=true,dumponexit=true,filename=/tmp/test.jfr -version Could not parse setting default Error occurred during initialization of VM Failure when starting JFR on_vm_start The problem is caused by missing JFC files from the OpenJDK installation. Another JDK installation which I created form the official tarball has the following files: # ls -l /opt/jdk-11/lib/jfr/ total 56 -rw-r--r-- 1 668 668 28012 Aug 23 03:57 default.jfc -rw-r--r-- 1 668 668 27963 Aug 23 03:57 profile.jfc On the other hand, that one I'm having the problem with does even have the JFR folder # ls -l /usr/lib/jvm/java-11-openjdk-amd64/lib/jfr ls: cannot access '/usr/lib/jvm/java-11-openjdk-amd64/lib/jfr': No such file or directory WORKAROUND # wget https://hg.openjdk.java.net/jdk/jdk11/raw-file/76072a077ee1/src/jdk.jfr/share/conf/jfr/default.jfc -O /usr/lib/jvm/java-11-openjdk-amd64/lib/jfr/default.jfc # wget https://hg.openjdk.java.net/jdk/jdk11/raw-file/76072a077ee1/src/jdk.jfr/share/conf/jfr/profile.jfc -O /usr/lib/jvm/java-11-openjdk-amd64/lib/jfr/profile.jfc # java -XX:StartFlightRecording=disk=true,dumponexit=true,filename=/tmp/test.jfr -version Started recording 1. No limit specified, using maxsize=250MB as default. Use jcmd 5335 JFR.dump name=1 to copy recording data to file. openjdk version "11" 2018-09-25 OpenJDK Runtime Environment (build 11+28-Debian-3) OpenJDK 64-Bit Server VM (build 11+28-Debian-3, mixed mode, sharing) ENVIRONMENT This is an environment created from the offical openjdk:11 docker image. https://github.com/docker-library/openjdk/blob/2e23069b35737d02166d86d25088a02330a7ac96/11/jdk/Dockerfile # cat /etc/debian_version buster/sid # uname -a Linux a63012ddde42 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 GNU/Linux

