db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-3503) Change stress.multi to dump thread stacks before killing off testers with jdk 1.5 and higher
Date Sun, 09 Mar 2008 18:27:46 GMT

     [ https://issues.apache.org/jira/browse/DERBY-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kathey Marsden updated DERBY-3503:
----------------------------------

    Attachment: derby-3503_diff.txt

Thanks Knut for the review. Attached is an updated patch addressing your comments.  I think
I am just going to have to stick with emacs for those files with tabs as I can't seem to get
my IDE set right to handle them properly. Hopefully it is all clean now.

I moved the code from MutliTest .execTesters to TestUtil.dumpAllStackTracesIfSupported() in
case we want to use this elsewhere.

> Change stress.multi to dump thread stacks before killing off testers with jdk 1.5 and
higher
> --------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3503
>                 URL: https://issues.apache.org/jira/browse/DERBY-3503
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.4.0.0
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>            Priority: Minor
>         Attachments: derby-3503_diff.txt, derby-3503_diff.txt
>
>
> Jdk 1.5 introduced Thread.getAllStackTraces() which can be used to print a thread dump
programatically.  The test stress.multi kills off its testers if it reaches a deadlock or
the testers can't complete on their own. It would be helpful in this case to get a thread
dump automatically.  The code could only be enabled for jdk 1.5 and higher.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message