program slows down after upgrade to 1.5.0?
I recently upgraded to JDK 1.5.0 and this program I was working on suddenly slows down tremedously to the point where it just hangs. The strange thing is that it only happens at times; sometimes, when I run the program, it works perfectly fine, then the next time I run it, it just hangs when it loads and I can't even do anything with it. This never happens when I was using JDK 1.4.2
The program can be a bit of a resource hog; it parses XML documents and draws it as a graph, so it does slow down at times when I load a huge document (but never to the point where it just hangs). After the upgrade to 1.5.0, it even hangs when a small document is loaded. Swing is used for the interface.
Any idea/suggestion on why the program hangs occasionally after the upgrade to 1.5.0?