Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 91830 invoked from network); 10 Oct 2006 11:45:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 11:45:08 -0000 Received: (qmail 69770 invoked by uid 500); 10 Oct 2006 11:45:08 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 69738 invoked by uid 500); 10 Oct 2006 11:45:08 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 69727 invoked by uid 99); 10 Oct 2006 11:45:08 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 04:45:08 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 04:45:07 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CCAA37142DC for ; Tue, 10 Oct 2006 04:44:23 -0700 (PDT) Message-ID: <13602989.1160480663834.JavaMail.root@brutus> Date: Tue, 10 Oct 2006 04:44:23 -0700 (PDT) From: "Elena Semukhina (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Commented: (HARMONY-1789) [DRLVM] Race condition between Thread.interrupt and Object.wait, Thread.sleep or join In-Reply-To: <21292508.1160424922629.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1789?page=comments#action_12441127 ] Elena Semukhina commented on HARMONY-1789: ------------------------------------------ [drlvm][unit] Blocked http://wiki.apache.org/harmony/Unit_Tests_Pass_on_DRLVM This bug drastically increased the number of classlib tests failures. Today we have 66 failures in luni module while yesterday there were only 8. To reproduce classlib tests failures please run ant -Dtest.jre.home=%DRLVM% -Dbuild.module=luni test > [DRLVM] Race condition between Thread.interrupt and Object.wait, Thread.sleep or join > ------------------------------------------------------------------------------------- > > Key: HARMONY-1789 > URL: http://issues.apache.org/jira/browse/HARMONY-1789 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Nikolay Kuznetsov > Attachments: Test.java > > > According to the specification wait/join or sleep methods should check if thread was interrupted before entering wait. DRLVM hythread implmentation do checks interrupted status(see hythread condition implmentation), however thread may be interrupted just after the status was checked and before entering condition wait. Thus it's required to ensure that waiting state will be reached having interrupted status unchanged. -- 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