Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 62688 invoked from network); 15 Mar 2004 22:16:53 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 15 Mar 2004 22:16:53 -0000 Received: (qmail 82070 invoked by uid 500); 15 Mar 2004 22:16:40 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 82027 invoked by uid 500); 15 Mar 2004 22:16:40 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Directory Developers List" Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 82014 invoked from network); 15 Mar 2004 22:16:40 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 15 Mar 2004 22:16:40 -0000 Received: (qmail 9857 invoked from network); 15 Mar 2004 22:17:17 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 15 Mar 2004 22:17:17 -0000 Message-ID: <626738444.1079389037963.JavaMail.apache@nagoya> Date: Mon, 15 Mar 2004 14:17:17 -0800 (PST) From: jira@apache.org To: directory-dev@incubator.apache.org Subject: [jira] Created: (DIR-55) [ber-codec] reusing ByteBuffer instead of allocating byte[] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/secure/ViewIssue.jspa?key=DIR-55 Here is an overview of the issue: --------------------------------------------------------------------- Key: DIR-55 Summary: [ber-codec] reusing ByteBuffer instead of allocating byte[] Type: Task Status: Open Priority: Critical Project: Directory Components: Snickers Assignee: Alex Karasulu Reporter: Alex Karasulu Created: Mon, 15 Mar 2004 2:16 PM Updated: Mon, 15 Mar 2004 2:16 PM Description: Currently every new primitive TLV value has memory allocated for it. Rather than allocate memory for it which may not be used we should be reusing a ByteBuffer of some initial size. When we encounter Values that are too big to fit the buffer then we bump up the buffer's size to the needed buffer size by just allocating a new buffer. This is an intermediate solution until we finish adding the disk streaming and referral functionality for TLV values. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira