LinkedHashSet implements the SequencedCollection interface, allowing us to addLast(), addFirst() and even reverse the... Full Article
In this newsletter, we explore how we can visit the entire hierarchy of threads in our virtual machine, including vir... Full Article
The LinkedBlockingQueue and LinkedBlockingDeque behave slightly differently when methods put() and take() are called ... Full Article
ReentrantReadWriteLock has a limit of 65536 concurrent read locks. That is an unattainable number with platform threa... Full Article
Java's Thread.yield() traditionally would cause a voluntary context switch. However, with virtual threads, it causes ... Full Article
Like many other concurrent collections, the ArrayBlockingQueue sports a weakly-consistent iterator. However, the Arra... Full Article