Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 33386 invoked from network); 13 Oct 2006 07:05:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2006 07:05:21 -0000 Received: (qmail 39056 invoked by uid 500); 13 Oct 2006 07:05:21 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 39028 invoked by uid 500); 13 Oct 2006 07:05:20 -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 39017 invoked by uid 99); 13 Oct 2006 07:05:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Oct 2006 00:05:20 -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; Fri, 13 Oct 2006 00:05:20 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A64E87142F5 for ; Fri, 13 Oct 2006 00:04:36 -0700 (PDT) Message-ID: <27432039.1160723076678.JavaMail.jira@brutus> Date: Fri, 13 Oct 2006 00:04:36 -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_12441944 ] Elena Semukhina commented on HARMONY-1789: ------------------------------------------ As it appeared, some other issues caused pass rate degradation (H-1592, H-1816, H-1823). This issue impacts on drlvm kernel unit tests and does not impact on classlib tests. > [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