Introduction The purpose of this article is to describe new method onSpinWait() added to Thread class in JDK 9, including its usage, the pros and cons and also covering few…Continue readingonSpinWait() method from Thread class
Current article illustrates a corner case in regards to loop invariant code motion optimization in JDK10, which at first glance seems to regress in comparison to JDK9. Such optimization…Continue readingLoop invariant code motion pitfall in JDK10
Recently I attended GeeCon Krakow conference and during one of the talks the famous Venkat Subramaniam shared an interesting small application which captured my attention and got stuck in my…Continue readingShared Variable Optimization Within A Loop
Performance is an important criterion every software application might satisfy and each Architect should have in mind when designing and putting in place the Quality Attribute tactics, if this is…Continue readingHow to Measure Performance in Java Applications