Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64350 invoked from network); 16 Apr 2008 12:24:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2008 12:24:27 -0000 Received: (qmail 98466 invoked by uid 500); 16 Apr 2008 12:24:27 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 98420 invoked by uid 500); 16 Apr 2008 12:24:27 -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 98400 invoked by uid 99); 16 Apr 2008 12:24:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 05:24:27 -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; Wed, 16 Apr 2008 12:23:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C80F234C0D9 for ; Wed, 16 Apr 2008 05:21:21 -0700 (PDT) Message-ID: <1588409074.1208348481508.JavaMail.jira@brutus> Date: Wed, 16 Apr 2008 05:21:21 -0700 (PDT) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5725) [drlvm][jit][opt][performance] Implement org.apache.harmony.misc.accessors.ObjectAccessor on magics In-Reply-To: <1853275414.1208204944962.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-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Shipilev updated HARMONY-5725: -------------------------------------- Attachment: vm-accessors-magic-draft-2.patch vm-accessors-magic-draft-2.patch Draft implementation on LIR API magics. The idea there is: 1. Take the jFieldID from argument 2. Since jFieldID is Field_Handle we can compute the offset of "_offset" there 3. Knowing the field _offset in object, we can access the object field e.g. fieldOffsetInObj <- [jFieldID + "_offset displacement"] fieldValue <- [obj + fieldOffsetInObj] > [drlvm][jit][opt][performance] Implement org.apache.harmony.misc.accessors.ObjectAccessor on magics > --------------------------------------------------------------------------------------------------- > > Key: HARMONY-5725 > URL: https://issues.apache.org/jira/browse/HARMONY-5725 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Reporter: Aleksey Shipilev > Assignee: Mikhail Fursov > Attachments: vm-accessors-magic-draft-2.patch, vm-accessors-magic-draft.patch > > > Classlib has the API for quick accessing to fields. Since serialization performance will depend on such the accessors, the idea is to implement such the accessors on magics. Slowpath is already in classlib, uses JNI to access fields, so implementation on magics will eliminate JNI transition overhead and native-side computations. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.