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-5634) [classlib][luni][performance] ObjectInputStream should use HashMap instead of Hashtable for internal storage
Date Thu, 17 Apr 2008 12:49:24 GMT

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

Aleksey Shipilev updated HARMONY-5634:
--------------------------------------

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

> [classlib][luni][performance] ObjectInputStream should use HashMap instead of Hashtable
for internal storage
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5634
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5634
>             Project: Harmony
>          Issue Type: Sub-task
>            Reporter: Aleksey Shipilev
>            Assignee: Tim Ellison
>         Attachments: 0002-serial-HashMap.patch
>
>
> For now, ObjectInputStream uses Hashtable for two storages:
>  1. static PRIMITIVE_CLASSES, populated via static initializer, read by all instances
(e.g. in theory by all threads)
>  2. private objectsRead, serving as instance-local buffer
> Both of these storages should be migrated to HashMap, since Hashtable.get is synchronized
and synchronization is not needed here.

-- 
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