harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rana Dasgupta (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-3582) gc.Multithread smoke test hangs on Windows
Date Fri, 06 Apr 2007 00:08:32 GMT

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

Rana Dasgupta updated HARMONY-3582:

    Attachment: shutdown_problem.patch

This patch/approach needs to be discussed on the list, so please don't commit.

The patch creates versions of jthread_detach and hythread_detach with weakened locks to allow
the shutdown thread to be unblocked. Since all other threads have exited at this stage, the
risk is small, but not zero

> gc.Multithread smoke test hangs on Windows
> ------------------------------------------
>                 Key: HARMONY-3582
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3582
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: dual core x86 with WIndows XP SP2, 32 bits
>            Reporter: Rana Dasgupta
>         Attachments: shutdown_problem.patch
> gc.multiTHreads repeatedly hangs during exit after printing "PASSED" on the console window.
I can repro the hang in the debugger as well. Breaking in with the debugger shows a deadlock
where the shutdown thread is blocked trying to acquire a critical section that was probably
not cleanly released by a terminated thread. 

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

View raw message