Review request:7197210: java/lang/invoke/CallSiteTest.java failing on armsflt
Alan Bateman
Alan.Bateman at oracle.com
Sun Oct 28 06:59:19 PDT 2012
On 27/10/2012 00:52, Jiangli Zhou wrote:
> Hi Alan,
>
> I tried a few experiments with the makefiles. Looks like
> jdk/make/java/invoke/Makefile is not the right place to set the
> -timeoutFactor option. I'm reluctant to set a large timeoutFactor in
> jdk/test/Makefile. Some of the java.lang.invoke jtreg test take long
> time to run. For example, the test.java.lang.invoke.MethodHandlesTest
> takes about 1.5 hour to run on certain devices. Since there are only
> 3~4 java.lang.invoke tests have the timeout issue and each of them has
> very different execution duration, I'm inclined to set each specific
> timeout value for different test. Please let me know your opinion.
>
> Thanks,
> Jiangli
>
If you are running the tests via the make file then this should work:
make EXTRA_JTREG_OPTIONS=-timeoutFactor:10 jdk_lang
but I see that the Makefile puts its own defaults,
including-timeoutFactor:4, after the options set via
EXTRA_JTREG_OPTIONS. That plus jtreg doesn't allow the -timeoutFactor to
be specified more than once on the command line. Minimally we should fix
the make file so that options specified via EXTRA_JTREG_OPTIONS override
any defaults in the make file.
I think you'll need to check with Christian or John as to whether they
would object to have very high timeouts on these tests. Personally I
think it should be possible to specify a timeout scaling factor when
running the tests rather than having each test specify a /timeout for
the slowest possible machine that the test might run on.
-Alan.
More information about the hotspot-dev
mailing list