C
chris brat
Hi,
A colleague of mine recently told me that he once wrote a web
application that made very heavy use of StringBuffer class (JVM version
1.3) in order to generate code (using Javacc) and experienced the
problem of running out of file handles.
It was explained to me that the problem was due to the synchronized
methods of the StringBuffer class and all the thread locking associated
with using it.
This sounds very interesting and could explain a problem I had at a
previous company.
Thanks
Chris
A colleague of mine recently told me that he once wrote a web
application that made very heavy use of StringBuffer class (JVM version
1.3) in order to generate code (using Javacc) and experienced the
problem of running out of file handles.
It was explained to me that the problem was due to the synchronized
methods of the StringBuffer class and all the thread locking associated
with using it.
This sounds very interesting and could explain a problem I had at a
previous company.
Thanks
Chris