Tag Archives: memory

Unknown Java Features Part 1: BitSet

BitSet – the holy grail of working with bits What does it solve? java.util.BitSet solves the memory consumption of boolean[]. Adding a tiny CPU overhead. And offering a lot of helpful methods. It’s available since Java 1.0. Boolean and memory in detail … Continue reading

Posted in Unknown feature | Tagged , , , , , , , | 2 Comments

Autoboxing Performance

Preface Because of my previous post about autoboxing I get many search queries about autoboxing performance. Now I’m curious, too. So let’s get ready for some benchmarks. When we talk about boxing performance, then we always have two sides. Throughput … Continue reading

Posted in Java, Performance | Tagged , , , , | 2 Comments