Simulating & troubleshooting deadlock in Kotlin

All multi-threaded applications are prone to deadlock. Modern Kotlin platform is no exception to it. In this post let’s discuss how to simulate a deadlock in Kotlin and how you can troubleshoot it. What is Deadlock? First let's try to understand what 'Deadlock' means. Several technical definitions aren’t clear. ‘Deadlock’ is one among them ;-).... Continue Reading →

Java String intern: Performance impact

java.lang.String#intern() is an interesting function in Java. When used at the right place, it has potential to reduce overall memory consumption of your application by eliminating duplicate strings in your application. To learn how intern() function works, you may refer to this blog. In this post let's discuss the performance impact of using java.lang.String#intern() function... Continue Reading →

Powered by WordPress.com.

Up ↑