Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CCF2C9E81 for ; Wed, 23 May 2012 09:05:42 +0000 (UTC) Received: (qmail 1461 invoked by uid 500); 23 May 2012 09:05:42 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 1409 invoked by uid 500); 23 May 2012 09:05:42 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 1319 invoked by uid 99); 23 May 2012 09:05:41 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 May 2012 09:05:41 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 766F2141887 for ; Wed, 23 May 2012 09:05:41 +0000 (UTC) Date: Wed, 23 May 2012 09:05:41 +0000 (UTC) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Message-ID: <95140055.10966.1337763941487.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1017145374.40142.1329303659919.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (DERBY-5617) Improve process handling in SpawnedProcess MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan closed DERBY-5617. ---------------------------------- Closing issue. > Improve process handling in SpawnedProcess > ------------------------------------------ > > Key: DERBY-5617 > URL: https://issues.apache.org/jira/browse/DERBY-5617 > Project: Derby > Issue Type: Improvement > Components: Test > Affects Versions: 10.9.0.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Fix For: 10.8.2.3, 10.9.0.0 > > Attachments: derby-5617-1a-spawnedprocess_improvements.diff, derby-5617-2a-join_destroy_ordering.diff, derby-5617-3a-timer_as_daemon_thread.diff > > > SpawnedProcess wraps a java.lang.Process and performs various tasks related to process handling. Using external processes from Java is somewhat tricky, in part because of sub-optimal behavior in the methods provided by Process. > I plan to implement the following improvements: > a) Kill the process after a timeout (the clock starts ticking when you create the SpawnedProcess instance). > b) Don't let interrupts stop SpawnedProcess from waiting for / terminating the process. > c) Clean up the Process properly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira