Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Debugger not deallocating threads(Debugger)
Debugger not deallocating threads [message #694325] Fri, 08 July 2011 06:44
Eclipse UserFriend
Hello there!

I am developing a set of OSGi bundles using Eclipse Helios, Equinox and Java 6 on MacOSX 10.5. These bundles "assemble" into a application that performs extensive allocation of short lived threads. When I launch the application (not in debug mode) from Eclipse, everything works fine; the threads are created and destroyed and everything works as expected.

When I run the application within the debugger, the number of threads for the Eclipse process rapidly increases (whereas the number of threads within the Java process for the application remains stable), to the point that I get a memory access error (something like: Invalid memory access of location 0x10 rip=0x101099a87). Looks as if there's an equivalent thread within Eclipse for each one of the threads I create in my application, but that those Eclipse threads don't get destroyed when my application's threads terminate.

Am I missing something here? Is there a setting for the debugger that will prevent those "mysterious" threads from remaining in memory? What steps should I follow in order to diagnose/correct the problem?

Your help will be greatly appreciated!
A.
Previous Topic:Java Applet
Next Topic:(no subject)
Goto Forum:
  


Current Time: Sat Jul 12 12:30:38 EDT 2025

Powered by FUDForum. Page generated in 0.03357 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top