This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I think ProfilerServer.waitForShutdownOK() should contain some timeout. Now there is infinite loop and if e.g. handleShutdown() on client fails or if some communication error occures -> SHUTDOWN_OK is not returned -> agent process will be left running and blocking system resources.
Agreed, this should be improved in the future.
assigned for reevaluation
added 10 seconds timeout for profiler agent to shut down
verified
reopening due to #92723
fixing this issue will definitely need tweaking the communication protocol, as shutting down the agent by timeout can cause data loss at the end of profiling. won't be fixed in profiler6
Could be in some way related to #213973?
Closing old issue.