Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 28963 invoked from network); 19 Sep 2005 21:52:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2005 21:52:42 -0000 Received: (qmail 88625 invoked by uid 500); 19 Sep 2005 21:52:42 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 88568 invoked by uid 500); 19 Sep 2005 21:52:41 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 88548 invoked by uid 99); 19 Sep 2005 21:52:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 14:52:41 -0700 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS,URIBL_SBL X-Spam-Check-By: apache.org Received: from [64.233.162.195] (HELO zproxy.gmail.com) (64.233.162.195) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Sep 2005 14:52:49 -0700 Received: by zproxy.gmail.com with SMTP id q3so664702nzb for ; Mon, 19 Sep 2005 14:52:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=Y4kY9F//6stTBx99/Cy8/vof4mLb6F6zAmi8nCHoBmSQ2i1faj84Ip9NKSSB++4gAJnGesaWBbR5MBTa3yKR2+p74o79c9wTO+ZbPq/t31o58ttq5l4KSmOhKNN2eaAxob+apnvVswlOlEDh3V2jd53XZtT9kEEEv84+ZlU+Ack= Received: by 10.54.40.52 with SMTP id n52mr1369134wrn; Mon, 19 Sep 2005 14:52:37 -0700 (PDT) Received: by 10.54.71.11 with HTTP; Mon, 19 Sep 2005 14:52:37 -0700 (PDT) Message-ID: <768dcb2e050919145256715b30@mail.gmail.com> Date: Tue, 20 Sep 2005 06:52:37 +0900 From: Trustin Lee Reply-To: trustin@gmail.com To: Apache Directory Developers List Subject: Re: [Mina] CumulativeProtocolDecoder testing In-Reply-To: <20050919085323.cwq9maqm52ssgwck@webmail.daune-consult.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_33135_9360460.1127166757025" References: <20050919085323.cwq9maqm52ssgwck@webmail.daune-consult.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_33135_9360460.1127166757025 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi J-F, 2005/9/19, daune.jf@daune-consult.com : >=20 > I am surprised to see that the ByteBuffer used by=20 > CumulativeProtocolDecoder is > not explicitly released. >=20 > Given the ByteBuffer javadoc, I would assume that it should be. You're right. It doesn't release the bytebuffer allocated in its=20 constructor. It will not be returned to the buffer pool but GC's by JVM. We= =20 have to find the better way to this. Any good ideas? Trustin --=20 what we call human nature is actually human habit -- http://gleamynode.net/ ------=_Part_33135_9360460.1127166757025 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi J-F,

2005/9/19, daune.jf@daune-consult.com <daune.jf@daune-consult.com>:
I am surprised to= see that the ByteBuffer used by CumulativeProtocolDecoder is
not explic= itly released.

Given the ByteBuffer javadoc, I would assume that it should be.

You're right.  It doesn't release the bytebuffer all= ocated in its constructor.  It will not be returned to the buffer pool= but GC's by JVM.  We have to find the better way to this.  Any g= ood ideas?

Trustin
--
what we call human nature is actually hum= an habit
--
http://gleamynode.net/= ------=_Part_33135_9360460.1127166757025--