harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [jira] Updated: (HARMONY-1951) [drlvm] Simple thread test results different on DRLVM and Sun RI
Date Tue, 21 Nov 2006 15:57:50 GMT
What do you mean build.sh test doesn't work?  I've run it on linux x86 
and x86_64 this morning (w/ expected failures on _64).

What doesn't work?


Artem Aliev (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/HARMONY-1951?page=all ]
> 
> Artem Aliev updated HARMONY-1951:
> ---------------------------------
> 
>     Attachment: fix_1951.patch
> 
> Thread.interrupt() incorrectly call monitor notifyAll(). So the toStop thread receives
InterruptedException, toWait thread is notified by mistake and begin to spin under  a lock.
 The main thread hangs on the lock.
> 
> I attach a fix, that introduce the real wait queue, and allows to notify only interrupted
thread,
> The code is migrated from  build/patches/win/APR/locks/win32/thread_cond.c.
> I can not fully test it because build.sh test does not work on current drlvm.
> 
> The fix is pretty big so please review.
> 
> Thanks
> Artem
> 
> 
>> [drlvm] Simple thread test results different on DRLVM and Sun RI
>> ----------------------------------------------------------------
>>
>>                 Key: HARMONY-1951
>>                 URL: http://issues.apache.org/jira/browse/HARMONY-1951
>>             Project: Harmony
>>          Issue Type: Bug
>>          Components: DRLVM
>>         Environment: Unbuntu 6, Sun RI 1.5.0_8
>>            Reporter: Geir Magnusson Jr
>>         Assigned To: weldon washburn
>>            Priority: Minor
>>         Attachments: fix_1951.patch, Test2.java, Test3.java
>>
>>
>> I'm not sure how critical this is - I just wanted to note it sometwhere.  The attached
program produces two slightly different outputs when run on DRLVM vs Sun RI.
> 

Mime
View raw message