From commits-return-53392-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Tue Apr 15 12:58:07 2008 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 99501 invoked from network); 15 Apr 2008 12:58:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 12:58:07 -0000 Received: (qmail 22990 invoked by uid 500); 15 Apr 2008 12:58:07 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 22978 invoked by uid 500); 15 Apr 2008 12:58:07 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 22969 invoked by uid 99); 15 Apr 2008 12:58:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 05:58:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 12:57:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D4D22234C0D5 for ; Tue, 15 Apr 2008 05:55:04 -0700 (PDT) Message-ID: <1327731670.1208264104870.JavaMail.jira@brutus> Date: Tue, 15 Apr 2008 05:55:04 -0700 (PDT) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5722) [classlib][luni][performance] ObjectInputStream/ObjectOutputStream can use optimized API for accessing fields In-Reply-To: <437369944.1208177466748.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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_OOS-accessors-rc2.patch cl-OIS_OOS-accessors-rc2.patch Changes: 1. Fixed failures on LUNI unit-tests 2. Cleaned up ObjectStreamField 3. AccessorFactory is used Tony, please use this patch. Alexei, thanks for the comments! > [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.