Skip to content

Commit

Permalink
Update 2024-01-19-java-21-features.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmanrique authored Jan 26, 2024
1 parent a8c7ce9 commit 3b70978
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _posts/2024-01-19-java-21-features.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ More info of this feature in this <a href="https://openjdk.org/jeps/431">link</a

## 3 - Generational ZGC

Improve application performance by extending the Z Garbage Collector (ZGC) to maintain separate generations for young and old objects. This will allow ZGC to collect young objects — which tend to die young — more frequently.
The purpose of this feature is to improve application performance by extending the Z Garbage Collector (ZGC) to maintain separate generations for young and old objects. This will allow ZGC to collect young objects — which tend to die young — more frequently.

More info of this feature in this <a href="https://openjdk.org/jeps/439">link</a>

Expand Down Expand Up @@ -127,6 +127,8 @@ More info of this feature in this <a href="https://openjdk.org/jeps/440">link</a

## 5 - Pattern Matching for switch (Fourth preview)

This feature is related to improving pattern matching for switch expressions and statements. Let's check the following code:

```java

// Prior to Java 21
Expand Down

0 comments on commit 3b70978

Please sign in to comment.