Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 76416 invoked from network); 15 Mar 2007 12:06:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2007 12:06:20 -0000 Received: (qmail 68598 invoked by uid 500); 15 Mar 2007 12:06:25 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 68564 invoked by uid 500); 15 Mar 2007 12:06:25 -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 68531 invoked by uid 99); 15 Mar 2007 12:06:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 05:06:25 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 216.86.168.178 is neither permitted nor denied by domain of geir@pobox.com) Received: from [216.86.168.178] (HELO mxout-03.mxes.net) (216.86.168.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 05:06:12 -0700 Received: from [10.6.13.34] (unknown [216.174.90.9]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 0F66F5194D for ; Thu, 15 Mar 2007 08:05:50 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <906dd82e0703140406w4bfbb79en1dd5b8f906f5e599@mail.gmail.com> References: <906dd82e0703140406w4bfbb79en1dd5b8f906f5e599@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Geir Magnusson Jr." Subject: Re: [DRLVM] contribution of alternative bytecode verifier Date: Thu, 15 Mar 2007 07:19:07 -0400 To: dev@harmony.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org THis is great - it will be interesting to see what/if the TCK says about it. geir On Mar 14, 2007, at 7:06 AM, Mikhail Loenko wrote: > 2007/3/14, Petrashkova, Vera Y : >> >> Here are the results of VTS tests running: >> 4320 VTS tests were run >> 4183 - passed on DRLVM >> 4234 - passed on DRLVM with alternative bytecode verifier > > Thanks, Vera! > > So, some words about the contribution (H-3363) > > As you probably know classic implementation of verifier requires > complex time and memory consuming dataflow analysis that generates a > proof of type safety. > > Some alternative approaches, for example CLDC verifier, require the > class file to be annotated with the proof of type safety. To make sure > the byte code is valid, verifier just validates the proof. That > validation is fast and does not require much memory. > > The contributed verifier is a new verification approach based on > Constraint Propagation. It takes the original Java Class File > containing no additional information. For that class file it neither > generates a direct proof of its validness nor validates any existing > proof. > > Instead it generates a proof that a proof of validness does exist :) > > The approach results in significant performance and memory footprint > advantage over regular verification. > > I'm finishing a document describing new verification in more details > and going to put it into the Harmony docs > > Thanks, > Mikhail