trouble passing JVM startup options using JTREG
david.holmes at oracle.com
Tue Apr 18 01:34:49 UTC 2017
On 18/04/2017 7:18 AM, Ram Krishnan wrote:
> I have been able to successfully run all the tests in hotspot/test/gc/g1
> using jtreg.
> The only gotcha I am facing is that the JVM startup options specified in
> process builder does not have any effect. I have confirmed this through
> prints in the JVM code base.
Not sure how you are checking this but however you build the
command-line in the test is how it gets executed.
Try editing the test to use -Xlog:gc=debug and see what it outputs.
> For example,
> modifies the "-XX:ConcGCThreads=1", but inside the JVM code to value of
> ConcGCThreads is still zero.
> I am new to jtreg and openjdk and probably missing something obvious.
> Your help would be much appreciated.
> Thanks in advance,
More information about the jtreg-use