Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 183001 - Enable the JVMTI attach use case
Summary: Enable the JVMTI attach use case
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 critical with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Guru Nagarajan CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on: 182189 182200 182207 182581 190684
Blocks:
  Show dependency tree
 
Reported: 2007-04-18 12:25 EDT by amehrega CLA
Modified: 2016-05-05 10:41 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amehrega CLA 2007-04-18 12:25:12 EDT
The JVMTI attach use case will need to be enabled once the relevant blocking defects are resolved.  See the defects that blocks this top-level defect.
Comment 1 amehrega CLA 2007-04-18 12:26:59 EDT
To enable the attach use case, the following block needs to be uncommented in plugin.xml file of the JVMTI plug-in:

<association			
			launchConfigID = "org.eclipse.hyades.trace.ui.internal.launcher.localJavaProcess">
 
			<mechanism mechanismID = "org.eclipse.tptp.trace.jvmti.jvmtiMechanism"> 
			    <configuration
					launchDelegate = "org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIAttachLauncherDelegate"
					configurationId = "org.eclipse.tptp.trace.jvmti.tiConfiguration"
					associatedAgent = "org.eclipse.tptp.platform.jvmti.TIAgent">					
				</configuration>			
		  	</mechanism>
		</association>
Comment 2 Guru Nagarajan CLA 2007-04-23 00:24:02 EDT
Ali,
  The attach use case is working for all the use cases but the Eclipse workbench and OSGI profiling. I am leaving this defect open to get the final fix. But the current state should enable the end to end testing.
Comment 3 amehrega CLA 2007-04-24 14:16:26 EDT
I'm taking over this defect.
Guru, please don't check-in anything under this defect.
Comment 4 amehrega CLA 2007-05-02 14:26:15 EDT
Guru,

My one month commitment to TPTP is over and I'm switching back to COSMOS.  I'm re-assigning this defect back to you.  I'm not in favor of checking in any more code into i3 at this point.  I would recommend delaying this defect to either i4 or the next release.  I don't think that this function can be made stable in i3's time-frame.
Comment 5 Guru Nagarajan CLA 2007-05-07 17:16:17 EDT
What else is pending to be done but for the issue in 182189?
I am going to Ping the AC team again on the defect 182189
Comment 6 Asaf Yaffe CLA 2007-06-04 09:16:07 EDT
Adding a dependency on Bug 190684, which addresses the detection of the active JVMTI Data collector.
Comment 7 Liz Dancy CLA 2007-06-04 19:01:32 EDT
Right now attaching to a remote agent (I have only tried EM64T) will cause the Profile launch configuration Dialog to freeze and thereby freeze the workbench. Plese investigate as a test case for this defect as well and/or let me know if you would prefer I open a separate defect for that issue.
Comment 8 Guru Nagarajan CLA 2007-06-04 19:10:12 EDT
This is caused due to the a partial check in of 182200. 
The check in has hence been completed and can be tested by using Code of CVS.
Comment 9 Asaf Yaffe CLA 2007-06-05 03:40:05 EDT
The (In reply to comment #8)
> This is caused due to the a partial check in of 182200. 
> The check in has hence been completed and can be tested by using Code of CVS.

The check-in was not completed. I checked the source code today and the method org.eclipse.tptp.platform.jvmti.client.internal.launcher.TIAnalysisTypeFiltration.include (as described in Bug 190684) is not fully implemented. It still has the TODO comment left by Ali, as described in comment 20 of bug 182200).
Comment 10 Guru Nagarajan CLA 2007-06-06 15:03:42 EDT
190684 has addressed the analysis type filtration.
The pending case in the attach is in 186807 - the data processor is not replaced during attach. 
Comment 11 Paul Slauenwhite CLA 2009-06-30 13:57:43 EDT
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.