Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 80526 invoked from network); 14 Apr 2008 12:56:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Apr 2008 12:56:04 -0000 Received: (qmail 23506 invoked by uid 500); 14 Apr 2008 12:56:04 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 23489 invoked by uid 500); 14 Apr 2008 12:56:04 -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 23480 invoked by uid 99); 14 Apr 2008 12:56:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2008 05:56:04 -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; Mon, 14 Apr 2008 12:55:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C5690234C0C4 for ; Mon, 14 Apr 2008 05:53:04 -0700 (PDT) Message-ID: <1883159812.1208177584807.JavaMail.jira@brutus> Date: Mon, 14 Apr 2008 05:53:04 -0700 (PDT) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5722) [classlib][luni][performance] ObjectInputStream can use Reflection API for setting 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-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.