Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 42190 invoked from network); 18 Jul 2008 17:53:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2008 17:53:23 -0000 Received: (qmail 77063 invoked by uid 500); 18 Jul 2008 17:53:23 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 76846 invoked by uid 500); 18 Jul 2008 17:53:22 -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 76835 invoked by uid 99); 18 Jul 2008 17:53:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 10:53:22 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 17:52:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B5B6E234C175 for ; Fri, 18 Jul 2008 10:52:31 -0700 (PDT) Message-ID: <1433651013.1216403551743.JavaMail.jira@brutus> Date: Fri, 18 Jul 2008 10:52:31 -0700 (PDT) From: "Erlend Birkenes (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3618) Perform thread dump with ASSERTS with jdk 1.5 or higher In-Reply-To: <337116952.1208203748626.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/DERBY-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erlend Birkenes updated DERBY-3618: ----------------------------------- Attachment: DERBY-3618_5.diff Version 5. Ok, I changed the whole thing. The thread dump is now just added to the message in the AssertFailure so we don't need the Monitor anymore. And instead of using JVMInfo I just check that the method Thread.getAllStackTraces is available. Please review. :-) -Erlend > Perform thread dump with ASSERTS with jdk 1.5 or higher > ------------------------------------------------------- > > Key: DERBY-3618 > URL: https://issues.apache.org/jira/browse/DERBY-3618 > Project: Derby > Issue Type: Improvement > Components: Services > Affects Versions: 10.5.0.0 > Reporter: Kathey Marsden > Assignee: Erlend Birkenes > Priority: Minor > Attachments: DERBY-3618_1.diff, DERBY-3618_2.diff, DERBY-3618_3.diff, DERBY-3618_4.diff, DERBY-3618_5.diff > > > It would be good to have a stack traces for all threads dump to the derby.log when an assertion occurs with JVM's that support it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.