The PHP support is slowed down by multiple Sources (SourceCaches, Parsers, Results) existing for single FileObject.
Fixed jet-main afecafba372e
Marian and I discussed whether this could be put into the beta, but Tomas says it is somewhat risky and he is not confident about the patch. How can it be verified that this did not break anything?
Ok, if I understand it correctly :
- this is fixing just part of the slowness reported in issue 185714
- this fix itself is risky and we haven't tested it yet (and it will rise testing of wide area)
If the above is correct, I vote against integration into NB 7.0 Beta, and leave it only in the trunk.
By testing. I believe that the recreation of the Source is not needed, but someone should try.
The testers should do (open java| parsing-api) files during scan. Do changes to it after the scan.
Are the sources valid (the changes are visible)?
Integrated into 'main-golden', will be available in build *201011140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Tomas Zezula <firstname.lastname@example.org>
Log: #191842:Multiple Sources exists for single FileObject