Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 71082 invoked from network); 9 Apr 2008 12:55:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Apr 2008 12:55:14 -0000 Received: (qmail 2782 invoked by uid 500); 9 Apr 2008 12:55:13 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 2755 invoked by uid 500); 9 Apr 2008 12:55:13 -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 2737 invoked by uid 99); 9 Apr 2008 12:55:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Apr 2008 05:55:13 -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 Apr 2008 12:54:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B598234C0C9 for ; Wed, 9 Apr 2008 05:52:24 -0700 (PDT) Message-ID: <1369235092.1207745544635.JavaMail.jira@brutus> Date: Wed, 9 Apr 2008 05:52:24 -0700 (PDT) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5633) [classlib][luni][performance] ObjectStreamClass lookup improvement In-Reply-To: <311406382.1206301884373.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-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aleksey Shipilev updated HARMONY-5633: -------------------------------------- Attachment: serial-lookupClass-RC3.patch serial-lookupClass-RC3.patch RC2 + preserving incapsulation with private cache Alexei? > [classlib][luni][performance] ObjectStreamClass lookup improvement > ------------------------------------------------------------------ > > Key: HARMONY-5633 > URL: https://issues.apache.org/jira/browse/HARMONY-5633 > Project: Harmony > Issue Type: Improvement > Reporter: Aleksey Shipilev > Attachments: 0001-serial-lookupClass.patch, serial-lookupClass-RC1.patch, serial-lookupClass-RC2.patch, serial-lookupClass-RC3.patch > > > For now, ObjectStreamClass (OSC) is created on-the-fly during serialization/deserialization and stored in static cache. > Performance problems arose when several threads doing the lookups, hitting on synchronized cache. Moreover, the cache is built around WeakHashMap to ensure GC of OSCs. This issue is the source of scalability problems for multi-threaded serialization benchmarks. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.