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:21:26 UTC
[jira] Created: (HARMONY-5637) [drlvm][classloader][performance]
Make ClassLoader.loadClass desynchronized while trying to load already
loaded class
[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
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.
[jira] Assigned: (HARMONY-5637) [drlvm][classloader][performance]
Make ClassLoader.loadClass desynchronized while trying to load already
loaded class
Posted by "Pavel Pervov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Pervov reassigned HARMONY-5637:
-------------------------------------
Assignee: Pavel Pervov
> [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
> Assignee: Pavel Pervov
> 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.
[jira] Updated: (HARMONY-5637) [drlvm][classloader][performance]
Make ClassLoader.loadClass desynchronized while trying to load already
loaded class
Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HARMONY-5637) [drlvm][classloader][performance]
Make ClassLoader.loadClass desynchronized while trying to load already
loaded class
Posted by "Aleksey Shipilev (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Shipilev updated HARMONY-5637:
--------------------------------------
Issue Type: Sub-task (was: Improvement)
Parent: HARMONY-5632
> [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: Sub-task
> Reporter: Aleksey Shipilev
> Assignee: Pavel Pervov
> 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.
[jira] Updated: (HARMONY-5637) [drlvm][classloader][performance]
Make ClassLoader.loadClass desynchronized while trying to load already
loaded class
Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-5637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Beyer updated HARMONY-5637:
----------------------------------
Priority: Trivial (was: Major)
Dropping the priority; the patch as it is not safe and invalid.
> [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: Sub-task
> Reporter: Aleksey Shipilev
> Assignee: Pavel Pervov
> Priority: Trivial
> 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.