In this previous post about Safepoints I claimed that this here piece of code:| Psychosomatic, Lobotomy, Saw
I've been giving a couple of talks in the last year about profiling and about the JVM runtime/execution and in both I found myself coming up against the topic of Safepoints. Most people are blissfully ignorant of the existence of safepoints and of a room full of people I would typically find 1 or 2 developers who would have any familiarity with the term. This is not surprising, since safepoints are not a part of the Java language spec. But as safepoints are a part of every JVM implementation ...| Psychosomatic, Lobotomy, Saw
Continuing from previous post on the expansion of the Queue interface to support new ways of interacting with queues I have gone ahead and implemented relaxedOffer/Poll/Peek for the JCTools queues. This was pretty easy as the original algorithms all required a bit of mangling to support the strong semantic and relaxing it made life easier. Implementing batch/continuous interactions was a bit more involved, but the results were interestingly rewarding. I will save discussing the drain/fill res...| Psychosomatic, Lobotomy, Saw
It is a fact well known to those who know it well that "==" != "equals()" the example usually going something like:| Psychosomatic, Lobotomy, Saw