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.

Bug 179049

Summary: Indicators based on procfs are unusable in case of attach
Product: cnd Reporter: Andrew Krasny <akrasny>
Component: D-LightAssignee: Andrew Krasny <akrasny>
Status: VERIFIED FIXED    
Severity: normal CC: apepin, mromashova, sustaining
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Proposed patch

Description Andrew Krasny 2009-12-26 13:25:45 UTC
Current implementation of collector.procfs uses fair timestamps received from /proc filesystem. All other collectors are session-start-time-relative (which means that they use time of session creation as a zero time point). So in case of 'attach' when process is already running for a while, microstates indicator will display 'real' times (0 - is a process creation time) while others will use relative times (0 - is a dlight session creation time). So indicators are not aligned.
Attach capability will be a part of stand-alone dlight, based on NB6.8. 
So the fix should go in the 6.8 brunch.
Comment 1 Andrew Krasny 2009-12-26 13:30:45 UTC
Created attachment 92934 [details]
Proposed patch
Comment 2 Andrew Krasny 2009-12-26 13:31:34 UTC
I have attached a proposed patch. Maria, could you review, please.
Comment 3 Maria Tishkova 2009-12-28 06:21:19 UTC
Andrew, I have looked at the proposed fixed, it looks OK.
You can push the changes.
Comment 4 Andrew Krasny 2009-12-28 06:40:08 UTC
Integrated: 
changeset:   154149:e0d4d18dc72d
Comment 5 Alexander Pepin 2010-01-13 06:40:49 UTC
can not be verified in NB
Comment 6 Andrew Krasny 2010-01-13 12:56:52 UTC
pushed to cnd-main [previously was pushed to release68 ;o/ ]

cnd-main/rev/74fe5ff527ad
Comment 7 pgebauer 2010-01-14 02:26:01 UTC
The fix has been ported into the release68_fixes repository.
http://hg.netbeans.org/release68_fixes/rev/f9f2175950ea
Comment 8 Alexander Pepin 2010-01-26 07:26:10 UTC
can not be verified in NB