You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Shipilev (JIRA)" <ji...@apache.org> on 2008/03/23 22:33:24 UTC

[jira] Created: (HARMONY-5639) [drlvm][classloader][performance] Make native class/method/field lookups unsynchronized

[drlvm][classloader][performance] Make native class/method/field lookups unsynchronized
---------------------------------------------------------------------------------------

                 Key: HARMONY-5639
                 URL: https://issues.apache.org/jira/browse/HARMONY-5639
             Project: Harmony
          Issue Type: Improvement
            Reporter: Aleksey Shipilev
         Attachments: 0007-serial-vmClassloader.patch

Current implementation of classloader obtains the lock on any resolve operation, basically performing synchronized lookup in constant pool. The suggestion is to perform such lookups at fastpath desychronized, on failure obtain the lock and lookup again.

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


[jira] Updated: (HARMONY-5639) [drlvm][classloader][performance] Make native class/method/field lookups unsynchronized

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

Nathan Beyer updated HARMONY-5639:
----------------------------------

    Priority: Trivial  (was: Major)

The current patch doesn't look safe, so I'm dropping the priority.

> [drlvm][classloader][performance] Make native class/method/field lookups unsynchronized
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5639
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5639
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Aleksey Shipilev
>            Priority: Trivial
>         Attachments: 0007-serial-vmClassloader.patch
>
>
> Current implementation of classloader obtains the lock on any resolve operation, basically performing synchronized lookup in constant pool. The suggestion is to perform such lookups at fastpath desychronized, on failure obtain the lock and lookup again.

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


[jira] Updated: (HARMONY-5639) [drlvm][classloader][performance] Make native class/method/field lookups unsynchronized

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

Aleksey Shipilev updated HARMONY-5639:
--------------------------------------

    Issue Type: Sub-task  (was: Improvement)
        Parent: HARMONY-5632

> [drlvm][classloader][performance] Make native class/method/field lookups unsynchronized
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5639
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5639
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Aleksey Shipilev
>         Attachments: 0007-serial-vmClassloader.patch
>
>
> Current implementation of classloader obtains the lock on any resolve operation, basically performing synchronized lookup in constant pool. The suggestion is to perform such lookups at fastpath desychronized, on failure obtain the lock and lookup again.

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


[jira] Updated: (HARMONY-5639) [drlvm][classloader][performance] Make native class/method/field lookups unsynchronized

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

Aleksey Shipilev updated HARMONY-5639:
--------------------------------------

    Attachment: 0007-serial-vmClassloader.patch

0007-serial-vmClassloader.patch
Proof-of-concept patch.

Eliminates up to 70% of contended synchronization on SerialBench (8-core Clovertown).

> [drlvm][classloader][performance] Make native class/method/field lookups unsynchronized
> ---------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5639
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5639
>             Project: Harmony
>          Issue Type: Improvement
>            Reporter: Aleksey Shipilev
>         Attachments: 0007-serial-vmClassloader.patch
>
>
> Current implementation of classloader obtains the lock on any resolve operation, basically performing synchronized lookup in constant pool. The suggestion is to perform such lookups at fastpath desychronized, on failure obtain the lock and lookup again.

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