harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1669) Classlib test tests/api/java/io/PipedInputStreamTest hangs on Windows 2003
Date Tue, 14 Nov 2006 00:51:38 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1669?page=comments#action_12449530 ] 
Alexei Fedotov commented on HARMONY-1669:

I was a bit surprised to find the following in text MSDN

Problem 2: While you suspend the target thread, the target thread tries to suspend you.
You might say, "That can't happen!" Believe it or not, it can, if: 

Your application runs on a multiprocessor box, and 
Thread A runs on one processor and Thread B runs on another, and 
Thread A tries to suspend Thread B while Thread B tries to suspend Thread A. 

I like Windows* This validates the patch.

> Classlib test tests/api/java/io/PipedInputStreamTest hangs on Windows 2003
> --------------------------------------------------------------------------
>                 Key: HARMONY-1669
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1669
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Attachments: TestPipedInput1.java, win32cyclic_suspend.patch
> Classlib test tests/api/java/io/PipedInputStreamTest hangs on 
> 2xXeon x64 (Woodcrest B, 2cores) / Bensley SDV, RAM: 4096MB, HDD: 120GB  
> OS Windows 2003 32-bit SP1 
> The test passes on my Windows XP.
> To reproduce the issue please run 
> ant -Dtest.jre.home=%DRLVM_HOME% -Dbuild.module=luni -Dtest.case=tests.api.java.io.PipedInputStreamTest
> NOTE: sometimes test passes.
> I'll also attach a standalone test to reproduce the issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message