Find out how to tune the JVM to use memory more efficiently and address 32Gb of heap even in a 32-bit system.
Search Results for: bits
Java Valhalla Project
Learn about Project Valhalla – the current state of development and what it brings to the table for the day-to-day Java developer once it’s released.
An Introduction to ZGC: A Scalable and Experimental Low-Latency JVM Garbage Collector
Explore how Z Garbage Collector manages to keep low pause times on even multi-terabyte heaps.
Java Bitwise Operators
Learn about the bitwise operators in Java and how each of them work
Convert a Float to a Byte Array in Java
Learn how to convert between a Java float value and a byte array
Java String Interview Questions and Answers
Prepare for your next Java interview. How many of these do you already know?
Working with Primitive Values in Gson
Learn how Google’s Gson library serializes and deserializes Java primitive types
Implementing a Custom Lombok Annotation
Learn how to implement a custom annotation using Lombok handlers.
Guide to Character Encoding
Explore character encoding in Java and learn about common pitfalls.
Persisting DDD Aggregates
Learn how to persist DDD aggregates in Spring.
Convert Latitude and Longitude to a 2D Point in Java
Learn how to use the Mercator projection to convert latitude and longitude coordinates onto a 2D surface
Converting Between Byte Arrays and Hexadecimal Strings in Java
Learn how to convert between hexadecimal strings and byte arrays using the JDK and other popular libraries.
Java Primitives Versus Objects
A quick and practical comparison of objects and primitives in Java.
Static and Dynamic Binding in Java
An exploration of how Java handles binding method names for lookup at runtime.
Testing an Abstract Class With JUnit
Learn about specifics of unit testing abstract classes, covered with examples and pros/cons.
Running JUnit Tests Programmatically, from a Java Application
A quick tutorial on running JUnit tests from your Java code
Optimizing Spring Integration Tests
An opinionated guide to implementing and optimizing integration tests with Spring.
How to Get the Size of an Object in Java
A quick and practical guide to getting object’s size in Java.
Java 8 Unsigned Arithmetic Support
Learn the ins and outs of working with unsigned integers in Java 8 and later.
NaN in Java
Understand the NaN – “not a number” value in Java.