You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Geir Magnusson Jr (JIRA)" <ji...@apache.org> on 2006/07/21 22:17:17 UTC

[jira] Assigned: (HARMONY-945) Current implementation of DRL VM doesn't support Stack Overflow Error (SOE).

     [ http://issues.apache.org/jira/browse/HARMONY-945?page=all ]

Geir Magnusson Jr reassigned HARMONY-945:
-----------------------------------------

    Assignee: Geir Magnusson Jr

> Current implementation of DRL VM doesn't support Stack Overflow Error (SOE).
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-945
>                 URL: http://issues.apache.org/jira/browse/HARMONY-945
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Assigned To: Geir Magnusson Jr
>         Attachments: 0001-This-patch-adds-support-of-Stack-Overflow-Error-SOE-for-JIT-mode-into-VM.patch
>
>
> Current implementation of DRL VM doesn't support Stack Overflow Error (SOE).
> Following example shows it:
>  
> public class Stack {
>     static int depth = 0;
>     public static void func() {
>         depth++;
>         func();
>     }
>     public static void main(String[] args) {
>         try {
>             func();
>         } catch (Throwable th) {
>             System.out.println("First SOE depth = " + depth);
>             System.out.println ("Caught = " + th);
>         }
>     }
> }
>  

-- 
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