[11] RFR(XS) 8202505) ctw2 tasks are timing out in hs-tier3

Igor Ignatyev igor.ignatyev at oracle.com
Wed May 2 01:11:56 UTC 2018


I'd prefer to problem-list java_desktop tests on windows instead of using '@requires'.

Thanks,
-- Igor

> On May 1, 2018, at 5:29 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:
> 
> http://java.se.oracle.com:10065/mdash/jobs/vkozlov-8202505_00-20180501-2323-20687
> 
> When CompileTheWorld does compilation classes are loaded and may be initialized. Most <clinit> are side effect free. Except AWT classes which try to interact with system and may hang if classes initializers are not executed in expected order. We had this problem CTW + AWT long before.
> 
> Suggested fix is not to run CTW java_desktop.java tests on Windows:
> 
> diff -r 2ace90aec488 test/hotspot/jtreg/applications/ctw/modules/java_desktop.java
> --- a/test/hotspot/jtreg/applications/ctw/modules/java_desktop.java
> +++ b/test/hotspot/jtreg/applications/ctw/modules/java_desktop.java
> @@ -25,6 +25,9 @@
>  * @test
>  * @summary run CTW for some classes from java.desktop module
>  *
> + * @comment On Windows test hangs when it try to initialize AWT classes.
> + * @requires os.family != "windows"
> + *
>  * @library /test/lib / /testlibrary/ctw/src
>  * @modules java.base/jdk.internal.jimage
>  *          java.base/jdk.internal.misc
> diff -r 2ace90aec488 test/hotspot/jtreg/applications/ctw/modules/java_desktop_2.java
> --- a/test/hotspot/jtreg/applications/ctw/modules/java_desktop_2.java
> +++ b/test/hotspot/jtreg/applications/ctw/modules/java_desktop_2.java
> @@ -25,6 +25,9 @@
>  * @test
>  * @summary run CTW for some classes from java.desktop module
>  *
> + * @comment On Windows test hangs when it try to initialize AWT classes.
> + * @requires os.family != "windows"
> + *
>  * @library /test/lib / /testlibrary/ctw/src
>  * @modules java.base/jdk.internal.jimage
>  *          java.base/jdk.internal.misc
> 
> 
> -- 
> Thanks,
> Vladimir



More information about the hotspot-dev mailing list