Per Minborg
@pminborg.bsky.social
330 followers 180 following 21 posts
Java Core Library Team @Oracle (all opinions are my own alone).
Posts Media Videos Starter Packs
pminborg.bsky.social
You can't have both laziness and immutability at the same time in #java ... until Lazy Constant arrives ...

JEP 526: Lazy Constants (Second Preview) is now a Candidate for JDK 26!

Read all about it here: openjdk.org/jeps/526
pminborg.bsky.social
Looking forward to Java One next year!
pminborg.bsky.social
My talk "Java Performance Update 2025: From JDK 21 to JDK 25" for @devoxx.com‬ was accepted!

I am looking forward to returning to Antwerp and meeting members of the #java community!

I will also do another talk: "Finally, final means final - A deep dive into field immutability in Java"
Reposted by Per Minborg
sharatchander.bsky.social
#Java peers, #JavaOne IS BACK AGAIN IN 2026 (March 17-19). Read our blog to learn more and sign up w/interest if you want to attend, speak, or sponsor: social.ora.cl/6011fdkbH
pminborg.bsky.social
We integrated #java 's new Stable Values feature just now!

This will allow developers and library developers to benefit from the "secret" @Stable annotation that the internal JDK code has been using for years. This can bring significant performance improvements to your code!

openjdk.org/jeps/502
openjdk.org
pminborg.bsky.social
We just integrated a performance improvement to Java String that will provide a ~10x performance boost in some applications where Strings are used as keys and where the associated values are constant foldable. This will make JDK 25 faster.

github.com/openjdk/jdk/...
pminborg.bsky.social
#java 's new Stable Values API (Preview) was just targeted for JDK 25!

Don't miss my talk at #JavaOne about Stable Values: reg.rf.oracle.com/flow/oracle/...
pminborg.bsky.social
AtomicReference cannot be constant folded by the VM as its content can change arbitrary. Also, there is no invoke-at-most lambda feature.
pminborg.bsky.social
Checkout JEP 502 where there are some basic examples. Happy reading!
pminborg.bsky.social
`final` variables will still be needed in most cases, but stable values give you a new choice.
pminborg.bsky.social
We have been working hard on a new feature for #java called "Stable Values".

Don't miss my talk at #JavaOne where I uncover what this can mean in terms of improved performance and maintainability for your Java code.

Early bird discounts are still available!

reg.rf.oracle.com/flow/oracle/...
Session Catalog
reg.rf.oracle.com
pminborg.bsky.social
My talk at Devoxx BE on "Java Performance Update" for JDK24 seems to attract much attention — almost 50K views in the first week alone.

Find out what you think about it and let me know your thoughts: www.youtube.com/watch?v=rXv2...
Java Performance Update
YouTube video by Java
www.youtube.com
Reposted by Per Minborg
billykorando.bsky.social
Hey #Java Developers, ☕️

JavaOne is happening March 18-20 in Redwood Shores, CA. JavaOne is your opportunity to learn about the future of Java from experts like @pminborg.bsky.social on features like Stable Value

Buy your tickets now: inside.java/j1?utm_sourc...
pminborg.bsky.social
The new StableValues JEP for #java is now one step closer to being finalized: openjdk.org/jeps/8312611

Stable Values will provide the benefits of final fields but with flexible initialization, much like combining the benefits of final and non-final fields.
pminborg.bsky.social
This appears to be a thing with American car manufacturers with four-letter surnames. Jokes aside, this is horrific.
pminborg.bsky.social
Section 3; 14th amendment ...
Reposted by Per Minborg
sharatchander.bsky.social
#Java developers!

@JavaOne is BACK (18-20 Mar). Early bird registration is available through Feb 9th. Please (re)join us at THE conference that started it all...

Blog ➡️ social.ora.cl/6015Qne5z
Event ➡️ javaone.com

#JavaOne #OpenJDK #JDK
pminborg.bsky.social
The JDK 24 train has left the station, and now we are working on JDK 25. I am hoping to see some cool improvements in this one:
pminborg.bsky.social
This is useful if you want to convert a C-string from a native call to a Java String.
pminborg.bsky.social
The fork for JDK24 is approaching and we are about to integrate a PR that will improve string-length performance for the Foreign Function & Memory API (FFM) by about 30% for common cases.

It started out as a bug (which was also solved) and ended with better performance.

github.com/openjdk/jdk/...
8345120: A likely bug in StringSupport::chunkedStrlenShort by minborg · Pull Request #22451 · openjdk/jdk
This PR proposes to rewrite the StringSupport::chunkedStrlen* methods, fixing a bug in the short_strlen variant for odd offsets (offset % 2 != 0). This PR also improves performance on modern hardw...
github.com