Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 68405 invoked from network); 16 Nov 2007 15:51:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Nov 2007 15:51:04 -0000 Received: (qmail 65956 invoked by uid 500); 16 Nov 2007 15:50:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 65935 invoked by uid 500); 16 Nov 2007 15:50:51 -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 65926 invoked by uid 99); 16 Nov 2007 15:50:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Nov 2007 07:50:51 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Fri, 16 Nov 2007 15:50:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0B28B71422B for ; Fri, 16 Nov 2007 07:50:43 -0800 (PST) Message-ID: <24231150.1195228243043.JavaMail.jira@brutus> Date: Fri, 16 Nov 2007 07:50:43 -0800 (PST) From: "Pavel Rebriy (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5135) DRL VM hangs during stress.Mix running on x86-64 In-Reply-To: <24737039.1195226623109.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-5135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pavel Rebriy updated HARMONY-5135: ---------------------------------- Attachment: lock_table_fix.patch The patch which eliminates safe point from locktable_write_enter and locktable_read_enter. > DRL VM hangs during stress.Mix running on x86-64 > ------------------------------------------------ > > Key: HARMONY-5135 > URL: https://issues.apache.org/jira/browse/HARMONY-5135 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Linux x86-64 > Reporter: Pavel Afremov > Attachments: lock_table_fix.patch > > > The safe_point called from hycond_wait, which called from many places include locktable_reader_enter and locktable_writer_enter. > From other side access to locatable there is in function hythread_reclaim_recources, which works during stop the world. > It leads to dead lock, when first thread, which catch locktable monitor goes into safe poin and GC starts. In this case GC can't complete work, because one or several threads waiting on following stack, when first thread free locktable monitor: > #1 > #2 > #3 > #4 > #5 > #6 > #7 .... > So it's a deadlock when firs thread waits when second thread free monitor, and send thread waits when first thread free the other monitor. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.