Bug 308820

Summary: [content assist] constructor completion taking 15-20 seconds
Product: [Eclipse Project] JDT Reporter: Pavel Samolisov <samolisov>
Component: CoreAssignee: Ayushman Jain <amj87.iitr>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, markus.kell.r, Olivier_Thomann, samolisov
Version: 3.6Keywords: performance
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
write some letters of the classname
none
Error window
none
In time stack dump
none
after error stack dump none

Description Pavel Samolisov CLA 2010-04-12 07:19:09 EDT
Build Identifier: I20100312-1448

In my workspace exists large set of large projects. This projects have over 5000 java classes total.

I'm writing some first letters from a classname (see first attachment) and pressing Ctrl+Space. Eclipse is thinking some time and throw the exception (see second attachment). This bug reproduce not everytime, but periodically.

Reproducible: Sometimes

Steps to Reproduce:
1. Open workspace with 5000 - 10000 classes
2. Write some first letters of the a classname
3. Press Ctrl+Spece
4. Periodically Eclipse throw exception window.
Comment 1 Pavel Samolisov CLA 2010-04-12 07:20:26 EDT
Created attachment 164552 [details]
write some letters of the classname
Comment 2 Pavel Samolisov CLA 2010-04-12 07:20:55 EDT
Created attachment 164554 [details]
Error window
Comment 3 Dani Megert CLA 2010-04-13 03:57:20 EDT
Pavel, can you check whether this happens on type completion or rather when completion a constructor i.e. after "new .... <code assist>".

How long does it take after starting completion until the dialog appears?

Please try to take some stack dumps (for guidelines on how to do this see http://wiki.eclipse.org/index.php/How_to_report_a_deadlock) and attach them here.
Comment 4 Pavel Samolisov CLA 2010-04-13 07:35:08 EDT
Dani, I have check this one. This happens when completion a constructor. 
After starting completion until the dialog appears it takes 15-20 seconds. 

I have attached jstack output for eclipse. intime.stack - stack dump that have been created in 15-20 seconds pause, after.stack - stack dump that have been created after then error window had been show.
Comment 5 Pavel Samolisov CLA 2010-04-13 07:35:55 EDT
Created attachment 164688 [details]
In time stack dump
Comment 6 Pavel Samolisov CLA 2010-04-13 07:36:36 EDT
Created attachment 164689 [details]
after error stack dump
Comment 7 Olivier Thomann CLA 2011-03-15 11:24:53 EDT
Pavel, did you get a chance to try 3.7M6?
Is it better ?
Comment 8 Eclipse Genie CLA 2020-07-09 18:33:28 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 9 Eclipse Genie CLA 2022-07-10 12:02:11 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.