Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 12333 invoked from network); 9 Jul 2008 15:27:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 15:27:54 -0000 Received: (qmail 69518 invoked by uid 500); 9 Jul 2008 15:27:53 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 69232 invoked by uid 500); 9 Jul 2008 15:27:52 -0000 Mailing-List: contact commits-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 commits@harmony.apache.org Received: (qmail 69212 invoked by uid 99); 9 Jul 2008 15:27:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 08:27:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 15:27:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BBFD9234C160 for ; Wed, 9 Jul 2008 08:27:31 -0700 (PDT) Message-ID: <308621451.1215617251769.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 08:27:31 -0700 (PDT) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5902) [classlib][pack200] ClassConstantPool overuses ArrayLists In-Reply-To: <1501829306.1215560313161.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Shipilev updated HARMONY-5902: -------------------------------------- Attachment: pack200-addnested-v1.patch Do we need ArrayList in addNested at all? pack200-addnested-v1.patch eliminates it. Successfully passes JUnit tests and unpacking scenario. > [classlib][pack200] ClassConstantPool overuses ArrayLists > --------------------------------------------------------- > > Key: HARMONY-5902 > URL: https://issues.apache.org/jira/browse/HARMONY-5902 > Project: Harmony > Issue Type: Improvement > Components: Classlib > Affects Versions: 5.0M6 > Environment: Pack200 HEAD > Reporter: Andrew Cornwall > Assignee: Sian January > Priority: Minor > Fix For: 5.0M7 > > Attachments: main.patch, pack200-addnested-v1.patch > > > The class ClassConstantPool uses ArrayList in places where it should use arrays. This patch fixes one of the most egregious offenders. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.