Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64003 invoked from network); 18 Sep 2007 16:52:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2007 16:52:04 -0000 Received: (qmail 42709 invoked by uid 500); 18 Sep 2007 16:51:56 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 42692 invoked by uid 500); 18 Sep 2007 16:51:56 -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 42683 invoked by uid 99); 18 Sep 2007 16:51:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 09:51:56 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2007 16:52:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 87055714204 for ; Tue, 18 Sep 2007 09:51:43 -0700 (PDT) Message-ID: <25822073.1190134303547.JavaMail.jira@brutus> Date: Tue, 18 Sep 2007 09:51:43 -0700 (PDT) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Created: (HARMONY-4815) [classlib][nio] Charset encoding/decoding is ineffective MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [classlib][nio] Charset encoding/decoding is ineffective -------------------------------------------------------- Key: HARMONY-4815 URL: https://issues.apache.org/jira/browse/HARMONY-4815 Project: Harmony Issue Type: Improvement Components: Classlib Reporter: Aleksey Shipilev Excess synchronizations and caching of encoder/decoder causes stalls if many thread doing encoding/decoding simultaneously. As far as one single instance of Encoder/Decoder is not thread-safe, we could create the separate encoder/decoder each time it is demanded. The overhead will be caused for excess object allocations, but boost from eliminating serial code is much bigger. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.