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 Rebriy (JIRA)" <ji...@apache.org> on 2007/08/07 14:17:59 UTC

[jira] Created: (HARMONY-4608) [drlvm][thread] Move hythread_t allocation to VM side

[drlvm][thread] Move hythread_t allocation to VM side
-----------------------------------------------------

                 Key: HARMONY-4608
                 URL: https://issues.apache.org/jira/browse/HARMONY-4608
             Project: Harmony
          Issue Type: Sub-task
          Components: DRLVM
            Reporter: Pavel Rebriy


This is the first step of a new design implementation.

To manage native resources they should be allocated in only place. Structure hythread_t is allocated in hythr library. This issue moves allocation of hythread_t to the VM layer.

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


[jira] Updated: (HARMONY-4608) [drlvm][thread] Move hythread_t allocation to VM side

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

Ilya Berezhniuk updated HARMONY-4608:
-------------------------------------

    Attachment: tlc_move_hythread_allocation_to_vm__ws.patch

I've tried to apply this patch in GIT locally, but GIT has rejected the patch because of trailing whitespaces in 3 files.
There are many such places.

So I've removed all trailing spaces from these 3 files and replased TABs with spaces*4. I suggest using this patch, although it contains more changes and therefore more difficult to read through.

Suggested patch is "tlc_move_hythread_allocation_to_vm__ws.patch". Trailing spaces ant TABs are only difference from "tlc_move_hythread_allocation_to_vm.patch".

> [drlvm][thread] Move hythread_t allocation to VM side
> -----------------------------------------------------
>
>                 Key: HARMONY-4608
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4608
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>            Assignee: weldon washburn
>         Attachments: tlc_move_hythread_allocation_to_vm.patch, tlc_move_hythread_allocation_to_vm.patch, tlc_move_hythread_allocation_to_vm__ws.patch
>
>
> This is the first step of a new design implementation.
> To manage native resources they should be allocated in only place. Structure hythread_t is allocated in hythr library. This issue moves allocation of hythread_t to the VM layer.

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


[jira] Updated: (HARMONY-4608) [drlvm][thread] Move hythread_t allocation to VM side

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

Pavel Rebriy updated HARMONY-4608:
----------------------------------

    Attachment: tlc_move_hythread_allocation_to_vm.patch

This is a draft version of implementation.

> [drlvm][thread] Move hythread_t allocation to VM side
> -----------------------------------------------------
>
>                 Key: HARMONY-4608
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4608
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>         Attachments: tlc_move_hythread_allocation_to_vm.patch
>
>
> This is the first step of a new design implementation.
> To manage native resources they should be allocated in only place. Structure hythread_t is allocated in hythr library. This issue moves allocation of hythread_t to the VM layer.

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


[jira] Commented: (HARMONY-4608) [drlvm][thread] Move hythread_t allocation to VM side

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

weldon washburn commented on HARMONY-4608:
------------------------------------------

tlc_move_hythread_allocation_to_vm.patch has been committed to svn HEAD.  I will leave this JIRA open for now.  We may want to post follow-on patches to this JIRA instead of open a new JIRA.

> [drlvm][thread] Move hythread_t allocation to VM side
> -----------------------------------------------------
>
>                 Key: HARMONY-4608
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4608
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>            Assignee: weldon washburn
>         Attachments: tlc_move_hythread_allocation_to_vm.patch, tlc_move_hythread_allocation_to_vm.patch, tlc_move_hythread_allocation_to_vm__ws.patch
>
>
> This is the first step of a new design implementation.
> To manage native resources they should be allocated in only place. Structure hythread_t is allocated in hythr library. This issue moves allocation of hythread_t to the VM layer.

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


[jira] Assigned: (HARMONY-4608) [drlvm][thread] Move hythread_t allocation to VM side

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

weldon washburn reassigned HARMONY-4608:
----------------------------------------

    Assignee: weldon washburn

> [drlvm][thread] Move hythread_t allocation to VM side
> -----------------------------------------------------
>
>                 Key: HARMONY-4608
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4608
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>            Assignee: weldon washburn
>         Attachments: tlc_move_hythread_allocation_to_vm.patch
>
>
> This is the first step of a new design implementation.
> To manage native resources they should be allocated in only place. Structure hythread_t is allocated in hythr library. This issue moves allocation of hythread_t to the VM layer.

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


[jira] Commented: (HARMONY-4608) [drlvm][thread] Move hythread_t allocation to VM side

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

Pavel Rebriy commented on HARMONY-4608:
---------------------------------------

Don't forget to delete the following files from svn repository:

vm/vmcore/src/thread/thread_private.h
vm/tests/unit/thread/test_performance.h
vm/tests/unit/thread/test_performance_basic.c
vm/tests/unit/thread/test_performance_concurrent_mutex.c


> [drlvm][thread] Move hythread_t allocation to VM side
> -----------------------------------------------------
>
>                 Key: HARMONY-4608
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4608
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>            Assignee: weldon washburn
>         Attachments: tlc_move_hythread_allocation_to_vm.patch, tlc_move_hythread_allocation_to_vm.patch
>
>
> This is the first step of a new design implementation.
> To manage native resources they should be allocated in only place. Structure hythread_t is allocated in hythr library. This issue moves allocation of hythread_t to the VM layer.

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


[jira] Updated: (HARMONY-4608) [drlvm][thread] Move hythread_t allocation to VM side

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

Pavel Rebriy updated HARMONY-4608:
----------------------------------

    Attachment: tlc_move_hythread_allocation_to_vm.patch

This is an implementing patch.

The patch removes allocation hythread _t to the VM side.
Besides it fixes, cleans up and enables for Linux/IPF cunit test suite.
The patch passed "build test" on 4 platforms. Problem was with thread.ManyThreadTest on WinX64, but it is the same as on HEAD. Also patch passed "build ehwa.test" on 3 platforms.



> [drlvm][thread] Move hythread_t allocation to VM side
> -----------------------------------------------------
>
>                 Key: HARMONY-4608
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4608
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>            Assignee: weldon washburn
>         Attachments: tlc_move_hythread_allocation_to_vm.patch, tlc_move_hythread_allocation_to_vm.patch
>
>
> This is the first step of a new design implementation.
> To manage native resources they should be allocated in only place. Structure hythread_t is allocated in hythr library. This issue moves allocation of hythread_t to the VM layer.

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


[jira] Closed: (HARMONY-4608) [drlvm][thread] Move hythread_t allocation to VM side

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

weldon washburn closed HARMONY-4608.
------------------------------------

    Resolution: Fixed

> [drlvm][thread] Move hythread_t allocation to VM side
> -----------------------------------------------------
>
>                 Key: HARMONY-4608
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4608
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>            Assignee: weldon washburn
>         Attachments: tlc_move_hythread_allocation_to_vm.patch, tlc_move_hythread_allocation_to_vm.patch, tlc_move_hythread_allocation_to_vm__ws.patch
>
>
> This is the first step of a new design implementation.
> To manage native resources they should be allocated in only place. Structure hythread_t is allocated in hythr library. This issue moves allocation of hythread_t to the VM layer.

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