Community
Participate
Working Groups
In current agent implementation attach/detach commands (result of AC Start/Stop commands) received before VM initializing completion are silinly ignored. It does not look like correct behavior. The commands should be processed correctly. There are two options: 1. The command can force profiler to apply attach/detach scenarios somehow. 2.The agent can return error command back to the workbench and a message may be displayed to the user or workbench can resend command latter.
Option 1 is not feasible. Attach/detach implies the need to redefine loaded classes (at least in the case of the CPU and Heap profilers). The JVMTI APIs for redefining classes cannot be used before the VM has initialized. Another option to consider is for the JVMTI Agent to send a notification back to the client when the VM has initialized. The client can register for this notification, and enable the attach/detach UI buttons and menus only after receiving this notification.
Is this containable in 4.4?
This has to be closed in i3.
Created attachment 65895 [details] retry mechanism patch Guru, Here is the patch for retry mechanism: When the client receives an error, it will not show a message to the user, it will silently wait for a while and try again. Try loop repeats 3-4 times and then bails out with an error message. Could you please review it?
Patch applied.
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.