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

Re: JavaHL unneccessary JNI method calls?

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-04-19 19:19:17 CEST

On 4/19/07, Patrick Mayweg <mayweg@qint.de> wrote:
> Hi Blair,
> the reason for all this calls is that the number of local references is
> limited to about 30 or 60. If you do not release them in cases where you
> do not return directly to the JVM, you will see exceptions.
> That is why I always deleted all local reference, as soon as possible.

Patrick,

First off, great to hear from you. I hope you are well.

As I try to interpret what you are saying, I read it that this is
somewhat theoretical. You were aware of limitations in the number of
local refs so you made it a policy to clean them up. However, given
that we do not create that many during a method call, and the methods
always return to the JVM which should then clean them up
automatically, aren't Blair's optimizations valid to make to the code?

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 19 19:19:25 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.