Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 31443 invoked from network); 17 Apr 2008 12:40:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 12:40:34 -0000 Received: (qmail 38972 invoked by uid 500); 17 Apr 2008 12:40:32 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 38940 invoked by uid 500); 17 Apr 2008 12:40:32 -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 38897 invoked by uid 99); 17 Apr 2008 12:40:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 05:40:32 -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; Thu, 17 Apr 2008 12:39:48 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 80671234C0DA for ; Thu, 17 Apr 2008 05:37:21 -0700 (PDT) Message-ID: <1191217251.1208435841522.JavaMail.jira@brutus> Date: Thu, 17 Apr 2008 05:37:21 -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: -------------------------------------- Issue Type: Sub-task (was: Improvement) Parent: HARMONY-5632 > [classlib][luni][performance] ObjectStreamClass lookup improvement > ------------------------------------------------------------------ > > Key: HARMONY-5633 > URL: https://issues.apache.org/jira/browse/HARMONY-5633 > Project: Harmony > Issue Type: Sub-task > Reporter: Aleksey Shipilev > Assignee: Alexey Varlamov > Fix For: 5.0M6 > > 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.