Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345852

Summary: Opening C/C++ index view and expanding C/C++ elements freezes eclipse for about ~1 minute
Product: [Tools] CDT Reporter: Yevgeny Shifrin <yevshif>
Component: cdt-source-navAssignee: Project Inbox <cdt-source-nav-inbox>
Status: NEW --- QA Contact: Jonah Graham <jonah>
Severity: normal    
Priority: P3 CC: cdtdoug, zeratul976
Version: 7.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
time: 20110515.2040.42
none
time: 20110515.2040.43
none
20110515.2040.46
none
time: 20110515.2040.52 none

Description Yevgeny Shifrin CLA 2011-05-15 13:49:39 EDT
Build Identifier: 20110218-0911

Hi,

I am using big C/C++ project. Every time I open C/C++ index view and expanding C/C++ elements freezes eclipse for about ~1 minute. I attached jstack output which was taken every second interval.

Thanks,
Yevgeny 

Reproducible: Always
Comment 1 Yevgeny Shifrin CLA 2011-05-15 13:51:06 EDT
Created attachment 195669 [details]
time: 20110515.2040.42
Comment 2 Yevgeny Shifrin CLA 2011-05-15 13:51:36 EDT
Created attachment 195670 [details]
time: 20110515.2040.43
Comment 3 Yevgeny Shifrin CLA 2011-05-15 13:52:05 EDT
Created attachment 195671 [details]
20110515.2040.46
Comment 4 Yevgeny Shifrin CLA 2011-05-15 13:53:08 EDT
Created attachment 195672 [details]
time: 20110515.2040.52
Comment 5 Markus Schorn CLA 2011-05-16 04:12:13 EDT
The index view is at best usable for debugging purposes. It is poor in many aspects, you have observed the most important one.
The view has always been that way and I strongly recommend not to use it.
Comment 6 Nathan Ridge CLA 2014-08-28 00:05:35 EDT
(In reply to Markus Schorn from comment #5)
> The index view is at best usable for debugging purposes. It is poor in many
> aspects, you have observed the most important one.
> The view has always been that way and I strongly recommend not to use it.

Does that mean this is a WONTFIX?
Comment 7 Yevgeny Shifrin CLA 2015-07-28 08:34:28 EDT
In my opinion, if "index view" is not for general public usage, it should not be available by default.

Opening it causes eclipse to stuck in many cases. It makes very bad impression about eclipse CDT product. 

Maybe it should not be available unless configured explicitly in workspace configuration with warning that it can cause very serious performance issues and not advised to be used.