From dev-return-28220-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Mon Jul 02 14:12:40 2007 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 24162 invoked from network); 2 Jul 2007 14:12:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2007 14:12:39 -0000 Received: (qmail 78387 invoked by uid 500); 2 Jul 2007 14:12:39 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 78364 invoked by uid 500); 2 Jul 2007 14:12:39 -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 78246 invoked by uid 99); 2 Jul 2007 14:12:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 07:12:38 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of vladimir.k.beliaev@gmail.com designates 64.233.166.176 as permitted sender) Received: from [64.233.166.176] (HELO py-out-1112.google.com) (64.233.166.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2007 07:12:34 -0700 Received: by py-out-1112.google.com with SMTP id u77so3060905pyb for ; Mon, 02 Jul 2007 07:12:13 -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=Cz0hnTAx1i4Cg7C5rbwWCUogaoNl0H6OSbodaAHC38GX26TJ7JY2SI7wTpV228DXG8VWpby2bumZsgZ0ZyXL7AVZVSXjwjinn7NndilcaDG10fyVL5UX3t6w5UuRQQrEfqlbw3wedLjuK4Fdj0yYI+RbETrdG5sbWiFngB3xgJ0= 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=PZzFqdvb0OD8OHFkB5da+nYsPjkWMlCwRrtxQRW1FE13fdbCkzhftvEDUCQA5vgela4gHSmvQQXQ5VA+XXU6joqTt5h7hDM9JHonUUVCiNcosBvC2tjsMiRXB7sh2piVlFi/6cyL/7a+KLEM4Fe/cx3d6ANUTbZtPSURfDoLMj0= Received: by 10.35.51.19 with SMTP id d19mr5983628pyk.1183385533468; Mon, 02 Jul 2007 07:12:13 -0700 (PDT) Received: by 10.35.27.8 with HTTP; Mon, 2 Jul 2007 07:12:13 -0700 (PDT) Message-ID: <587698b80707020712l511520a1vf892b67a2fd84f58@mail.gmail.com> Date: Mon, 2 Jul 2007 18:12:13 +0400 From: "Vladimir Beliaev" To: dev@harmony.apache.org Subject: Re: [drlvm][init] -XX:vm.dlls is proposed to be -XX:gc.dll In-Reply-To: <587698b80706270633n7fb7e54m6c05cbb41f062107@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_69634_16451108.1183385533393" References: <587698b80706250827h7e828f4avee060f4b1404e401@mail.gmail.com> <9623c9a50706251702u6688737ck40a5399d87d7ca3@mail.gmail.com> <587698b80706270633n7fb7e54m6c05cbb41f062107@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_69634_16451108.1183385533393 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The patch is attached to http://issues.apache.org/jira/browse/HARMONY-3934 Thanks Vladimir Beliaev 2007/6/27, Vladimir Beliaev : > > Thank you for answer, Xiao Feng. > > Since nobody objects I'm preparing property renaming patch... > > Automated scripts holders - please be aware about this & get the related > scripts ready for update. > (I thing running with gc_cc.dll scripts are to be affected only) > > Thanks > Vladimir Beliaev > > 2007/6/26, Xiao-Feng Li : > > > > Makes sense to me. The original option has unclear semantics. If some > > dlls are needed, they should be loaded by their requestor explicitly > > or by their requestor's command option. For example, if gc needs > > additional dlls, it can specify that as -XXgc.other_dlls=xxx; but this > > is a gc specific option, there is no need for the VM to have a general > > option for them. > > > > Thanks, > > xiaofeng > > > > On 6/25/07, Vladimir Beliaev wrote: > > > *I'd like to rename -XX:vm.dlls to -XX: gc.dll, because:* > > > (I'm reposting my question in the e-mail with right subject...) > > > > > > right now the http://harmony.apache.org/cmd_options.html says about > > this > > > property: > > > > > > *-XX:vm.dlls= * A PATH_SEPARATOR-delimited list of modular > > dynamic > > > libraries (GC/etc.) to load at startup. > > > > > > In fact its default value is "gc_gen.'. If one sets it to any > > valid > > > 'foo.' (like -XX:vm.dlls="foo.dll") then the "gc*.dll" is not > > found, > > > "gc_init" function pointer is not set & DRLVM crashes with 0x00000 > > address > > > access (HARMONY-3934)... Also there can be only 1 GC.dll in DRLVM now, > > so it > > > should be "gc.dll" but not a not a "gc.dlls"... > > > > > > So in fact this 'vm.dlls' property semantics is: "set GC dll here". > > *That's > > > why I propose to rename it.* > > > > > > *Please pay attention that:* > > > > > > 1. it would affect the "running scripts" (like Cruise Control ones) - > > please > > > speak up if you have a procedure proposal for this renaming (or we > > just may > > > agree on commit time). > > > > > > 2. one may use this -XX:vm.dlls to set own DLL (other then GC one) - > > please > > > speak up if it is true & provide the particular example. > > > > > > *Please note that we also have:* > > > > > > -XX:em.dll= to set Execution Manager dynamic library > > > -XX:vm.other_natives_dlls= - I know the use case: set > > the > > > classlib native libraries to be preloaded during VM startup (I need to > > > > > double check if it is still used)... > > > > > > Thanks > > > -- > > > Vladimir Beliaev > > > Intel Middleware Products Division > > > > ------=_Part_69634_16451108.1183385533393--