Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 82988 invoked from network); 10 Dec 2008 03:17:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Dec 2008 03:17:10 -0000 Received: (qmail 8128 invoked by uid 500); 10 Dec 2008 03:17:22 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 8117 invoked by uid 500); 10 Dec 2008 03:17:22 -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 8104 invoked by uid 99); 10 Dec 2008 03:17:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2008 19:17:22 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED 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, 10 Dec 2008 03:17:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 464C7234C2B4 for ; Tue, 9 Dec 2008 19:16:44 -0800 (PST) Message-ID: <753788846.1228879004286.JavaMail.jira@brutus> Date: Tue, 9 Dec 2008 19:16:44 -0800 (PST) From: "Wenlong Li (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-6039) Implement on-demand class library parsing to avoid unnecessary jar/zip parsing during startup MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Implement on-demand class library parsing to avoid unnecessary jar/zip parsing during startup --------------------------------------------------------------------------------------------- Key: HARMONY-6039 URL: https://issues.apache.org/jira/browse/HARMONY-6039 Project: Harmony Issue Type: Improvement Components: VM Environment: Conduct experiments on Windows XP, Core 2 Quad-core machine Reporter: Wenlong Li During VM creation, Harmony will parse all class libraried defined in bootclasspath.properties under jre/lib/boot directory. However, not all class libraries are accessed during startup. That means, it is not necessary to open and resolve all these class libraries. In this patch, we implement the on-demand jar parsing. We leverage the class library info defined in the manifest file of each module. For a request class, if it is not available in existing class table, we then parse its class library info, and check which module contains this requested class. That is, we parse the class library on demand. Using on-demand class library parsing, we can reduce the VM creation time from 20+ seconds to 3 seconds. We enable this feature into reading boot class path option, and it can be disabled by using -Xbootclasspath option. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.