Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 82722 invoked from network); 1 Mar 2007 08:44:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 08:44:12 -0000 Received: (qmail 24586 invoked by uid 500); 1 Mar 2007 08:44:20 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 24569 invoked by uid 500); 1 Mar 2007 08:44:20 -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 24559 invoked by uid 99); 1 Mar 2007 08:44:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 00:44:20 -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; Thu, 01 Mar 2007 00:44:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D3EA6714207 for ; Thu, 1 Mar 2007 00:43:50 -0800 (PST) Message-ID: <13129476.1172738630864.JavaMail.jira@brutus> Date: Thu, 1 Mar 2007 00:43:50 -0800 (PST) From: "Ivan Popov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-3269) [jdktools][jpda] Improve cleanup procedure in JDWP agent MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [jdktools][jpda] Improve cleanup procedure in JDWP agent -------------------------------------------------------- Key: HARMONY-3269 URL: https://issues.apache.org/jira/browse/HARMONY-3269 Project: Harmony Issue Type: Improvement Components: JDK Environment: Windows, Linux Reporter: Ivan Popov Priority: Minor Current implementation of JDWP agent performs full cleanup in VMDeath callback. It includes stopping agent threads and waiting for they to finish. If for whatever reason agent threads are not finished, VM will hang in VMDeath callback, regardless the fact that agent threads are daemon threads and should not cause VM hang. In VMDeath callback agent should just close debug session and return form callback without full cleanup. Agent threads will complete cleanup actions and finish. Even if they are not finished for whatever reason, this will not prevent VM from exit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.