Save 10-20% Memory With Compact Headers - Inside Java Newscast #48#videoJDK Enhancement Proposal 450 proposes to merge a compressed class word into the mark word to reduce object header size on 64-but systems from 96-128 bits to 64 bits, thus saving 10-20% of heap space
24 Java Features You Missed In 2022 - Inside Java Newscast #39#videoJDK 18 and JDK 19 preview a number of big ticket features but they also come with a lot of smaller improvements. Here are 24 less-known features that were added to Java in 2022. Among them additions to
HashMap, Security and GC improvements, Custom Localized Date-Time Formats and an Internet Address Resolution SPI, and much more.
GraalVM In OpenJDK And More JavaOne Announcements - Inside Java Newscast #36#videoOracle will contribute GraalVM's just-in-time compiler and native image technology to OpenJDK. It will also create EA and GA builds for JavaFX 20+ and is hard at work at creating generational ZGC to vastly improve ZGC's already impressive performance. And then there's the Java SE Subscription Enterprise Performance Pack, a drop-in replacement for JDK 8 with JDK 17 performance.
Random Numbers and JDK Flight Recorder - Inside Java Newscast #9#videoThe new API for random number generation in Java 17 - why it needed to change and how the new API is more usable, extensible, and robust - and how to get started with JDK Flight Recorder, particularly on Java 16.
FasterJava 16 adds a new method
Stream::mapMultiin Java 16#post
Stream. It fills the same role as
flatMap, but is more imperative - and faster.
Improve Launch Times On Java 13 With Application Class-Data Sharing#postOn Java 10+, you can use application class-data sharing to reduce launch times, response time outliers, and memory footprint. By archiving class data with -Xshare:dump and loading it with -Xshare:on, the JVM's class loading workload can be reduced considerably.
Caliz III: Hashing scripts and background compilation#videoLetting Caliz store native images and only create them for a given Java "script" (single source file) if needed
Caliz II: Wrapping Graal AOT#videoExtending Caliz to create native images of Java "scripts" (single source files) with with Graal
Caliz I: Wrapping JVM 11 and learning about Graal AOT#videoFirst steps toward an acceptable scripting experience with single-source-file execution and Graal native images
Apache JMeter Tutorial#postWant to load test your web app? Then you should know about Apache JMeter! This tutorial explains the basics and how to create & execute a test plan.
Stream Performance - Your Ideas#postAnother post about stream performance - this one implements your ideas about how else to approach the topic.