Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 43012 invoked from network); 18 May 2007 08:13:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 May 2007 08:13:52 -0000 Received: (qmail 53610 invoked by uid 500); 18 May 2007 08:13:57 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 53412 invoked by uid 500); 18 May 2007 08:13:56 -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 53403 invoked by uid 99); 18 May 2007 08:13:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2007 01:13:56 -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 mike.fursov@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; Fri, 18 May 2007 01:13:49 -0700 Received: by py-out-1112.google.com with SMTP id p76so1151350pyb for ; Fri, 18 May 2007 01:13:29 -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=dQATjsOJuHsTcHrvnvBnpq31UGzevN73OqbE8kudmo2IJG0f3E4hZgFv9iLcMgozY56gE7POFPIpTSmT5WWJJtho+NZMocELf1Jk89+Z14KWeQpUl6ShYVrA/yEE6xwUV/FTqLBsA6rqrG0//iMjw6I/E0XzJ1GRazmy2Q2A7ao= 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=lmMlPAviRoezEcTN2zj4lLEh3G5X76eq8SWVwQM9ZN0vmIVOrk0BQrH1jaiMmMAqLB0gM2p7jyRISFuxHgLHG5e5NrKe9AHoUVJZEp97B/zefufjGBIjKj1pCMsN8e4M2ofG4bO1TaU0Tr2Ak20W+WRd0znuui9bJMuBpLaNmHA= Received: by 10.35.101.1 with SMTP id d1mr2372364pym.1179476009130; Fri, 18 May 2007 01:13:29 -0700 (PDT) Received: by 10.35.36.9 with HTTP; Fri, 18 May 2007 01:13:28 -0700 (PDT) Message-ID: Date: Fri, 18 May 2007 15:13:28 +0700 From: "Mikhail Fursov" To: dev@harmony.apache.org Subject: Re: [drlvm][jit][performance] Suggestion: Let's write some small and hot native(kernel) methods on vmmagics. In-Reply-To: <0vqps4ymvmh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24217_23887824.1179476008908" References: <253b20230705170751v540cf115w2236040f9302d7f@mail.gmail.com> <253b20230705170811i21c9e48fsca07fbb715764c2f@mail.gmail.com> <0vqps4ymvmh.fsf@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_24217_23887824.1179476008908 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 18 May 2007 00:36:06 -0700, Egor Pasko wrote: > > On the 0x2D9 day of Apache Harmony Mikhail Fursov wrote: > > On 5/18/07, Alexey Varlamov wrote: > > > > > > As long as annotations are not a part of specifications, and magic > > > impls are general enough to not depend on runtime configuration > > > (particular VM components etc), this approach looks neat. > > > Another issue with using arbitrary magics is potential risk of > > > security breaches; we need to think how to control & restrict origin > > > of magic codes - like allowing only predefined bootstrap packages a la > > > "org.apache.harmony.security.fortress" or introducing & checking > > > dedicated security permissions. > > > > > > It's good to restrict magics to be used only in bootstrap classes. In > this > > case I see no security problems. (?) > > Does The Standard allow extra unspecified annotations in bootstrap > classes? I know that it does not say anything about privates. With help of @Inline pragma it's enough. -- Mikhail Fursov ------=_Part_24217_23887824.1179476008908--