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] Commented: (HARMONY-5633) [drlvm][performance] ObjectStreamClass lookup improvement
Date Tue, 01 Apr 2008 14:44:25 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584162#action_12584162

Aleksey Shipilev commented on HARMONY-5633:

1) Patch breaks specification while declaring non Java-spec public method in Class.
2) MT/SerialBench is custom multithreaded harness, inspired by JBoss serialization benchmark.
You may see it in the parent issue HARMONY-5632.

I have more clear idea how to implement this patch - ClassLocalStorage (like the ThreadLocalStorage)
- will follow up soon.

> [drlvm][performance] ObjectStreamClass lookup improvement
> ---------------------------------------------------------
>                 Key: HARMONY-5633
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5633
>             Project: Harmony
>          Issue Type: Improvement
>            Reporter: Aleksey Shipilev
>         Attachments: 0001-serial-lookupClass.patch
> For now, ObjectStreamClass (OSC) is created on-the-fly during serialization/deserialization
and stored in static cache.
> Performance problems arose when several threads doing the lookups, hitting on synchronized
cache. Moreover, the cache is built around WeakHashMap to ensure GC of OSCs. This issue is
the source of scalability problems for multi-threaded serialization benchmarks.

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

View raw message