Subject | Re: Should (Could) FBStatements be held in WeakHashMap |
---|---|
Author | Roman Rokytskyy |
Post date | 2003-04-04T17:02:55Z |
Mark,
find "The Java programming language does not guarantee which thread
will invoke the finalize method for any given object.", and this might
cause some problems. Right now access to FBConnection is not
threadsafe (and is not planned to be, this, afaik, is not required by
specs). Also it might have some side effects on JTA implementation...
Sorry, I'm afraid to make this change.
Roman
> If you do not get resource leaks on server, then I think we can commitThere is at least one issue on which I have no answer. In API you can
> your change. Sorry for arguing so long... Also I'm not convinced that
> this is 100% correct, but we can try.
find "The Java programming language does not guarantee which thread
will invoke the finalize method for any given object.", and this might
cause some problems. Right now access to FBConnection is not
threadsafe (and is not planned to be, this, afaik, is not required by
specs). Also it might have some side effects on JTA implementation...
Sorry, I'm afraid to make this change.
Roman