Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 25488 invoked from network); 13 Oct 2006 06:25:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Oct 2006 06:25:48 -0000 Received: (qmail 94525 invoked by uid 500); 13 Oct 2006 06:25:45 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 94358 invoked by uid 500); 13 Oct 2006 06:25:44 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 94347 invoked by uid 99); 13 Oct 2006 06:25:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Oct 2006 23:25:44 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ivan.volosyuk@gmail.com designates 64.233.182.185 as permitted sender) Received: from [64.233.182.185] (HELO nf-out-0910.google.com) (64.233.182.185) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Oct 2006 23:25:43 -0700 Received: by nf-out-0910.google.com with SMTP id c29so1317594nfb for ; Thu, 12 Oct 2006 23:25:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Va7+XceNoaMtFdg+SKI1lyq+G+ozrCZ+1aN9OAf1i37O7Uc/OQIOfdG7TPOuixDL4noT5mTlb/Mu0azfmWte511TYXslcvjCtHj1cXSwpihTnE2Id9UKC/Ixto08TF7DSxAb4tvLhC6E3ITzdU2XEV2eN1qILy/ffvvIDONZQZE= Received: by 10.48.48.18 with SMTP id v18mr505669nfv; Thu, 12 Oct 2006 23:25:21 -0700 (PDT) Received: by 10.48.207.13 with HTTP; Thu, 12 Oct 2006 23:25:21 -0700 (PDT) Message-ID: <12385bbd0610122325s161b7330jf5756831a0c28f77@mail.gmail.com> Date: Fri, 13 Oct 2006 10:25:21 +0400 From: "Ivan Volosyuk" To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] The first GC helper with fast-path implemented in Java: gc_alloc In-Reply-To: <4dd1f3f00610122141k50e4c51eqc7b4fbee8793463c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9623c9a50610112041t5e1851cek96c15b133d723140@mail.gmail.com> <9623c9a50610122009n7f1eba4cpfe7f40a3cd83a7ef@mail.gmail.com> <4dd1f3f00610122141k50e4c51eqc7b4fbee8793463c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 10/13/06, Weldon Washburn wrote: > As Xiao Feng mentions, memset() is filled with a bunch of complications. We > do not want to dive into writing yet another highly optimized memset() > library. There are plenty of them on the shelf. I would like to set > memset() aside and stay focused on showing perfomance data on inlined > alloc() at this time. AFAIU, Mikhail also works on something like fast-JNI - a way to call native function from managed code. To do this, we need some kind of representation of native function in java, a mapping of native call into java bytecode. It looks the class org.apache.harmony.vmhelper.native.Utils was created for this purpose. The memset is just a function we can start with if we really want the ability to call native functions from java. I would like to have this functionality, but if the implementation needs some resources it can be postponed until after the basic helper inlining functionality is ready. -- Ivan --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org