You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ilya Berezhniuk (JIRA)" <ji...@apache.org> on 2008/03/11 02:34:46 UTC

[jira] Created: (HARMONY-5590) [drlvm][port] Move signals/exceptions handling and crash handling to the Port

[drlvm][port] Move signals/exceptions handling and crash handling to the Port
-----------------------------------------------------------------------------

                 Key: HARMONY-5590
                 URL: https://issues.apache.org/jira/browse/HARMONY-5590
             Project: Harmony
          Issue Type: Sub-task
          Components: DRLVM
            Reporter: Ilya Berezhniuk




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


[jira] Updated: (HARMONY-5590) [drlvm][port] Move signals/exceptions handling and crash handling to the Port

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

Ilya Berezhniuk updated HARMONY-5590:
-------------------------------------

    Attachment: 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch

The '0002' patch is updated - removed 2 os_mutex.c files not used anymore.

> [drlvm][port] Move signals/exceptions handling and crash handling to the Port
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5590
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5590
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>


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


[jira] Updated: (HARMONY-5590) [drlvm][port] Move signals/exceptions handling and crash handling to the Port

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

Ilya Berezhniuk updated HARMONY-5590:
-------------------------------------

    Attachment: 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
                0001-move-Moving-to-PORT-memory-access-stack-dump.patch

Here are the updated patches.

These patches are merged with latest changes and include an implementation of VM callback for stack iteration, and also include some bugfixes and improvements.

With these patches I've got correct stack traces for interpreter and JIT (for inlined methods too), except the first 4 native functions from launcher - it looks like line information was disabled in classlibb for release build.

I've started pre-commit testing just to be sure. I'll report the results soon.

> [drlvm][port] Move signals/exceptions handling and crash handling to the Port
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5590
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5590
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>


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


[jira] Assigned: (HARMONY-5590) [drlvm][port] Move signals/exceptions handling and crash handling to the Port

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

Gregory Shimansky reassigned HARMONY-5590:
------------------------------------------

    Assignee: Gregory Shimansky

> [drlvm][port] Move signals/exceptions handling and crash handling to the Port
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5590
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5590
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>


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


[jira] Closed: (HARMONY-5590) [drlvm][port] Move signals/exceptions handling and crash handling to the Port

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

Ilya Berezhniuk closed HARMONY-5590.
------------------------------------


It seems like the patch applied correctly.
Thanks Gregory!

> [drlvm][port] Move signals/exceptions handling and crash handling to the Port
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5590
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5590
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>


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


[jira] Commented: (HARMONY-5590) [drlvm][port] Move signals/exceptions handling and crash handling to the Port

Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12578896#action_12578896 ] 

Ilya Berezhniuk commented on HARMONY-5590:
------------------------------------------

All the pre-commit tests have passed on Linux/Windows x86/x86_64.

Linux/ia64 still can't be built, so I can't check it.


> [drlvm][port] Move signals/exceptions handling and crash handling to the Port
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5590
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5590
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>


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


[jira] Resolved: (HARMONY-5590) [drlvm][port] Move signals/exceptions handling and crash handling to the Port

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

Gregory Shimansky resolved HARMONY-5590.
----------------------------------------

    Resolution: Fixed

The change is committed at 638327. Please check that it was done correctly, it is a very big one.

> [drlvm][port] Move signals/exceptions handling and crash handling to the Port
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5590
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5590
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>            Assignee: Gregory Shimansky
>         Attachments: 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>


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


[jira] Updated: (HARMONY-5590) [drlvm][port] Move signals/exceptions handling and crash handling to the Port

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

Ilya Berezhniuk updated HARMONY-5590:
-------------------------------------

    Attachment: 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
                0001-move-Moving-to-PORT-memory-access-stack-dump.patch

I've moved signal and crash handling to the Port onto the new signal/crash handling interfaces.
Additionally this included:
- moving memory access functions and breakpoints instrumentation to the Port;
- moving native stack unwinding to the Port;
- moving mutex implementation from the Hythread to the Port;

The patches suggested were build over r634360; pre-commit tests are passed on Windows/Linux x86/x86_64, and Linux/ia64/interpreter.

Known problems:
1) these patches should be merged with latest canges, specifically with r634547 and r634569
2) crash stack now contains native functions only; Java unwinding VM callback is not implemented yet
3) to work properly, the Port should become shared library (to avoid static vars duplication etc.)

I'm going to perform tasks 1) - 3) soon, then I'll update the patches.

> [drlvm][port] Move signals/exceptions handling and crash handling to the Port
> -----------------------------------------------------------------------------
>
>                 Key: HARMONY-5590
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5590
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Ilya Berezhniuk
>         Attachments: 0001-move-Moving-to-PORT-memory-access-stack-dump.patch, 0002-Move-signal-and-crash-handling-to-the-Port-to-be-use.patch
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>


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