Jtreg : Error: failed to get JDK properties
david.holmes at oracle.com
Thu May 25 07:54:15 UTC 2017
On 25/05/2017 7:26 AM, Bysani, Keerthana wrote:
> I was trying to execute some regression tests for OpenJDK9 using jtreg
> for a custom garbage collector.
> Following is the command I executed:
> $jtreg -agentvm -verbose:all -jdk:$JT_JAVA -w build/jtreg/work -r
> build/jtreg/report -javaoptions:"-XX:+UseRtGC -XX:-UseCompressedOops"
Can you successfully run:
java -XX:+UseRtGC -XX:-UseCompressedOops -version
Can you run a program that gets and prints the system properties?
The error suggests the VM is failing to run.
> Where RtGC is the custom GC.
> I get the following error:
> Error: failed to get JDK properties for
> -XX:+UseRtGC -XX:-UseCompressedOops; exit code 134
> Has anyone encountered the same issue?
> The command works fine if I use SerialGC instead of RtGC.
> It is an issue with jtreg.
More information about the jtreg-use