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-2913) [jdktools][jdwp] provide safe execution when OutOfMemory occurs
Date Thu, 28 Dec 2006 10:30:21 GMT
[jdktools][jdwp] provide safe execution when OutOfMemory occurs
---------------------------------------------------------------

                 Key: HARMONY-2913
                 URL: http://issues.apache.org/jira/browse/HARMONY-2913
             Project: Harmony
          Issue Type: Bug
          Components: JDK
            Reporter: Ivan Popov
            Priority: Minor


When OutOfMemoryException occurs, JDWP agent simply throws new AgentException like:
   throw OutOfMemoryException();

But in this case, creation of new object of  AgentException class may cause repeated OutOfMemory
and so on.
Also creating reply packet with error may cause repeated OutOfMemory too.

JDWP agent should provide safe handling of OutOfMemory, at least to avoid subsequent requests
for memory allocation.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message