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/04/14 14:53:04 UTC
[jira] Updated: (HARMONY-5722) [classlib][luni][performance]
ObjectInputStream can use Reflection API for setting fields
[ 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.