Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

Episode 57. Sometimes you want to buy local, ThreadLocal that is!

Episode 57. Sometimes you want to buy local, ThreadLocal that is!

FromJava Pub House


Episode 57. Sometimes you want to buy local, ThreadLocal that is!

FromJava Pub House

ratings:
Length:
44 minutes
Released:
Mar 23, 2016
Format:
Podcast episode

Description

Threadlocal is great! It can help you get out of sticky situations, and give you a great boost of performance and/or isolation. But with great tools comes great responsibility. Threadlocal can also be misused, and create memory leaks, or object corruption, and unknown sharing. So if you ever had seen one and never quite got what it does, or even if you were consider using one. Take a listen! And steer the people in the right way for the use of Threadlocal.
Also, Thanks Michael for pointing the issue with episode 55 and rebasing! Don't forget to SUBSCRIBE to our cool new NewsCast!
Java Off Heap

https://docs.oracle.com/javase/7/docs/api/java/lang/ThreadLocal.html
http://tutorials.jenkov.com/java-concurrency/threadlocal.html
http://jsr166-concurrency.10961.n7.nabble.com/Threadlocals-and-memory-leaks-in-J2EE-td3960.html

Do you like the episodes? Want more? Help us out! Buy us a beer!
Released:
Mar 23, 2016
Format:
Podcast episode

Titles in the series (100)

This podcast talks about how to program in Java; not your tipical system.out.println("Hello world"), but more like real issues, such as O/R setups, threading, getting certain components on the screen or troubleshooting tips and tricks in general. The format is as a podcast so that you can subscribe to it, and then take it with you and listen to it on your way to work (or on your way home), and learn a little bit more (or reinforce what you knew) from it.