You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/02/16 05:15:15 UTC

[GitHub] JaroslavTulach opened a new pull request #423: Deadlock in lexing

JaroslavTulach opened a new pull request #423: Deadlock in lexing
URL: https://github.com/apache/incubator-netbeans/pull/423
 
 
   Wrapping version increment in synchronized(this) block is causing deadlocks. I don't think such wrapping is necessary. Enough to use `volatile` for such diagnostic value. Right, Be?oune?
   
   Another possible fix (that I tried) is to _not_ fire changes under the `rootTokenList` lock. However that is a bigger change, possibly changing semantics. Right, M?lo? Thus I decided to go with the safer fix in the Javadoc module.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists