Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 92385 invoked from network); 21 Sep 2006 13:55:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2006 13:55:40 -0000 Received: (qmail 37670 invoked by uid 500); 21 Sep 2006 13:55:37 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 37623 invoked by uid 500); 21 Sep 2006 13:55:36 -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 37611 invoked by uid 99); 21 Sep 2006 13:55:36 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Sep 2006 06:55:36 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=geir@pobox.com; spf=unknown X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received-SPF: unknown (idunn.apache.osuosl.org: domain pobox.com does not designate 216.86.168.178 as permitted sender) Received: from [216.86.168.178] ([216.86.168.178:2978] helo=mxout-03.mxes.net) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 3A/8C-04092-EB992154 for ; Thu, 21 Sep 2006 06:55:13 -0700 Received: from [192.168.1.103] (unknown [67.86.14.219]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 68D7351937 for ; Thu, 21 Sep 2006 09:54:39 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: References: <644754AA-5CEA-4084-A137-8065B7380AA6@uiuc.edu> <17F58FF5-549E-48E2-B766-CA0C8EBD92D1@uiuc.edu> <952DF2D2-35E5-422E-85FC-F793150B75D0@pobox.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <91D838F3-4507-42B9-8581-09782B97312E@pobox.com> Content-Transfer-Encoding: 7bit From: "Geir Magnusson Jr." Subject: Re: [drlvm][jit] array bounds check implementation Date: Thu, 21 Sep 2006 09:54:42 -0400 To: harmony-dev@incubator.apache.org X-Mailer: Apple Mail (2.752.2) X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sep 21, 2006, at 8:01 AM, Anton Luht wrote: > Hello, Egor, > >> > Isn't that really just "faith based"? What if you really do have a >> > very large upper bound? >> >> upper bounds are not larger than Integer.MAX_VALUE, and any negative >> value in unsigned arithmetic is larger. I love this hack. > > Maybe it's worth to comment it and other tricks like this? Seems it's > not too obvious :) I agree. As long as you are utterly convinced that this hack won't fail (rather than it be highly unlikely), sure... > > -- > Regards, > Anton Luht, > Intel Middleware Products Division > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org > For additional commands, e-mail: harmony-dev-help@incubator.apache.org > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org