Jtreg : Error: failed to get JDK properties

Bysani, Keerthana bysanik at amazon.com
Wed May 24 21:26:03 UTC 2017


Hi,

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" hotspot/test/compiler/c2

Where RtGC is the custom GC.

I get the following error:
Error: failed to get JDK properties for /home/test/openjdk9/build/linux-x86_64-normal-server-slowdebug/images/jdk/bin/java -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.


Thanks


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20170524/52d71ef9/attachment-0001.html>


More information about the jtreg-use mailing list