You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Pavel Afremov (JIRA)" <ji...@apache.org> on 2007/07/10 14:01:16 UTC

[jira] Created: (HARMONY-4407) One page on the stack is not enough to create SOE on Windows x86-64.

One page on the stack is not enough to create SOE on Windows x86-64.
--------------------------------------------------------------------

                 Key: HARMONY-4407
                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Pavel Afremov


On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.


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


[jira] Updated: (HARMONY-4407) [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Pavel Afremov updated HARMONY-4407:
-----------------------------------

    Attachment: 0001-Fix-SOE-support-on-Windows-x86-64.patch

Fix SOE support on Windows x86-64.

On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
But on Windows x86-64 there is function SetThreadStackGuarantee, which allow increase size of guard stack.
Unfortunately this function doesn't work on Windows x86-32 now. 
Current patch enable use of this function on x86-64 platform.
Also it fix asm_helpers for exception callback functions, compile_me function checks, and si_set_callback.


> [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Closed: (HARMONY-4407) [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Pavel Afremov closed HARMONY-4407.
----------------------------------


> [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Resolved: (HARMONY-4407) [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Gregory Shimansky resolved HARMONY-4407.
----------------------------------------

    Resolution: Fixed

Patch is applied at 572671. Please check that it was applied as expected.

> [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Commented: (HARMONY-4407) [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Pavel Afremov commented on HARMONY-4407:
----------------------------------------

Patch fixes JET works. Under debugger OPT works OK too. Without debugging in stress condition VM in OPT mode can return code 128 - crashes without any printing.

> [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Updated: (HARMONY-4407) [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Pavel Afremov updated HARMONY-4407:
-----------------------------------

    Attachment: 0001-Fix-SOE-support-on-Windows-x86-64.patch

> [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Updated: (HARMONY-4407) [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Pavel Afremov updated HARMONY-4407:
-----------------------------------

    Patch Info: [Patch Available]

> [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Assigned: (HARMONY-4407) [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Gregory Shimansky reassigned HARMONY-4407:
------------------------------------------

    Assignee: Gregory Shimansky

> [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Updated: (HARMONY-4407) [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Pavel Afremov updated HARMONY-4407:
-----------------------------------

    Attachment: 0001-Fix-SOE-support-on-Windows-x86-64.patch

Updated patch with additional fixes of  number of bugs.

> [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Updated: (HARMONY-4407) [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Pavel Afremov updated HARMONY-4407:
-----------------------------------

    Summary: [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.  (was: One page on the stack is not enough to create SOE on Windows x86-64.)

> [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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


[jira] Updated: (HARMONY-4407) [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.

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

Gregory Shimansky updated HARMONY-4407:
---------------------------------------

    Summary: [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.  (was: [DRLVM][stack]One page on the stack is not enough to create SOE on Windows x86-64.)

> [drlvm][stack]One page on the stack is not enough to create SOE on Windows x86-64.
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-4407
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4407
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Afremov
>            Assignee: Gregory Shimansky
>         Attachments: 0001-Fix-SOE-support-on-Windows-x86-64.patch, 0001-Fix-SOE-support-on-Windows-x86-64.patch
>
>
> On Windows x86-64.DRL VM can't process SOE, because one page on the stack is not enough to create exception.
> Move guard page and increase guard stack is not possible on the Windows by standard mechanisms.

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