Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 62926 invoked from network); 12 Aug 2009 00:32:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 00:32:52 -0000 Received: (qmail 86726 invoked by uid 500); 12 Aug 2009 00:29:26 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 86057 invoked by uid 500); 12 Aug 2009 00:29:24 -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 85125 invoked by uid 99); 12 Aug 2009 00:24:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 00:24:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xiaofeng.li@gmail.com designates 74.125.92.148 as permitted sender) Received: from [74.125.92.148] (HELO qw-out-1920.google.com) (74.125.92.148) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 00:24:22 +0000 Received: by qw-out-1920.google.com with SMTP id 5so2104210qwf.24 for ; Tue, 11 Aug 2009 17:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cLEyMERjKvbXIvJMaLbm/qxqiuCZOZo8DueC29jLveg=; b=gR+UpuO/tWOE56Tjdp307hm/IUAnYMDvCjUvBk7daSh3ni6Hhmx+i/SymFdHn0ZKPZ Rq6WDIZSfb21nAIVnUP2YO9o1cMsiREwBA5hpaZavXcLkzUe8WzInDyGVm0OltCvgFN9 pE+bkFKfoj0FTNRWXccYLObdfyWw6Wn2CMqBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=SKRzIowZu41aNlRQPEi2mHO7IvuEjeMW6ChmNH3O/8ZUfq1VGJy4+w1NipCNH0Srqn TO5+CJgCccV1lcRVinuopzYVdbuIUOn2h50h2UNOHmxpUqapKA7pUI19Ji6n+72aPfTV GjkBCjOEwkGgwfes5o9HHWM4Ih8h4w84MbO40= MIME-Version: 1.0 Received: by 10.229.93.4 with SMTP id t4mr124124qcm.93.1250036641406; Tue, 11 Aug 2009 17:24:01 -0700 (PDT) In-Reply-To: <4A8179FC.9010409@googlemail.com> References: <4A8179FC.9010409@googlemail.com> Date: Wed, 12 Aug 2009 08:24:01 +0800 Message-ID: <9623c9a50908111724v7c5c4f08j2bfc1f97a65be4af@mail.gmail.com> Subject: Re: [drlvm] Thread library function table added From: Xiao-Feng Li To: dev@harmony.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Oliver, I support this idea. Thanks, xiaofeng On Tue, Aug 11, 2009 at 10:02 PM, Oliver Deakin wrote: > Hi all, > > I have added an implementation of the thread library function table for > DRLVM which can be enabled by building with the "-Dhy.no.thr=true" flag > specified on the Ant command line. This means we no longer need to build the > classlib thread library in the federated build, and we also no longer need > to copy the DRLVM hythr library into jre/bin (although I havn't changed the > build to not do the copy yet). I have temporarily set the hythr library > version to 0.2 so that the federated build can be run with and without the > hy.no.thr flag set. > > This opens a couple of questions for discussion: > 1) Shall we set the hy.no.thr option to true as default? I personally think > we should - the classlib hythr library is not used in the federated builds, > so there is no reason to continue building it. > 2) Shall we remove the thread library from classlib altogether? If > hy.no.thr=true becomes the default, I can see reasons for and against [1] > removing the source from classlib, but I think the reasons to remove the > code outweigh the reasons to keep it. My vote is to remove that source > module from classlib altogether. > > Ideas/comments? > > Regards, > Oliver > > [1] A few I can think of straight off: > For: > - Unused thread library code in classlib is unlikely to be maintained. > - Some classlib thread code is incorrect (x86_64 linux has some invalid > assembler code I believe). > - Shrinks the source tree footprint. > - All VMs will likely have their own implementation of this functionality > anyway. > Against: > - Raises the bar slightly for VM vendors wishing to use the Harmony class > libraries. > > > -- > Oliver Deakin > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire > PO6 3AU > > -- http://people.apache.org/~xli