Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 77295 invoked from network); 27 Sep 2006 05:23:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Sep 2006 05:23:12 -0000 Received: (qmail 23715 invoked by uid 500); 27 Sep 2006 05:23:10 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 23682 invoked by uid 500); 27 Sep 2006 05:23:10 -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 23668 invoked by uid 99); 27 Sep 2006 05:23:09 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2006 22:23:09 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=xiaofeng.li@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=xiaofeng.li@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 66.249.92.171 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [66.249.92.171] ([66.249.92.171:39243] helo=ug-out-1314.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 0C/10-22511-ABA0A154 for ; Tue, 26 Sep 2006 22:23:08 -0700 Received: by ug-out-1314.google.com with SMTP id y2so16086uge for ; Tue, 26 Sep 2006 22:23:04 -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=sdQRAZsVuMcOvd49N/IK13DPHmch9Z/9ASYpoExM7yOyhLo7LkixyhED8gdJC1vVcyQC4+ZuNQcife/7CQ3YUek3kTfstzF2lD/rvVgv8bHOM0vPEH12bXFA7hEQ+PdACrffJIVJey1DdxtsDqW5f2x2O2nc81uaHDybCJV4Zvk= Received: by 10.67.119.5 with SMTP id w5mr184342ugm; Tue, 26 Sep 2006 22:23:03 -0700 (PDT) Received: by 10.67.10.20 with HTTP; Tue, 26 Sep 2006 22:23:03 -0700 (PDT) Message-ID: <9623c9a50609262223h3dd4816ak1401b546825982da@mail.gmail.com> Date: Wed, 27 Sep 2006 13:23:03 +0800 From: "Xiao-Feng Li" To: harmony-dev@incubator.apache.org Subject: Re: [DRLVM] (JIRA 1580) write barrier implementation for JET In-Reply-To: <4dd1f3f00609260951y1775c464w7d48a1b687a8af3f@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: <9623c9a50609260217s36fedafcsfecf45c920d6147e@mail.gmail.com> <4dd1f3f00609260951y1775c464w7d48a1b687a8af3f@mail.gmail.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks. Yes, this is supposed to be review by JIT person. On the other hand, if JIT person has better solution, GCv5 would like to use. Anyway we hope write barrier is to be functioning in the DRLVM soon. Thanks, xiaofeng On 9/27/06, Weldon Washburn wrote: > It would probably be best if a JIT person committed this patch. Maybe > Stephan Mishura? > > If its not committed soon, bug me and I will do it. > > > On 9/26/06, Xiao-Feng Li wrote: > > > > Hi, the patch attached in JIRA 1580 (submitted by YuNan) is a write > > barrier implementation for JET that GCv5 is going to use (it doesn't > > impact anything else). It would be great if some commiter can help to > > review and commit it. Thanks. -xiaofeng > > > > http://issues.apache.org/jira/browse/HARMONY-1580?page=all > > > > The patch is against revision revision 442796. > > > > Repeat the desciption of the patch: > > "Attached patch is an implementation of write barrier for JET compiler > > of DRLVM. The patch lets JET to call "gc_requires_barriers()" of GC to > > determine if it needs to insert the write barrier code into the jitted > > code, so it doesn't impact current DRLVM/GC at all. It calls > > gc_heap_slot_write_ref( ) of GC module, which takes three parameters. > > The signature is "void gc_heap_slot_write_ref (Managed_Object_Handle > > p_obj_holding_ref,Managed_Object_Handle *p_slot, Managed_Object_Handle > > p_target)". > > > > The patch is based on revision 442796. We hope it can be committed to > > Harmony soon because GCv5 will be depending on it. We don't use > > existing getaddress__gc_write_barrier_fastcall () in DRLVM because it > > only remembers object rather than the slot, and the name is not > > descriptive. But we may use it later. Thanks." > > > > --------------------------------------------------------------------- > > 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 > > > > > > > -- > Weldon Washburn > Intel Middleware Products Division > > --------------------------------------------------------------------- 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