Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 215436 - [POG] Detach from agent action fails to work with IBM JDK 1.5 and JVMTI agent.
Summary: [POG] Detach from agent action fails to work with IBM JDK 1.5 and JVMTI agent.
Status: CLOSED DUPLICATE of bug 215437
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 critical (vote)
Target Milestone: ---   Edit
Assignee: Alexander N. Alexeev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-16 00:07 EST by Eugene Chan CLA
Modified: 2016-05-05 10:42 EDT (History)
3 users (show)

See Also:


Attachments
patch from Asaf (144.33 KB, application/download)
2008-01-22 16:14 EST, Eugene Chan CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Chan CLA 2008-01-16 00:07:06 EST
Driver used: tptp.runtime-TPTP-4.4.1-200801140100

Setup:
Workbench started with IBM JDK 1.5.

Problem: 
When I launch a Java application with JVMTI agent from Workbench and try detach from the agent. The Java process is terminated as soon as I select 'Detach' action. 
This problem fails in both IAC and standalone AC case where standalone AC is setup with the same JDK.
Comment 1 Eugene Chan CLA 2008-01-22 16:14:40 EST
Created attachment 87564 [details]
patch from Asaf

With the attached patch Asaf, The Detach and Reattach work as expected.

However, start/stop monitoring after Reattach does not collect any information.
Comment 2 Eugene Chan CLA 2008-01-25 13:56:34 EST
Start monitoring after reattach shows no data may relate to how agent flush rate is setup. Changing the polling frequency of profiling agent results better response on user view refresh response. However, manual option of polling frequency is only available in aggregate mode and problem cannot be resolved in detail execution flow mode.

Bug 216606 is opened to address the flush rate of agent to allow better response of UI on data refresh.
Comment 3 Asaf Yaffe CLA 2008-01-27 14:14:08 EST

*** This bug has been marked as a duplicate of bug 215437 ***
Comment 4 Eugene Chan CLA 2009-06-15 15:16:52 EDT
Closing bug.