Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 48092 invoked from network); 6 Nov 2006 11:50:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2006 11:50:04 -0000 Received: (qmail 65525 invoked by uid 500); 6 Nov 2006 11:50:13 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 65219 invoked by uid 500); 6 Nov 2006 11:50:11 -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 65209 invoked by uid 99); 6 Nov 2006 11:50:11 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 03:50:11 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Nov 2006 03:49:59 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gh2yk-00050e-2s for harmony-dev@incubator.apache.org; Mon, 06 Nov 2006 12:49:26 +0100 Received: from msfwpr01.ims.intel.com ([62.118.80.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Nov 2006 12:49:26 +0100 Received: from alex.astapchuk by msfwpr01.ims.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Nov 2006 12:49:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: harmony-dev@incubator.apache.org From: Alex Astapchuk Subject: Re: [drlvm][jit] Moving jet to the top level of drlvm... Date: Mon, 06 Nov 2006 17:48:46 +0600 Lines: 51 Message-ID: References: <454F0CF7.3020702@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: msfwpr01.ims.intel.com User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) In-Reply-To: <454F0CF7.3020702@pobox.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Geir Magnusson Jr. wrote: > > > Alex Astapchuk wrote: >> Pavel Pervov wrote: >>> Hello, community, >>> >>> Working through DRLVM sources I (once again) looked at organization of >>> jitrino code. >>> >>> Actually, there are two JITs hidden inside "jitrino": JET and OPT. >>> >>> As far as I may observe - these two are code-independent from each >>> other. >>> >>> JIT-guys, could you comment? >>> >>> If I'm right here I would vote for moving them to top level of >>> drlvm/trunk/vm directory to clearly indicate we have two JITs in DRLVM. >> >> There are no two JITs, actually. We call them 'compilation paths'. >> 'jet' here stands for 'Jitrino Express compilation paTh'. >> >> As Mikhail already mentioned they share significant parts like >> logging, PMF, multi-threaded stuff, guard locks, etc. >> >> The difference in codebases, came from their targets - the .jet was >> heavily tuned for very fast compilation, resulting to that many virtual >> interfaces used in .opt were substituted with direct calls to VM. >> >> Personally, I don't see any *practical* reason to separate .jet and .opt. >> > > The practical reason is to start convincing ourselves of the modularity. Ugh. 'Modularity' is good word, I like it. Especially taking into account that no one can measure it. Can you? :-) Moving jet around will give nothing useful. Neither in a short-term nor in a longer perspective. But will take an efforts and add a mess and maybe code duplicate from Jitrino codebase. Jitrino itself is modular enough - again, the JET was not intended as a separate JIT. It's only purpose was (and still is) to be a front-line for Jitrino's main engine - to speed up client apps startup. Absolutely no reason to have it separately. -- Thanks, Alex