Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 84747 invoked from network); 30 Jan 2007 09:42:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2007 09:42:15 -0000 Received: (qmail 91583 invoked by uid 500); 30 Jan 2007 09:42:19 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 91544 invoked by uid 500); 30 Jan 2007 09:42:19 -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 91535 invoked by uid 99); 30 Jan 2007 09:42:19 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 01:42:19 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ivan.g.popov@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 01:42:11 -0800 Received: by nf-out-0910.google.com with SMTP id a4so143828nfc for ; Tue, 30 Jan 2007 01:41:49 -0800 (PST) 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:content-transfer-encoding:content-disposition:references; b=dS63OcPdQetqk24CywRU9aP/oqaD9WLVtRr8222Qt01J0vUpSeP/fV1p55KWQafrrNlAwRHDenJ1kFr00qq4HrdDvPoxPHX8laXWQMh6n5y99JuekZoouapLRizx8T/8LeMKRZ82yGcJpah/seYHxP0WXb7EsRevvjDlA0kdNV8= Received: by 10.82.113.6 with SMTP id l6mr64389buc.1170150109308; Tue, 30 Jan 2007 01:41:49 -0800 (PST) Received: by 10.82.167.13 with HTTP; Tue, 30 Jan 2007 01:41:49 -0800 (PST) Message-ID: Date: Tue, 30 Jan 2007 15:41:49 +0600 From: "Ivan Popov" To: dev@harmony.apache.org Subject: Re: [drlvm][verifier] verifier behavior is not compatible with RI In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <39C341DB-533A-471F-B99E-687D5DC28B47@pobox.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks, Pavel. I hope this will resolve problem with Java profiler (HARMONY-2905). I think we should also enable option -Xfuture, which is currently rejected by DRLVM, because Java developers may use it in their scripts and environment. I submitted HARMONY-3081, could you please look at it. Thanks. Ivan On 1/30/07, Pavel Rebriy wrote: > Let I try to explain how verifications are working. There are 3 modes of > DRLVM verifier: > > 1. Default mode =96 without any VM control options > > In this mode DRLVM verifier should be compatible with RI default mode. > > 2. With options "=96verify" or "=96Xverify" > > This mode is supposed to verify more strict checks of class file format > (such as correct naming of fields and methods in constant pool), besides > expects verification of classes loaded by bootstrap classloader. > > 3. With options "-Xverify:all" > > This mode is supposed to more strict verification of classes (such as > interface classes' verification). > > Because reference VM doesn't support verification of 'uninitialized this' > class reference under exception handler protection I'm going to move it t= o > mode 3, so check this verification only if option =96Xverify:all is set. > > Such behavior should be compatible with reference VM. > > > On 22/01/07, Geir Magnusson Jr. wrote: > > > > > > On Jan 19, 2007, at 12:51 PM, Gregory Shimansky wrote: > > > > > Ivan Popov wrote: > > >> I'd like to discuss the problem with Eclipse TPTP profiler working > > >> with DRLVM, which is described in HARMONY-2905 [1]. The problem is > > > > > > There is always a workaround to verifier exceptions. You can run > > > the program with -Xverify:none to disable verifier completely. > > > Turning this particular check is simple too. The question is > > > whether this should be a default mode in VM or whether it should be > > > enabled by some special option which doesn't disable all other > > > verifications. > > > > > > > I'm also darn curious why Sun's verifier doesn't have the problem... > > > > geir > > > > > > > -- > Best regards, > Pavel Rebriy > >