RFR(XS) : 8141557 : TestResolvedJavaMethod.java times out after 1000 ms

Igor Ignatyev igor.ignatyev at oracle.com
Tue Jan 19 21:06:25 UTC 2016

> 22 lines changed: 16 ins; 0 del; 6 mod; 

Hi all,

Could you please review the fix for 8141557?

The test uses timeout value of org.junit.Test to test reading annotation via JVMCI. In some cases, e.g. on embedded platforms, debug builds or w/ extra vm flags like -Xcomp, 1000ms isn’t enough for the test to complete, and since jtreg doesn’t apply timeout factor for junit/testng timeouts (CODETOOLS-7901567) the test timeouts despite the fact of increased timeout factor.

The fix changes the test to use a separate annotation, which doesn’t affect test execution, and remove timeout value (which means no timeout).

JBS: https://bugs.openjdk.java.net/browse/JDK-8141557
testing: locally


More information about the hotspot-compiler-dev mailing list