harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2502) [drlvm] Runtime exception in fast path helpers crashes DRLVM.
Date Tue, 22 May 2007 13:24:16 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-2502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497864
] 

Vladimir Beliaev commented on HARMONY-2502:
-------------------------------------------

Tue May 22 17:21:20 RDT 2007

The issue is still reproducible on Windows/x86. 

It does not crash anymore (still it prints neither "PASSED" not "FAILED") and exit code is
128.

Thanks
Vladimir Beliaev

> [drlvm] Runtime exception in fast path helpers crashes DRLVM.
> -------------------------------------------------------------
>
>                 Key: HARMONY-2502
>                 URL: https://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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message