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

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed May 2 02:52:15 UTC 2018


Testing passed. Here are changes:

diff -r 2ace90aec488 test/hotspot/jtreg/ProblemList.txt
--- a/test/hotspot/jtreg/ProblemList.txt
+++ b/test/hotspot/jtreg/ProblemList.txt
@@ -52,6 +52,7 @@
  compiler/c2/Test8007294.java 8192992 generic-all

  applications/ctw/modules/java_desktop.java 8189604 windows-all
+applications/ctw/modules/java_desktop_2.java 8189604 windows-all
  applications/ctw/modules/jdk_jconsole.java 8189604 windows-all

 
#############################################################################


On 5/1/18 6:31 PM, Vladimir Kozlov wrote:
> Got it. Thank you! I will do as you suggested. Will resend RFR after 
> testing.
> 
> Thanks,
> Vladimir
> 
> On 5/1/18 6:27 PM, Igor Ignatyev wrote:
>> adding tests problem list excludes them from running in all test 
>> executions thru make, which includes all regular test executions.
>>
>> Thanks,
>> -- Igor
>>
>>> On May 1, 2018, at 6:22 PM, Vladimir Kozlov 
>>> <vladimir.kozlov at oracle.com> wrote:
>>>
>>> I am okay with blacklisting them. But it is not enough to prevent 
>>> running them as part of :ctw_2 group. Any idea how to fix that 
>>> without @requires?
>>>
>>> Thanks,
>>> Vladimir
>>>
>>> On 5/1/18 6:14 PM, Igor Ignatyev wrote:
>>>> actually,  java_desktop is already problem-listed due to 8189604 
>>>> "possible hang in 
>>>> sun.awt.shell.Win32ShellFolder2$KnownFolderDefinition::<clinit>":
>>>>> applications/ctw/modules/java_desktop.java 8189604 windows-all
>>>>> applications/ctw/modules/jdk_jconsole.java 8189604 windows-all
>>>> we just need to add a line for java_desktop_2.java.
>>>> Thanks,
>>>> -- Igor
>>>>> On May 1, 2018, at 6:11 PM, Igor Ignatyev 
>>>>> <igor.ignatyev at oracle.com> wrote:
>>>>>
>>>>> 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