harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3269) [jdktools][jpda] Improve cleanup procedure in JDWP agent
Date Thu, 01 Mar 2007 08:43:50 GMT
[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
            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.


Mime
View raw message