OpenJDK 15 – Unsafe Garbage
The next release of OpenJDK is number 15. I will title this release unsafe garbage as it focuses on garbage collection and removing usages of unsafe methods. We also look at string blocks and records.
We look at an example from ml5js to load images and predict them
We look at the differences in how we do HTTP requests today in Java 8 vs the new incubation project in Java 9 for HttpClient.
We will look into how to use test-driven development in order to write code. I go through the process I use in order to create self-documenting code. The code should be able to validate itself and ensure that the thing you want it to handle it should handle.
We talk about building a package. We start with binutils that is required to build all other packages in the system.
I try to create a herddb using zookeeper and bookkeeper. I talk about the challenges I found and what the current state of the project is in my opinion.
We talk about the different collection structures in Java and how to measure their performance and memory footprint Simple example of performance testing for collection types in java: package org.ea.debugger; import java.lang.management.ManagementFactory; import java.util.*; import java.util.function.IntConsumer; public class CollectionTest { public static void sleep() { try { Thread.sleep(3000); } catch (Exception e) { e.printStackTrace(); }…