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:23:24 UTC
[jira] Updated: (HARMONY-5637) [drlvm][classloader][performance]
Make ClassLoader.loadClass desynchronized while trying to load already
loaded class
[ 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.