Introduction In a previous article, I talked about how serialization and file I/O Performance was improved in JDK 21 thanks to the use of VarHandleconstructs. The method employed there has now also been applied to Java’s image-handling library making it faster. Here is what happened: Background When packing/unpacking primitive values (such as int and long primitives) into/from a byte array, conversion ...