Re: [oscg-general] OpenJDK 6 build 20 or 21 issue

Actions

From Lussier, Denis Feb 20, 2011 3:20 AM

Hi Stefano,

Lets take this issue off this list.   I am curious to work with you to raise
this problem on the OpenJDK discussion forums and to see how Oracle reacts.

--Luss

On Sun, Feb 20, 2011 at 2:59 AM, Stefano Fratini <
stefano.fratini@yeahpoint.com> wrote:

> Hey I'm not sure either this is an openjdk issue or a windows build
> problem...
>
> At my company we've been using your openjdk 6b20 and now openjdk 6b21 for
> over a year now
>
> We have an interesting problem: If a java app is running and the user logs
> off java *may* prevent windows from logging off. When that happen, from the
> logs we see that all shutdown hooks are executed correctly but then the app
> stalls and java gets to 100% cpu usage. In other words the jawaw.exe process
> doesn't shut down properly and hungs.
>
> Interestingly, if the java application didn't create any window (JWindow or
> JFrame) the java vm always shuts down properly. If it did create a
> JWindow/JFrame and *made it visible* the java vm doesn't shut down properly.
> Always.
>
> If the app calls within itself System.exit(0) or, simply, all threads have
> terminated, the app shuts down normally despite of the presence of
> JWindows/JFrames...
>
> I'm posting this message here as with sun's JRE builds we never encountered
> such issue and it doesn't seem like an openJDK bug but rather a
> build-related problem.
> Moreover I couldn't find anything related at
> https://bugs.openjdk.java.net/ or no one seems to have this problem if you
> google for it
>
> I may be wrong on this point, though. If so, please let me know :)
>
> I'm sure the problem does exist and we have been able (unfortunately) to
> reproduce it hundreds of machines
>
> Tested configurations:
> OS: Win XP SP3 / Win XP SP2
> Memory: from 256mb to 2gb
>
> Thank you in advance!!
>
> Stefano Fratini
>
>
Hi Stefano,<div><br></div><div>Lets take this issue off this list.   I am curious to work with you to raise this problem on the OpenJDK discussion forums and to see how Oracle reacts.</div><div><br></div><div>--Luss<br><br>

<div class="gmail_quote">On Sun, Feb 20, 2011 at 2:59 AM, Stefano Fratini <span dir="ltr">&lt;<a href="mailto:stefano.fratini@yeahpoint.com">stefano.fratini@yeahpoint.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hey I&#39;m not sure either this is an openjdk issue or a windows build problem...<br>
<br>
At my company we&#39;ve been using your openjdk 6b20 and now openjdk 6b21 for over a year now<br>
<br>
We have an interesting problem: If a java app is running and the user logs off java *may* prevent windows from logging off. When that happen, from the logs we see that all shutdown hooks are executed correctly but then the app stalls and java gets to 100% cpu usage. In other words the jawaw.exe process doesn&#39;t shut down properly and hungs.<br>


<br>
Interestingly, if the java application didn&#39;t create any window (JWindow or JFrame) the java vm always shuts down properly. If it did create a JWindow/JFrame and *made it visible* the java vm doesn&#39;t shut down properly. Always.<br>


<br>
If the app calls within itself System.exit(0) or, simply, all threads have terminated, the app shuts down normally despite of the presence of JWindows/JFrames...<br>
<br>
I&#39;m posting this message here as with sun&#39;s JRE builds we never encountered such issue and it doesn&#39;t seem like an openJDK bug but rather a build-related problem.<br>
Moreover I couldn&#39;t find anything related at <a href="https://bugs.openjdk.java.net/" target="_blank">https://bugs.openjdk.java.net/</a> or no one seems to have this problem if you google for it<br>
<br>
I may be wrong on this point, though. If so, please let me know :)<br>
<br>
I&#39;m sure the problem does exist and we have been able (unfortunately) to reproduce it hundreds of machines<br>
<br>
Tested configurations:<br>
OS: Win XP SP3 / Win XP SP2<br>
Memory: from 256mb to 2gb<br>
<br>
Thank you in advance!!<br>
<font color="#888888"><br>
Stefano Fratini<br>
<br>
</font></blockquote></div><br></div>