Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 609 invoked from network); 26 Oct 2007 16:54:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 16:54:16 -0000 Received: (qmail 50634 invoked by uid 500); 26 Oct 2007 16:54:03 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 50526 invoked by uid 500); 26 Oct 2007 16:54:03 -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 50509 invoked by uid 99); 26 Oct 2007 16:54:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 09:54:03 -0700 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, 26 Oct 2007 16:54:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4324F714258 for ; Fri, 26 Oct 2007 09:53:52 -0700 (PDT) Message-ID: <24977469.1193417632272.JavaMail.jira@brutus> Date: Fri, 26 Oct 2007 09:53:52 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-3269) [jdktools][jpda] Improve cleanup procedure in JDWP agent In-Reply-To: <13129476.1172738630864.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-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky reassigned HARMONY-3269: ------------------------------------------ Assignee: Gregory Shimansky > [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 > Assignee: Gregory Shimansky > 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.