You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/12/28 14:13:44 UTC
[jira] Closed: (HARMONY-3269) [jdktools][jpda] Improve cleanup
procedure in JDWP agent
[ https://issues.apache.org/jira/browse/HARMONY-3269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky closed HARMONY-3269.
--------------------------------------
No response, assuming ok.
> [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.