harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5637) [drlvm][classloader][performance] Make ClassLoader.loadClass desynchronized while trying to load already loaded class
Date Sun, 23 Mar 2008 21:23:24 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksey Shipilev updated HARMONY-5637:
--------------------------------------

    Attachment: 0005-serial-loadClass.patch

0005-serial-loadClass.patch
Proof-of-concept patch. Eliminates ~10% of contended locks on SerialBench.

> [drlvm][classloader][performance] Make ClassLoader.loadClass desynchronized while trying
to load already loaded class
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5637
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5637
>             Project: Harmony
>          Issue Type: Improvement
>            Reporter: Aleksey Shipilev
>         Attachments: 0005-serial-loadClass.patch
>
>
> Current implementation of ClassLoader acquires the lock on every loadClass entry. However,
if the class is already loaded/initialized we might skip synchronization. This would make
ClassLoader perform faster on serialization and startup workloads.

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


Mime
View raw message