You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Popov (JIRA)" <ji...@apache.org> on 2006/12/28 11:30:21 UTC

[jira] Created: (HARMONY-2913) [jdktools][jdwp] provide safe execution when OutOfMemory occurs

[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

        

[jira] Updated: (HARMONY-2913) [jdktools][jdwp] provide safe execution when OutOfMemory occurs

Posted by "Ivan Popov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Popov updated HARMONY-2913:
--------------------------------

    Issue Type: Improvement  (was: Bug)

> [jdktools][jdwp] provide safe execution when OutOfMemory occurs
> ---------------------------------------------------------------
>
>                 Key: HARMONY-2913
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2913
>             Project: Harmony
>          Issue Type: Improvement
>          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.
-
You can reply to this email to add a comment to the issue online.