Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 6968 invoked from network); 13 Jun 2007 08:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2007 08:34:53 -0000 Received: (qmail 17726 invoked by uid 500); 13 Jun 2007 08:34:54 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 17707 invoked by uid 500); 13 Jun 2007 08:34:54 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 17670 invoked by uid 99); 13 Jun 2007 08:34:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 01:34:54 -0700 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=HTML_MESSAGE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mike.fursov@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2007 01:34:50 -0700 Received: by py-out-1112.google.com with SMTP id a29so208221pyi for ; Wed, 13 Jun 2007 01:34:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FL4GceAj5TQ9UsMKkTxAOKlCUUHH30wbAWuTyob0j3cpYnUPIuhBOvH9hMPJSFEnnPcheh/nBw51c4kmCHub4VfJioH08TkMnFX9e15dZqT9qCa41XmCQuh7v3Bi6jRLwEYOuFKlHqFRvygBduHuvPevOce2UXDTEDZkvkXmKrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jF0V9K+wfaeWfyAkK+vcrucn9LxCdCSURhPkjjBcee+NEWLeG/Sg7fkEpe89wUXm+5EZNMRL7hte9mrLmR4VRFQtFzMn2e1PHpl/AyGMy+f6va4zbvTl6VWuhzh7ngfrMLp4K3JPhQa35gUbF6M/4ap8AmfQFDbgugmemn+lr/0= Received: by 10.35.105.18 with SMTP id h18mr804734pym.1181723668717; Wed, 13 Jun 2007 01:34:28 -0700 (PDT) Received: by 10.35.28.6 with HTTP; Wed, 13 Jun 2007 01:34:28 -0700 (PDT) Message-ID: Date: Wed, 13 Jun 2007 15:34:28 +0700 From: "Mikhail Fursov" To: dev@harmony.apache.org Subject: Re: [jitrino] synchronization optimization In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13826_16075582.1181723668656" References: <469bff730706122319h7ca3414le6fe1bbe335d32bc@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13826_16075582.1181723668656 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Estelle, We have another low-level optimization for monenter and monexit opcodes: inlining the implementations of these helpers. See vm\thread\javasrc\org\apache\harmony\drlvm\thread\ThreadHelper.java and vm\jitrino\src\optimizer\helper_inliner.cpp for details. On 6/13/07, Estelle Liu wrote: > > Thanks,Pavel, > Our group is interested in concurrency analysis,and try to do some > optimizations on that issue in JIT in the future. We intend to > get acquainted with the knowledge on the synchronization > optimizations available in JIT. And we'll appreciate that if you could put > your improving code in JIRA. > > > 2007/6/13, Pavel Ozhdikhin : > > > > Estelle, > > > > I doubt you'll find someone here who knows for sure what it does. :) > > As you can see 'syncopt' is not used in any of current emconf configs. > > It does not give any benefit on IA32/EM64T, though it still in the > > code base to check it on IPF. > > > > There is a syncopt2 optimization whose goal is to remove nested > > synchronization on the same monitor but it's still incomplete. I plan > > to get back to synchronization optimizations some time and implement > > removal of nested and repetitive synchronizations - something similar > > to what is described in [1]. I even implemented a part of this some > > time ago but then distracted to more urgent JIT tasks. > > > > What is your interest in synchronization optimizations? If you would > > like to work on improving syncopt I can put my code in JIRA. > > > > Thanks, > > Pavel > > > > [1] "Automatically Reducing Repetitive Synchronization with a > > Just-in-Time Compiler for Java", Mark Stoodley, Vijay Sundaresan > > > > > > On 6/11/07, Estelle Liu wrote: > > > hi,all, > > > > > > I noticed there is a optimization pass "syncopt pass", but I did > > > master what work does it do. Could anyone give me some information > about > > > it? > > > > > > -- > > > Estelle > > > > > > > > > -- > Estelle > -- Mikhail Fursov ------=_Part_13826_16075582.1181723668656--