Java 新闻
Java 8 to 18: Most important changes in the Java PlatformJava 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 MoreG1 Pre-Barrier Implementation
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 MoreString Templates, JavaFX 19, Deserialization, and more at JavaOne - Inside Java Newscast #32
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 MoreLocal Class Improvements - Sip of Java
Here are three recent changes that expand what can be done with local classes.
Read MoreConcurrent Marking in G1
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 MoreInside Java Newsletter: August 2022
We’re all looking forward to meeting you at JavaOne, the premier Java conference in Las Vegas in October.
Read MoreInternationalization in Java - Sip of Java
Java application's often cross national and linguistic boundaries; let's look at how Java can handle this requirement.
Read MoreNew candidate JEP: 429: Extent-Local Variables (Incubator)
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 MoreVideo Series: Why I’m excited for JavaOne
Hear why people are excited about JavaOne!
Read MoreSequenced Collections, Purity, and more at JavaOne - Inside Java Newscast #31
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 MoreSourced from https://inside.java via RSS.