Java 新闻

Java 8 to 18: Most important changes in the Java Platform

By Aurelio Garcia Ribeyro on August 29, 2022

Java 8 launched in March of 2014, Java 18 in March of 2022. There are 8 years of progress, 203 JDK Enhancement Proposals (JEPs), between those two releases. In this video, we will review the most important changes and discuss the benefits, and challenges, of adoption newer JDK versions for both new applications and older ones compiled with older releases.

Read More
G1 Pre-Barrier Implementation

By Albert Yang on August 24, 2022

G1 uses two kinds of barriers to maintain certain GC invariants, pre-barrier and post-barrier. This article focuses on the pre-barrier and see its implementation in OpenJDK. These two kinds of barriers are usually next to each other in the codebase, so one can easily do the same for the post-barrier after going through this article …

Read More
String Templates, JavaFX 19, Deserialization, and more at JavaOne - Inside Java Newscast #32

By Nicolai Parlog on August 23, 2022

String templates make it easy and safe to embed variables and expressions in strings; JavaFX 19 comes with many improvements, chief among them derived observables; and the deserialization filter can keep apps safe from certain attacks. More on all of this at JavaOne!

Read More
Local Class Improvements - Sip of Java

By Billy Korando on August 22, 2022

Here are three recent changes that expand what can be done with local classes.

Read More
Concurrent Marking in G1

By Thomas Schatzl on August 18, 2022

A recent change fundamentally changed how G1 uses mark bitmaps to store liveness information: instead of recording this information using two bitmaps spanning the heap that G1 uses alternatingly, there is now only one bitmap. This not only changes how G1 uses the bitmap in many places in the garbage collector, but also reduces G1 garbage collector native memory consumption by a large amount, to be exact by 1.5% of Java heap size...

Read More
Inside Java Newsletter: August 2022

By Jim Grisanzio on August 17, 2022

We’re all looking forward to meeting you at JavaOne, the premier Java conference in Las Vegas in October.

Read More
Internationalization in Java - Sip of Java

By Billy Korando on August 17, 2022

Java application's often cross national and linguistic boundaries; let's look at how Java can handle this requirement.

Read More
New candidate JEP: 429: Extent-Local Variables (Incubator)

By on August 12, 2022

Summary: Introduce extent-local variables, which enable the sharing of immutable data within and across threads. They are preferred to thread-local variables, especially when using large numbers of virtual threads. This is an incubating API.

Read More
Video Series: Why I’m excited for JavaOne

By on August 11, 2022

Hear why people are excited about JavaOne!

Read More
Sequenced Collections, Purity, and more at JavaOne - Inside Java Newscast #31

By Nicolai Parlog on August 11, 2022

Sequenced collections introduce an abstraction for collections with a known encounter order like all lists and some sets and maps. It will be easy to add, get, or remove the first and last elements and to iterate or stream in reverse order. We're also discussing immutable collections and pure functions. More on all of this at JavaOne!

Read More

Sourced from via RSS.