Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 37329 invoked from network); 3 May 2007 08:17:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 May 2007 08:17:59 -0000 Received: (qmail 88378 invoked by uid 500); 3 May 2007 08:18:03 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 88353 invoked by uid 500); 3 May 2007 08:18:03 -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 88344 invoked by uid 99); 3 May 2007 08:18:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 01:18:03 -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 pmcfirst@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2007 01:17:56 -0700 Received: by an-out-0708.google.com with SMTP id b2so424341ana for ; Thu, 03 May 2007 01:17:35 -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=InIZ5n3es3hzgbfLUbJZo9UC/MoNYcNms4WnpiviYrNidZ4Ujggu/xgLVSCHytM9TVAbCM+y1CHn5JXATZ368OxPsj2fNUmWpcfLgKQdgsCJ5V+Wdl44Sk+s/nZHogKTy34MmOrxDrJ+aNpsvwadno8yrAriTHTE0uKTmTleXSU= 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=o7jjZ5cOCpuuU7kt3S9lB66y8jrmRYNDGdW38SUOGmRVzboNoX/tHvF0j/5YefT494wwcwTbABFie0eqfhcPz8WCKCpp0XPwiOmCccitP7f4GtVdAhkzf7rdI5DRHzNEQ+IKepQFWppOk+MeJgT9AeRm3D3v0bKtbpt5cW1Qagw= Received: by 10.100.121.12 with SMTP id t12mr1290831anc.1178180255452; Thu, 03 May 2007 01:17:35 -0700 (PDT) Received: by 10.100.122.4 with HTTP; Thu, 3 May 2007 01:17:35 -0700 (PDT) Message-ID: Date: Thu, 3 May 2007 12:17:35 +0400 From: "Pavel Pervov" To: dev@harmony.apache.org Subject: Re: [drlvm][jvmti] RedefineClasses. In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24955_5463625.1178180255270" References: <0vqslagsa75.fsf@gmail.com> <46382A1D.8000009@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_24955_5463625.1178180255270 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline George, Constant pool indexes are used in class' bytecodes. We should either: 1) parse methods bytecodes in class file parser and provide per-instruction interface to all other users of bytecode. 2) "Patch" bytecode with 32-bit constant pool indexes. Both will affect EEs and verifier. I, personally, would prefer the first one, cause it will allow to remove four other bytecode parsers we have now. Pavel. On 5/3/07, George Timoshenko wrote: > > I see now. Thanks for clarification. > > As we are using "merged cp" inside DRLVM, can we just not take care of > exceeding 16-bit boundary and keep cp indexes as 32-bit values? > > Or we export this information somewhere...? > > > Pavel Pervov wrote: > > In current codebase "merged" constant pool will cause many problems for > > interpreter and one problem for JIT - if call to > "throw_linking_exception" > > stub is compiled into some method. As you may remember it contains > > immediate > > value of constant pool index of a referenced class. > > > > Also, Mikhail noted new functionality currently being implemented - lazy > > resolution. It will also be heavily affected with constant pool merging. > > > > Regards, > > Pavel. > > -- Pavel Pervov, Intel Enterprise Solutions Software Division ------=_Part_24955_5463625.1178180255270--