Click any tag below to further narrow down your results
Links
This article details a recent OpenJDK commit that replaced a complex method for retrieving thread CPU time with a simpler and faster approach using `clock_gettime()`. The change cut performance latency significantly, improving the speed of `getCurrentThreadUserTime()` by up to 40 times. It also explains the technical reasons behind the original implementation and the advantages of the new method.