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 182375

Summary: boost again has infinite parsing
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: Code ModelAssignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Attachments: 4 thread dumps

Description Alexander Simon 2010-03-19 13:47:45 UTC
Created attachment 95435 [details]
4 thread dumps

file array_arithmetic.c has infinite or exponential parsing time
Comment 1 nnnnnk 2010-03-19 15:13:56 UTC
This infinite parsing has another reasons.
Old ones was in instantiations, and the reason was in antiloop mechanism.

Now there is something in APT.
Comment 2 nnnnnk 2010-03-19 16:44:36 UTC
Also it's not infinite.
It takes about 10 minutes on my machine.

It seems that it was before, 
but maybe after memory and performance optimizations 
it takes more relative time.

I guess it's some kind of
Bug 130510 -  Stack overflow on parsing test constructions.
Comment 3 Vladimir Voskresensky 2010-03-22 11:43:42 UTC
Sasha,please,evaluate correlation with extensive string operations
Comment 4 Alexander Simon 2010-03-22 13:33:53 UTC
Remove redundant string conversions in APTBaseLanguageFilter, change set:
http://hg.netbeans.org/cnd-main/rev/8d062717f2df
Comment 5 Alexander Simon 2010-03-22 19:45:08 UTC
Сache type, id and offset for recursive tokens, change set:
http://hg.netbeans.org/cnd-main/rev/f1790f44ee73
Comment 6 Vladimir Voskresensky 2010-03-24 14:23:50 UTC
now speed is fixed