[Bug 219272] The project is re-parsed despite the existing

  • From:
  • To:
  • Subject: [Bug 219272] The project is re-parsed despite the existing
  • Date: Thu, 27 Dec 2012 19:10:05 +0000
  • Auto-submitted: auto-generated

http://netbeans.org/bugzilla/show_bug.cgi?id=219272

Vladimir Kvashin 
< >
 changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|The project is re-parsed    |The project is re-parsed
                   |despite the existing        |despite the existing
                   |"relocatable" code model    |

--- Comment #3 from Vladimir Kvashin 
< >
 2012-12-27 19:10:05 UTC ---
The root cause is: global units index is not stored until IDE is not closed.So
the workaround is: copy cache only after you close the IDE.The fix might be as
simple as storing units index upon each unit (project) closure. But this
requires additional synchronization, otherwise we can get a
ConcurrentModificationException. I need code review for this. The attached
patch tries to minimize locking. Alternative could be to use a single lock for
units opens/closures

-- 
Configure bugmail: http://netbeans.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


[Bug 219272] The project is re-parsed despite the existing

vkvashin 12/27/2012

<Possible follow-up(s)>

[Bug 219272] The project is re-parsed despite the existing

vkvashin 12/27/2012

[Bug 219272] The project is re-parsed despite the existing

vkvashin 12/28/2012

[Bug 219272] The project is re-parsed despite the existing

quality 12/29/2012

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close