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 - boost again has infinite parsing
Summary: boost again has infinite parsing
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P1 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 13:47 UTC by Alexander Simon
Modified: 2010-03-24 14:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
4 thread dumps (109.04 KB, text/plain)
2010-03-19 13:47 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
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