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.
Summary: | enable indicators on more platforms | ||
---|---|---|---|
Product: | cnd | Reporter: | Alexey Vladykin <alexey_vladykin> |
Component: | Profile | Assignee: | issues@cnd <issues> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 161692 | ||
Bug Blocks: |
Description
Alexey Vladykin
2009-03-30 16:28:20 UTC
Support for MacOSX-x86 added in http://hg.netbeans.org/cnd-main/rev/7f1a0ad363ab Now CPU and Thread indicators should be available on MacOSX-x86. Memory indicator can't be easily implemented, because mallinfo is not supported on Mac. As for Windows/Cygwin, I couldn't override any pthread function with LD_PRELOADed library, although they say I should be able to. Giving up Cygwin support for this release. After better testing I found that sync indicator is still not working properly. So I removed MacOS from list of platforms supported by LLDataCollector. My question about Cygwin/LD_PRELOAD on StackOverflow: http://stackoverflow.com/questions/1544475/overriding-pthreadcreate-using-ldpreloaded-dll-in-cygwin On MacOS there is an endless recursion: overridden pthread_mutex_lock() calls dlsym() which in turn calls pthread_mutex_lock(). That's why sync monitoring does not work. Integrated into 'main-golden', will be available in build *200910140201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7f1a0ad363ab User: Alexey Vladykin <alexey_vladykin@netbeans.org> Log: Fixing #161489 enable indicators on more platforms -- implemented CPU and Thread indicators for MacOSX-x86 Per QA request, turned indicators on MacOS off by default: http://hg.netbeans.org/cnd-main/rev/f930018a3226 Can be turned on with -Dcnd.tools.prof_agent.allow_on_macos=true Integrated into 'main-golden', will be available in build *200910160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f930018a3226 User: Alexey Vladykin <alexey_vladykin@netbeans.org> Log: #161489 enable indicators on more platforms -- prof_agent on MacOSX: turn off by default |