Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 61912 invoked from network); 23 Sep 2006 14:22:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Sep 2006 14:22:08 -0000 Received: (qmail 53041 invoked by uid 500); 23 Sep 2006 14:22:02 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 52988 invoked by uid 500); 23 Sep 2006 14:22:02 -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 52977 invoked by uid 99); 23 Sep 2006 14:22:01 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Sep 2006 07:22:01 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=pmcfirst@gmail.com; domainkeys=good Authentication-Results: idunn.apache.osuosl.org smtp.mail=pmcfirst@gmail.com; spf=pass X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.166.182 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.166.182] ([64.233.166.182:55369] helo=py-out-1112.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 54/CC-27820-80345154 for ; Sat, 23 Sep 2006 07:22:00 -0700 Received: by py-out-1112.google.com with SMTP id c30so1774547pyc for ; Sat, 23 Sep 2006 07:21:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GzWY71ezopDISWQ12FuYu08Yw/YM0IfK+IoUdAMsu7c3/hq+4uxCm2e1WpyFZQXVTWeIDl3p6OOkdzfBXeQ8wo8MXLq8g8uzczP5hHGtgtNHZ1hPsboJEyB86ymtDv5jOXJ/SCL5xEus/R+3LkwosasfytAp2yyVmrX2pcVTSWU= Received: by 10.35.22.3 with SMTP id z3mr3241147pyi; Sat, 23 Sep 2006 07:21:57 -0700 (PDT) Received: by 10.35.31.10 with HTTP; Sat, 23 Sep 2006 07:21:57 -0700 (PDT) Message-ID: Date: Sat, 23 Sep 2006 18:21:57 +0400 From: "Pavel Pervov" To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] Cleaning insides of Class.h header In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6058_3996790.1159021317251" References: X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_6058_3996790.1159021317251 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Created Harmony-1558 [1] with the intention to attach all patches to it. "Step 1" patch attached - interested parties can review. Regards, Pavel. [1] https://issues.apache.org/jira/browse/HARMONY-1558 On 7/24/06, Pavel Pervov wrote: > > Hello, all. > > I would like to work on cleaning the insides of Class.h header file. > > This header is related to internal representation of java class inside th= e > VM. Currently it contains all entities for internal class representation: > class itself, constant pool, members (field, method), exceptions handler, > vtable and so forth. > > First thing I would like to do is to split the file into a group of files= , > each of which would contain only one entity (and some closely related > entities, if any). This would produce the following headers: > 1) Class.h =96 constant pool and class > 2) vtable.h =96 vtable > 3) class_member.h =96 field and method entities descriptors, except= ion > handler descriptor > 4) cci.h =96 code chunk entity (part of compiled method code) > > Second thing to do is to throw away members (and other stuff), which are > not used anymore and the only reason they are still there is history or t= hey > do not belong to these files. > > Third thing to do is to make all these entities C++ objects. Currently, > member variables of all listed entities are used arbitrarily throughout > DRLVM code. I would like to regularize usage and, also, document internal= s > of these entities. > > Certainly, I'll do all these changes step-by-step with little patches > coming in. > > Regards, > Pavel Pervov > Intel Middleware Products Division. > > ------=_Part_6058_3996790.1159021317251--