Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 11409 invoked from network); 4 Mar 2008 00:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Mar 2008 00:18:35 -0000 Received: (qmail 67718 invoked by uid 500); 4 Mar 2008 00:18:30 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 67690 invoked by uid 500); 4 Mar 2008 00:18:30 -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 67681 invoked by uid 99); 4 Mar 2008 00:18:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2008 16:18:29 -0800 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 nbeyer@gmail.com designates 209.85.142.190 as permitted sender) Received: from [209.85.142.190] (HELO ti-out-0910.google.com) (209.85.142.190) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Mar 2008 00:17:55 +0000 Received: by ti-out-0910.google.com with SMTP id d10so532911tib.18 for ; Mon, 03 Mar 2008 16:18:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=RC9935mxxf6dBPhAneS3kQZXR5v7yOxUYL92r6BBCuQ=; b=pwo+toTTnRee+g5fGtSrgqnhcMNiZlv7jDodZJ4AdGIf/Ov3IE2ABz0ZkV8utzmUu5SzrErpw1jTqpu76QHaaFR39PlGPmH+w3pDBHJKigakkB48ru3OC7VSzo0MHYZCmCBuPbHflZWeIXO8zTmADWzkCW/DUfDsPR1O54assiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dSuoupy2juiFjXAiaiWIavQTzE77OH+6fObMtBPDrTxcyb/kXJW62RxTmmDahv/aiVETpzfOxfTZ43DMc6wDpgnUK3eN9gY46s4PlQ8Py8I8mY6pxZlNg+D2+T1/wlVWxmFyFMPSOh8y05reo0YakUFNuFDpv1lsG68Crka7XpQ= Received: by 10.150.199.21 with SMTP id w21mr351889ybf.8.1204589882086; Mon, 03 Mar 2008 16:18:02 -0800 (PST) Received: by 10.150.151.21 with HTTP; Mon, 3 Mar 2008 16:18:02 -0800 (PST) Message-ID: <3b3f27c60803031618l59f98f0bx1a0bd38f3569bf55@mail.gmail.com> Date: Mon, 3 Mar 2008 18:18:02 -0600 From: "Nathan Beyer" To: dev@harmony.apache.org Subject: Re: [classlib][build] build class library in release mode with line numbers only. In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47C722B9.8010108@apache.org> <3b3f27c60802291855t704c1121udfb68deb4e1e3c52@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org What's the distinction between a release and debug build in this case? >From the point of view of the federated build and the classlib build, that is. Is release the default? One concern is the loss of line numbers from stack information; is that lost too? My other thought is that ALL of our builds are still "debug", including our milestones. That may just be my opinion though. I'm not too worried about, just weighing in. -Nathan On Mon, Mar 3, 2008 at 3:58 AM, Pavel Pervov wrote: > Nathan, > > The patch is not in yet. > The idea of debugging release build of class library looks somewhat > peculiar to me. > > Do I miss some scenario here? > > Should we introduce build switch to make it possible to add LVT > information to release if required? > > Pavel. > > > > On 3/1/08, Nathan Beyer wrote: > > It may be too late, but I vote -1 on this change. 1.5M reduction > > doesn't offset the loss of no longer seeing the local variables during > > debug. > > > > -Nathan > > > > On Thu, Feb 28, 2008 at 3:08 PM, Gregory Shimansky > > wrote: > > > Alexey Petrenko said the following on 28.02.2008 16:52: > > > > > > > Will Eclipse debug work with the release build of Harmony in this case? > > > > > > It will but with absence of local variable tables it probably won't show > > > local variables in context. > > > > > > > > > > 2008/2/28, Pavel Pervov : > > > >> I would like to propose the following improvement to class library > > > >> build - build in release with only line number information in .class > > > >> files. > > > >> > > > >> It saves ~1.5MB in jre size. > > > >> > > > >> If no objections then I'll commit HARMONY-5558. > > > >> > > > >> P.S. The patch in that JIRA introduces switchable compression for jar > > > >> files containing class library classes. Default mode is kept > > > >> compressed. > > > > > > > > > -- > > > Gregory > > > > > > > > > > > -- > Pavel Pervov, > Intel Enterprise Solutions Software Division >