You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Chunrong Lai (JIRA)" <ji...@apache.org> on 2008/02/21 08:40:43 UTC

[jira] Created: (HARMONY-5539) [drlvm][vmcore] Updated class-unloading with less weak roots

[drlvm][vmcore] Updated class-unloading with less weak roots
------------------------------------------------------------

                 Key: HARMONY-5539
                 URL: https://issues.apache.org/jira/browse/HARMONY-5539
             Project: Harmony
          Issue Type: Improvement
          Components: DRLVM
         Environment: Any
            Reporter: Chunrong Lai



 Current class unloading implementation uses weak roots to communicate with VM <-> GC which introduce space penalty and copying overhead, as discussed in HARMONY-4477.
 Attached patch reduces the weak roots with an extra loop in VM to update the pointers.

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


[jira] Updated: (HARMONY-5539) [drlvm][vmcore] Updated class-unloading with less weak roots

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

Chunrong Lai updated HARMONY-5539:
----------------------------------

    Attachment: cu.reducedweakroots.patch

 
 Here is the patch. Please verify.

> [drlvm][vmcore] Updated class-unloading with less weak roots
> ------------------------------------------------------------
>
>                 Key: HARMONY-5539
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5539
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any
>            Reporter: Chunrong Lai
>         Attachments: cu.reducedweakroots.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
>  Current class unloading implementation uses weak roots to communicate with VM <-> GC which introduce space penalty and copying overhead, as discussed in HARMONY-4477.
>  Attached patch reduces the weak roots with an extra loop in VM to update the pointers.

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


[jira] Assigned: (HARMONY-5539) [drlvm][vmcore] Updated class-unloading with less weak roots

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

Pavel Pervov reassigned HARMONY-5539:
-------------------------------------

    Assignee: Pavel Pervov

> [drlvm][vmcore] Updated class-unloading with less weak roots
> ------------------------------------------------------------
>
>                 Key: HARMONY-5539
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5539
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any
>            Reporter: Chunrong Lai
>            Assignee: Pavel Pervov
>         Attachments: cu.reducedweakroots.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
>  Current class unloading implementation uses weak roots to communicate with VM <-> GC which introduce space penalty and copying overhead, as discussed in HARMONY-4477.
>  Attached patch reduces the weak roots with an extra loop in VM to update the pointers.

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


[jira] Commented: (HARMONY-5539) [drlvm][vmcore] Updated class-unloading with less weak roots

Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574500#action_12574500 ] 

Pavel Pervov commented on HARMONY-5539:
---------------------------------------

Chunrong,

it's neat tweak to update vtable roots after GC. Patch is ok.

> [drlvm][vmcore] Updated class-unloading with less weak roots
> ------------------------------------------------------------
>
>                 Key: HARMONY-5539
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5539
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any
>            Reporter: Chunrong Lai
>         Attachments: cu.reducedweakroots.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
>  Current class unloading implementation uses weak roots to communicate with VM <-> GC which introduce space penalty and copying overhead, as discussed in HARMONY-4477.
>  Attached patch reduces the weak roots with an extra loop in VM to update the pointers.

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


[jira] Resolved: (HARMONY-5539) [drlvm][vmcore] Updated class-unloading with less weak roots

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

Pavel Pervov resolved HARMONY-5539.
-----------------------------------

    Resolution: Fixed

Committed revision 641167. Chunrong, please, check that patch is applied as expected.

> [drlvm][vmcore] Updated class-unloading with less weak roots
> ------------------------------------------------------------
>
>                 Key: HARMONY-5539
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5539
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>         Environment: Any
>            Reporter: Chunrong Lai
>            Assignee: Pavel Pervov
>         Attachments: cu.reducedweakroots.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
>  Current class unloading implementation uses weak roots to communicate with VM <-> GC which introduce space penalty and copying overhead, as discussed in HARMONY-4477.
>  Attached patch reduces the weak roots with an extra loop in VM to update the pointers.

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