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-5722) [classlib][luni][performance] ObjectInputStream can use Reflection API for setting fields
Date Mon, 14 Apr 2008 12:53:04 GMT

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

Aleksey Shipilev updated HARMONY-5722:
--------------------------------------

    Attachment: cl-ois-readfieldvalues-rc1.patch

cl-ois-readfieldvalues-rc1.patch
 1. Moves setField to Reflection API
 2. Caches the j.l.r.Field in ObjectStreamField.

This patch gives +20% on 8-core Clovertown and +110% on 16-core Tigerton for MT/SerialBench.


> [classlib][luni][performance] ObjectInputStream can use Reflection API for setting fields
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5722
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5722
>             Project: Harmony
>          Issue Type: Improvement
>            Reporter: Aleksey Shipilev
>         Attachments: cl-ois-readfieldvalues-rc1.patch
>
>
> For now, OIS.readFieldValues uses JNI for accessing fields. It's bad for several reasons:
>  a. infers a lot of JNI calls
>  b. creates a lot of strings when looking up the field id.
> This issue moves setField functionality to Reflection API.

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