Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 45865 invoked from network); 24 Jan 2007 05:15:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2007 05:15:12 -0000 Received: (qmail 58710 invoked by uid 500); 24 Jan 2007 05:15:18 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 58693 invoked by uid 500); 24 Jan 2007 05:15:18 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 58672 invoked by uid 99); 24 Jan 2007 05:15:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 21:15:18 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jan 2007 21:15:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A8EA7142E2 for ; Tue, 23 Jan 2007 21:14:51 -0800 (PST) Message-ID: <10656015.1169615691367.JavaMail.jira@brutus> Date: Tue, 23 Jan 2007 21:14:51 -0800 (PST) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-2504) [drlvm] If method throws exception after monitorenter, JIT does not release the lock. In-Reply-To: <136063.1165421482474.JavaMail.jira@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 [ https://issues.apache.org/jira/browse/HARMONY-2504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466907 ] Alexey Varlamov commented on HARMONY-2504: ------------------------------------------ Sure, feel free to appeal on dev@. Please try to provide specific arguments, why and how it should work. My POV that VM *must* hang while executing a code which is designed to hang. > [drlvm] If method throws exception after monitorenter, JIT does not release the lock. > ------------------------------------------------------------------------------------- > > Key: HARMONY-2504 > URL: https://issues.apache.org/jira/browse/HARMONY-2504 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Intel x86 IA32, WinXP > Reporter: Alexander D Shipilov > Attachments: Harmony-2504test.zip > > > Thread makes monitorenter, and throws exception (NPE) to the output. > java.lang.IllegalMonitorStateException expected to appear at the output > (because, according to the specification, the last exception should appear). > Then other thread tries to get a lock. > DRLVM hangs up. It's throws NPE instead of IllegalMonitorStateException and does not release the > lock. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.