harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-2502) [drlvm] Runtime exception in fast path helpers crashes DRLVM.
Date Wed, 13 Dec 2006 15:00:27 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-2502?page=all ]

Gregory Shimansky updated HARMONY-2502:
---------------------------------------

    Summary: [drlvm] Runtime exception in fast path helpers crashes DRLVM.  (was: [DRLVM]
Runtime exception in fast path helpers crashes DRLVM.)

> [drlvm] Runtime exception in fast path helpers crashes DRLVM.
> -------------------------------------------------------------
>
>                 Key: HARMONY-2502
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2502
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Attachments: ConstructorStackTest.java
>
>
> The following simple test can crash DRLVM (VM crashes without any message) :
> class ConstructorStackTest {
>     private static final int MAX_DEPTH = 1000000;
>     ConstructorStackTest(int c) {
>         if (c > 0) {
>             new ConstructorStackTest(c - 1);
>         }
>     }
>     public static void main(String[] args) {
>         try {
>             new ConstructorStackTest(MAX_DEPTH);
>             System.out.println("PASS");
>          } catch (StackOverflowError soe) {
>             System.out.println("PASS : " + soe);
>         } catch (Throwable th) {
>             System.out.println("FAIL");
>         }
>     }
> }
> The source of the crash is in throwing StackOverflowError in fast path GC helper, where
M2n frame is not created. To fix this bug required implement support of runtime exceptions
in runtime helper or rewrite this helpers on "magic".

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