harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Wu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5722) [classlib][luni][performance] ObjectInputStream/ObjectOutputStream can use optimized API for accessing fields
Date Wed, 16 Apr 2008 12:03:21 GMT

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

Tony Wu commented on HARMONY-5722:

some serialization test in  auth module such as javax.security.auth.SubjectTest fails with

Wrong format: 0x0

java.io.StreamCorruptedException: Wrong format: 0x0 at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:849)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2133) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:288)

and as Alexey said, we should remove the empty source file oos.c

> [classlib][luni][performance] ObjectInputStream/ObjectOutputStream can use optimized
API for accessing fields
> -------------------------------------------------------------------------------------------------------------
>                 Key: HARMONY-5722
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5722
>             Project: Harmony
>          Issue Type: Improvement
>          Components: Classlib
>            Reporter: Aleksey Shipilev
>            Assignee: Tony Wu
>         Attachments: cl-ois-readfieldvalues-rc1.patch, cl-OIS_OOS-accessors-rc1.patch,
cl-OIS_OOS-accessors-rc2.patch, cl-OIS_OOS-reflection-rc1.patch
> For now, OIS and OOS use JNI stubs 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/getField functionality to more optimized API.

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

View raw message