|
|
|
Back to newsletter 261 contents
Once again I'm listing all the new performance features in the upcoming release, this time for Java 19 (I have done this every 6 months prior to each new release, you can track back to the previous February and August newsletters if you want to see what's new performance-wise in any particular release). Each time I give the new features, the performance benefits from each feature, and how to use the feature.
Java 19 actually has NO feature releases (apart from a RISC port) - that's for ALL features, not just performance ones! That doesn't mean nothing is evolving, there are a bunch of preview and incubator features available: Record Patterns, Foreign Function & Memory API, Virtual Threads, Vector API, Pattern Matching for switch, Structured Concurrency. This is because we're early in the LTS release cycle, so the focus is more in getting early versions of things out so people can feedback.
Notably JEP 425: Virtual Threads (Preview) is finally available for testing.
Now on to the details of those Java 19 changes, though because there are no performance features released, there are no tips extracted this month (the preview features could change so I don't get tips from those articles)
Java performance tuning related news - Java 19 performance changes
java -XX:+AutoCreateSharedArchive -XX:SharedArchiveFile=app.jsa -cp app.jar App
- the specified archive will be written if it does not exist, or if it was generated by a different version of the JDK
Java performance tuning related tools
Back to newsletter 261 contents