Java 16 provides production ready ZGC garbage collection. For example here is a sample code that is going to run out of memory with a regular JRE integration, I compared the code run with Java 8 and Java 16. There is an option to log the GC cycles with a VM option, but i felt … Continue reading ZGC options with Java 16
Category: JAVA
Java 16 logging
One of the features I liked in Java16 are the logging changes. The updated logging API works on handlers. There are different handlers FileHandler, MemoryHandler and ConsoleHandler. Depending on the need, these handlers can be configured in runtime. Here is a scenario., if you want to debug or pipe entry of the logging information going … Continue reading Java 16 logging

You must be logged in to post a comment.