[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r24650 - trunk/subversion/bindings/javahl/native

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-04-23 19:37:21 CEST

On Wed, Apr 18, 2007 at 08:38:39PM -0700, hwright@tigris.org wrote:
> JavaHL: Use the C++ Pool class when we need iteration pools.
>
> These pools are not subpools in the technical sense, because they do not have a
> parent pool. However, these pools only have scope within the function in which
> they are declared, and are destroyed when the enclosing pool object loses
> scope, so it is not a problem that they are strict subpools.
>

Actually, they use the JNI 'global' pool as a parent. I don't think it
actually matters what type of parent pool we use for iterations, as long
as they get destroyed at the end of the iteration.

(although I do wonder what effect creating and destroying subpools has
on the parent pool's allocation).

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Mon Apr 23 19:37:30 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.