Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 65176 invoked from network); 6 Jun 2005 16:27:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2005 16:27:53 -0000 Received: (qmail 85367 invoked by uid 500); 6 Jun 2005 16:27:47 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 85284 invoked by uid 500); 6 Jun 2005 16:27:46 -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 85267 invoked by uid 99); 6 Jun 2005 16:27:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of davanum@gmail.com designates 64.233.170.196 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.196) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Jun 2005 09:27:44 -0700 Received: by rproxy.gmail.com with SMTP id 40so167509rnz for ; Mon, 06 Jun 2005 09:27:30 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JeGBrEiBLsbKqX5FOCUpHXo9Bx3FXwwzYGW7keTKi1WRhWqOiuVasFco55ovgPA41GtzHMym8zBZHIDl4bjt/8f8NszjIWcy2gGyebsc6W/GkEwa1GShzBvB51J43cIgk8iYeVN7Wreyl3EoCuTRPEPizqcoVMM5YABaHhQ0DY0= Received: by 10.38.6.14 with SMTP id 14mr114510rnf; Mon, 06 Jun 2005 09:27:30 -0700 (PDT) Received: by 10.38.8.11 with HTTP; Mon, 6 Jun 2005 09:27:30 -0700 (PDT) Message-ID: <19e0530f050606092745a25912@mail.gmail.com> Date: Mon, 6 Jun 2005 12:27:30 -0400 From: Davanum Srinivas Reply-To: dims@apache.org To: harmony-dev@incubator.apache.org Subject: Re: Other interesting papers and research In-Reply-To: <20050606.223052.304097499.shudo@aist.go.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050606.213444.607090211.shudo@aist.go.jp> <20050606.223052.304097499.shudo@aist.go.jp> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Found a paper from David too... http://www.research.ibm.com/people/d/dgrove/papers/cgo05.html On 6/6/05, shudo@computer.org wrote: > Hi Rob, >=20 > > From: Robert Lougher > > Date: Mon, 6 Jun 2005 14:58:45 +0100 >=20 > > > > One thing to > > > > note is that a threaded interpreter would see something like a 2-4x > > > > expansion over "normal" bytecodes when it converts from bytecodes t= o its > > > > internal form (arrays of function pointers). > > > > > > Direct threading interpreters like JDK's one work on plain Java > > > bytecode and they do not need to expand normal bytecode instructions. > > > Such expansion may have been required if Java bytecode is not linear > > > and rather a tree or other complicated form. > > > > According to my understanding, an indirect threaded interpreter uses > > the original bytecode stream. It's indirect because the handler > > address must be looked up via the bytecode. >=20 > Ah, thanks for the indication. > My wording 'direct threading' was not correct. >=20 > Threading (interpreting) techniques I referred as implemented in JDKs > should be called 'token threading', neither direct nor indirect threading > because they work directly on bytecode instructions withought any expansi= on. > Note that the interpreter provides NEXT routines to for all native > code fragments corresponding to VM instructions. > For JVM, this wording like something threading is not very informative > because direct interpretation of portable bytecode is naturally > 'token threading'. >=20 > Dave's last posting was based on direct threading technique and his sayin= g > was correct about direct threading but my posting was incorrect in advanc= e. >=20 > Kazuyuki Shudo shudo@computer.org http://www.shudo.net/ >=20 --=20 Davanum Srinivas - http://webservices.apache.org/~dims/