From commits-return-52701-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Tue Apr 01 14:46:50 2008 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 96702 invoked from network); 1 Apr 2008 14:46:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Apr 2008 14:46:50 -0000 Received: (qmail 2633 invoked by uid 500); 1 Apr 2008 14:46:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 2615 invoked by uid 500); 1 Apr 2008 14:46:50 -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 2606 invoked by uid 99); 1 Apr 2008 14:46:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 07:46:49 -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; Tue, 01 Apr 2008 14:46:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6F1C0234C0B4 for ; Tue, 1 Apr 2008 07:44:25 -0700 (PDT) Message-ID: <1964138145.1207061065454.JavaMail.jira@brutus> Date: Tue, 1 Apr 2008 07:44:25 -0700 (PDT) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-5633) [drlvm][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:comment-tabpanel&focusedCommentId=12584162#action_12584162 ] Aleksey Shipilev commented on HARMONY-5633: ------------------------------------------- Nathan, 1) Patch breaks specification while declaring non Java-spec public method in Class. 2) MT/SerialBench is custom multithreaded harness, inspired by JBoss serialization benchmark. You may see it in the parent issue HARMONY-5632. I have more clear idea how to implement this patch - ClassLocalStorage (like the ThreadLocalStorage) - will follow up soon. > [drlvm][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 > > > 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.