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 Volosyuk (JIRA)" <ji...@apache.org> on 2006/12/28 16:24:21 UTC

[jira] Created: (HARMONY-2916) [drlvm][interpreter] Use vm stack limit instead of harcoded value

[drlvm][interpreter] Use vm stack limit instead of harcoded value
-----------------------------------------------------------------

                 Key: HARMONY-2916
                 URL: http://issues.apache.org/jira/browse/HARMONY-2916
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: All
            Reporter: Ivan Volosyuk
            Priority: Minor
         Attachments: interpreter_stack_overflow_check.diff

Changed interpreter code to use VM<>interpreter interfaces to access stack size information for StackOverflowError support.
Previously hardcoded constant (500 000) has limited the stack size.

-- 
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] Commented: (HARMONY-2916) [drlvm][interpreter] Use vm stack limit instead of harcoded value

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463806 ] 

Alexey Varlamov commented on HARMONY-2916:
------------------------------------------

Should we increase minDepth for stack.Stress back?

> [drlvm][interpreter] Use vm stack limit instead of harcoded value
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2916
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: interpreter_stack_overflow_check.diff
>
>
> Changed interpreter code to use VM<>interpreter interfaces to access stack size information for StackOverflowError support.
> Previously hardcoded constant (500 000) has limited the stack size.

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

        

[jira] Assigned: (HARMONY-2916) [drlvm][interpreter] Use vm stack limit instead of harcoded value

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2916?page=all ]

Gregory Shimansky reassigned HARMONY-2916:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][interpreter] Use vm stack limit instead of harcoded value
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2916
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2916
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: interpreter_stack_overflow_check.diff
>
>
> Changed interpreter code to use VM<>interpreter interfaces to access stack size information for StackOverflowError support.
> Previously hardcoded constant (500 000) has limited the stack size.

-- 
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] Commented: (HARMONY-2916) [drlvm][interpreter] Use vm stack limit instead of harcoded value

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463934 ] 

Gregory Shimansky commented on HARMONY-2916:
--------------------------------------------

Stack size depends on the default size that system gives to the new thread. The number of possibly created frames is still indeterminable.

> [drlvm][interpreter] Use vm stack limit instead of harcoded value
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2916
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: interpreter_stack_overflow_check.diff
>
>
> Changed interpreter code to use VM<>interpreter interfaces to access stack size information for StackOverflowError support.
> Previously hardcoded constant (500 000) has limited the stack size.

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

        

[jira] Resolved: (HARMONY-2916) [drlvm][interpreter] Use vm stack limit instead of harcoded value

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

Gregory Shimansky resolved HARMONY-2916.
----------------------------------------

    Resolution: Fixed

Patch applied at 494838. Please check that it was applied as expected.

> [drlvm][interpreter] Use vm stack limit instead of harcoded value
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2916
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: interpreter_stack_overflow_check.diff
>
>
> Changed interpreter code to use VM<>interpreter interfaces to access stack size information for StackOverflowError support.
> Previously hardcoded constant (500 000) has limited the stack size.

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

        

[jira] Commented: (HARMONY-2916) [drlvm][interpreter] Use vm stack limit instead of harcoded value

Posted by "Elena Semukhina (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463876 ] 

Elena Semukhina commented on HARMONY-2916:
------------------------------------------

I tried to run stress.Stack to see what value minDepth should be set to with this fix.

I ran the test on Windows 2003 (msvc/icl debug/release), Linux SUSE9 ia32 (gcc/icc debug/release) and Linux SUSE9 em64t (gcc debug/release). The minimal number of iterations was 260 for Windows icl release build.
We cannot return the previous value of 300 to the test but can increase the current value from 130 to at least 250.

> [drlvm][interpreter] Use vm stack limit instead of harcoded value
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2916
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Assigned To: Gregory Shimansky
>            Priority: Minor
>         Attachments: interpreter_stack_overflow_check.diff
>
>
> Changed interpreter code to use VM<>interpreter interfaces to access stack size information for StackOverflowError support.
> Previously hardcoded constant (500 000) has limited the stack size.

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

        

[jira] Closed: (HARMONY-2916) [drlvm][interpreter] Use vm stack limit instead of harcoded value

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

Gregory Shimansky closed HARMONY-2916.
--------------------------------------


No response, assuming ok.

> [drlvm][interpreter] Use vm stack limit instead of harcoded value
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2916
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2916
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: interpreter_stack_overflow_check.diff
>
>
> Changed interpreter code to use VM<>interpreter interfaces to access stack size information for StackOverflowError support.
> Previously hardcoded constant (500 000) has limited the stack size.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-2916) [drlvm][interpreter] Use vm stack limit instead of harcoded value

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2916?page=all ]

Ivan Volosyuk updated HARMONY-2916:
-----------------------------------

    Attachment: interpreter_stack_overflow_check.diff

Patch attached.

> [drlvm][interpreter] Use vm stack limit instead of harcoded value
> -----------------------------------------------------------------
>
>                 Key: HARMONY-2916
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2916
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>            Priority: Minor
>         Attachments: interpreter_stack_overflow_check.diff
>
>
> Changed interpreter code to use VM<>interpreter interfaces to access stack size information for StackOverflowError support.
> Previously hardcoded constant (500 000) has limited the stack size.

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