Java News

GC progress from JDK 8 to JDK 17

By Stefan Johansson on November 24, 2021

JDK 17 has been out for a few months and it’s not just packed with new language features. The performance boost compared to older JDK versions is also really significant. It becomes especially clear when compared to the previous LTS releases, JDK 8 and JDK 11. Much of the improved performance comes from new features and optimizations in the JVM and in this post the focus will be on the improvements done in the area of garbage collection…

Read More
Records, Sealed Classes and Pattern Matching

By Jose Paumard on November 19, 2021

The release of the JDK 17 brings to interesting features in the Java language: sealed types and pattern matching for switch. Along with the introduction of records, the implementation of pattern matching in the Java language begins to take shape. This presentation shows you how records, sealed types and pattern matching can change the way we write Java code, on real patterns. It also shows you what we can expect to see on this topic in the future. It is mostly a live coding presentation, with some slides when the code shown cannot be executed…

Read More
Factory Methods for Collections - JEP Café #6

By Jose Paumard on November 18, 2021

This JEP Café discusses 'Convenience Factory Methods for Collections' (JEP 269), released with JDK 9. Factory methods allow to create pre-filled collections and maps, that are immutable, that do not accept null values or keys, and that are Serializable. Let us quickly visit them, along with `Arrays.asList()`, `List.copyOf()` and the new `Stream.toList()` methods…

Read More
JEP proposed to target JDK 18: 419: Foreign Function & Memory API (Second Incubator)

By Maurizio Cimadamore on November 16, 2021

The following JEP is proposed to target JDK 18: 418: 19: Foreign Function & Memory API (Second Incubator)…

Read More
JEP proposed to target JDK 18: 420: Pattern Matching for switch (Second Preview)

By Gavin Bierman on November 16, 2021

The following JEP is proposed to target JDK 18: 420: Pattern Matching for switch (Second Preview)…

Read More
A new Loom EA build and a new structured concurrency API

By Ron Pressler on November 15, 2021

We have just published a new Early Access build of Project Loom. The main new feature in this build is a new API for structured concurrency, called StructuredExecutor. To learn more about its motivation, capabilities, and use, please read this JEP draft and the Javadoc. Pay special attention to the new methods added…

Read More
Heap Regions X-Large

By Thomas Schatzl on November 15, 2021

Until now G1 heap region size has been limited to 32MB due to previous limitations in the remembered set data structures. With JDK-8275056 JDK 18 will bump that limit to 512MB…

Read More
To Java 17 and Beyond!

By Billy Korando on November 13, 2021

The last version of Java, 17, was released recently and will mark a major point of change in the Java community as many organizations migrate to the latest Java runtime. So what has changed in Java if you are still primarily writing in Java 11? Or even Java 8? In this presentation, we will look at some of the key changes that have been added to Java post-8. The large changes; the Module System and Records, quality of life improvements; var, text blocks, pattern matching, and the many performance and runtime improvements. We will finish the presentation with a brief look ahead at some of the changes that will be coming to Java in the near future and why Java’s future is bright.

Read More
Java Experts Spill the Beans

By Aurelio Garcia Ribeyro, Bernard Traversat, Kathryn Dewitt, Shaun Smith on November 12, 2021

With the release of Java 17, Oracle announces the next long-term support version of the Java platform. In this month’s webcast, we will talk about what is new in Java 17, including recent updates to Java Management Service, GraalVM Enterprise, and other value-add elements. We will also share some exciting news regarding the JDK release cadence.

Read More
What Happens to Finalization in JDK 18? - Inside Java Newscast

By Nicolai Parlog on November 11, 2021

Finalization was part of Java from day one to help developers manage resources but it turns out that it's really not good at that. Here's why and what's gonna happen next. Also, reflection and method handles.

Read More

Sourced from via RSS.