Friday, 15 August 2014

java - In a huge project, how to determine whether a variable should be declared volatile? -



java - In a huge project, how to determine whether a variable should be declared volatile? -

say have taken on rather big project, code hasn't been documented , thread-safety practically non-existant. sake of topic, let's assume project contains no less 100,000 lines of code.

how determine if variable beingness accessed multiple threads? can determine variables are? i'm trying create such variables volatile, finding them is... yeah.

can java find such variables? bet not - how netbeans? there way this?

java netbeans project-management volatile

No comments:

Post a Comment