$ bash configure --with-jvm-variants='minimal'
$ cd build/linux-x64
$ make images
# make test would fail (JDK-8251385), so let's execute the test by hand:
$ cd $repo_root/opem/test
$ env JAVA_HOME=/home/iklam/jdk/official/jdk14 \
/home/iklam/jdk/tools/jtreg/5.1-b01/bin/jtreg \
-testjdk:$repo_root/build/linux-x64/images/jdk \
-verbose:2 -timeout:4.0 \
-agentvm \
-nr -w /home/iklam/tmp/jtreg/work -r /home/iklam/tmp/jtreg/report/ \
./hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeak.java
runner starting test: serviceability/jvmti/RedefineClasses/RedefineLeak.java
runner finished test: serviceability/jvmti/RedefineClasses/RedefineLeak.java
Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'transformCount:10000' missing from stdout/stderr
Test results: failed: 1
[from RedefineLeak.jtr]
----------System.out:(4/673)----------
Command line: [/jdk2/jem/build/linux-x64/images/jdk/bin/java -cp /jdk2/tmp/jtreg/work/classes/serviceability/jvmti/RedefineClasses/RedefineLeak.d:/jdk2/jem/open/test/hotspot/jtreg/serviceability/jvmti/RedefineClasses:/jdk2/tmp/jtreg/work/classes/test/lib:/jdk2/jem/open/test/lib:/jdk/tools/jtreg/5.1-b01/lib/javatest.jar:/jdk/tools/jtreg/5.1-b01/lib/jtreg.jar -XX:MetaspaceSize=12m -XX:MaxMetaspaceSize=12m -javaagent:redefineagent.jar RedefineLeak ]
[2020-08-11T06:44:32.058319761Z] Gathering output for process 7372
[2020-08-11T06:44:32.094908225Z] Waiting for completion for process 7372
[2020-08-11T06:44:32.095052361Z] Waiting for completion finished for process 7372
----------System.err:(23/1172)----------
stdout: [];
stderr: [Instrumentation agents are not supported in this VM
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1
$ cd build/linux-x64
$ make images
# make test would fail (
$ cd $repo_root/opem/test
$ env JAVA_HOME=/home/iklam/jdk/official/jdk14 \
/home/iklam/jdk/tools/jtreg/5.1-b01/bin/jtreg \
-testjdk:$repo_root/build/linux-x64/images/jdk \
-verbose:2 -timeout:4.0 \
-agentvm \
-nr -w /home/iklam/tmp/jtreg/work -r /home/iklam/tmp/jtreg/report/ \
./hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeak.java
runner starting test: serviceability/jvmti/RedefineClasses/RedefineLeak.java
runner finished test: serviceability/jvmti/RedefineClasses/RedefineLeak.java
Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'transformCount:10000' missing from stdout/stderr
Test results: failed: 1
[from RedefineLeak.jtr]
----------System.out:(4/673)----------
Command line: [/jdk2/jem/build/linux-x64/images/jdk/bin/java -cp /jdk2/tmp/jtreg/work/classes/serviceability/jvmti/RedefineClasses/RedefineLeak.d:/jdk2/jem/open/test/hotspot/jtreg/serviceability/jvmti/RedefineClasses:/jdk2/tmp/jtreg/work/classes/test/lib:/jdk2/jem/open/test/lib:/jdk/tools/jtreg/5.1-b01/lib/javatest.jar:/jdk/tools/jtreg/5.1-b01/lib/jtreg.jar -XX:MetaspaceSize=12m -XX:MaxMetaspaceSize=12m -javaagent:redefineagent.jar RedefineLeak ]
[2020-08-11T06:44:32.058319761Z] Gathering output for process 7372
[2020-08-11T06:44:32.094908225Z] Waiting for completion for process 7372
[2020-08-11T06:44:32.095052361Z] Waiting for completion finished for process 7372
----------System.err:(23/1172)----------
stdout: [];
stderr: [Instrumentation agents are not supported in this VM
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1