• Post Reply Bookmark Topic Watch Topic
  • New Topic

Threading Pitfalls  RSS feed

 
Niall Loughnane
Ranch Hand
Posts: 209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

whats the main pitfalls with Java Threading?
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Niall Loughnane wrote:Hi,

whats the main pitfalls with Java Threading?


Not understanding the Java Memory Model.

Not reading a good book on Threading and concurrency.

Poorly designed tests which either don't stress the concurrently running tasks and synchronization between threads, hide possible threading issues, or which introduce synchronization issues themselves.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!