forked-franz.bsky.social
@forked-franz.bsky.social
Reposted
github.com/netty/netty/...

This is only needed for 4.1.x, in 4.2.x we are able to fix this in another way that does not require the usage of sun.misc.Unsafe
Re-enable sun.misc.Unsafe by default on Java 24+ by chrisvest · Pull Request #15296 · netty/netty
See https://github.com/netty/netty/wiki/Java-24-and-sun.misc.Unsafe for more information. Motivation: In #14943 we disabled Unsafe by default on Java 24+, to avoid producing warnings from the JVM. ...
github.com
June 3, 2025 at 8:48 PM
Reposted
The Devoxx Belgium 2025 CFP is now OPEN!
➡️https://dvbe25.cfp.dev
This year we’re zooming in on Java 25 & AI Agents🤖
Got insights, hacks, or bold ideas? Share them with the dev community at #Devoxx 🔥
June 2, 2025 at 6:38 AM
Reposted
From @forked-franz.bsky.social : These days, lot of @openjdk.org loom fun:
github.com/franz1981/Ne...

Do you know that VT schedulers are inherited?
Which means that if you have your own and clinit some Key OpenJDK class, u risk to make your scheduler to leak into some JDK class (!)
https://github.com/franz1981/Nett…
May 31, 2025 at 1:27 PM
Reposted
Today I learned that in IBM J9 not all classes are the same:

> "A ROM Class roughly corresponds to the contents of a .class file; it is not a complete class because it only references its superclass and implemented interfaces by name."

blog.openj9.org/2018/11/08/a...
github.com/eclipse-open...
Ahead Of Time Compilation: Validation
This post finally gets to the much alluded to topic of Validation. As mentioned in a previous post, Validation is one of the two actions the JVM must perform to generate and execute AOT code; …
blog.openj9.org
May 30, 2025 at 6:06 PM
Reposted
❌ printf debugging
✅ segfault debugging
May 19, 2025 at 1:24 PM
Reposted
⏰ Starting soon! Join us for Quarkus Insights Ep. #206 as Andrea Peruffo & Hiram Chirino join us to talk about WebAssembly (WASM) & how it powers a wide range of apps & reveals potential for unique integrations & performance gains, in Java & Quarkus.

bit.ly/quarkusinsig...
May 19, 2025 at 12:45 PM
Reposted
TIL: since jdk22 you can use the JVM option -XX:LogClassLoadingCauseFor=com.mycompany.MyClass in conjunction with -Xlog:class+load+cause* to find out the stacktrace that triggers the load of the specify class.
see github.com/openjdk/jdk/...
8193513: add support for printing a stack trace on class loading by dougxc · Pull Request #14553 · openjdk/jdk
In the development of libgraal, it has been very useful to see why a given class is loaded (e.g., trying to reduce startup time by avoiding unnecessary eager class loading). One way to do this is t...
github.com
May 13, 2025 at 3:07 PM
Reposted
Was fighting a "LinkageError: attempted duplicate class definition" for 3 days... took me 2 seconds with that option!
May 13, 2025 at 3:09 PM
Reposted
The podcast episodes by @adambien.blog and @forked-franz.bsky.social talking low level Java performance stuff are 🙌🏻🙌🏻
I hope they do more
airhacks.fm#episode_343
airhacks.fm#episode_340
airhacks.fm podcast
podcast with adam bien
airhacks.fm
May 11, 2025 at 2:20 PM
Reposted
Showing kiddo Porco Rosso
May 4, 2025 at 6:06 PM
Reposted
(We need the queue to be lock-free even though the kernel is single-threaded because we may want to schedule a task from an interrupt handler, and if the interrupt fires during a task schedule that held a lock on the queue, the kernel would deadlock)
May 3, 2025 at 9:08 AM
Reposted
The idea is that I have a cooperatively-scheduled single-threaded OS kernel that uses C++20 coroutines as its means of expressing tasks.

I want to be able to await on asynchronous tasks, and also manually yield back to the scheduler in the case of long-running computations.

Some examples:
May 3, 2025 at 8:46 AM
Reposted
CRT support

The performance is great and this is very easy to use for younger kids.
April 30, 2025 at 2:37 PM
Reposted
If anyone knows of resources for this, I am very much interested, as I am more or less fumbling around.

Getting a simple scheduler based on a lock free MPMC queue that works for basic coroutines was pretty straightforward, but as soon as those coroutines nest it becomes very headache-inducing.
May 2, 2025 at 8:57 PM
Reposted
Trying to implement an OS-level scheduler for C++20 coroutines that supports symmetric transfer and my brain is melting
May 2, 2025 at 8:51 PM
Reposted
Hello you fine Internet folks,

Today's article we are deep-diving into the architecture of Zhaoxin's latest CPU series, the KX-7000. We compare the KX-7000 to the KX-6000 along with some older x86 CPUs.

Hope y'all enjoy!

open.substack.com/pub/chipsand...

old.chipsandcheese.com/2025/04/30/z...
Zhaoxin’s KX-7000
Zhaoxin is a Chinese x86 CPU designer.
open.substack.com
April 30, 2025 at 8:26 PM
Reposted
I finally got my hard copy of @tartanllama.xyz's Building a Debugger and boy is it a treat! Not only is it a missing guide to DWARF for dummies like me, but it is also a gentle introduction to x64 ASM. Highly recommended! Kudos to @nostarchpress.bsky.social really my fav tech publisher :chefkiss:
April 30, 2025 at 7:06 PM
Reposted
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/...
April 22, 2025 at 3:14 PM
Reposted
🧩 Are We Enterprise-Ready Yet? By @evacchi.dev & @andreatp.bsky.social @ Wasm I/O 2025

▶️ Video: youtu.be/UyyVL-dDbCw

🔗 Slides: docs.google.com/presentation... #wasmio25
Are We Enterprise-Ready Yet? By Edoardo Vacchi & Andrea Peruffo @ Wasm I/O 2025
YouTube video by WASM I/O
youtu.be
April 7, 2025 at 3:47 PM
Reposted
Hello you fine Internet folks,

Today we have an interview with @oxidecomputer.bsky.social's @bcantrill.bsky.social about Oxide and what hardware they are building and the reasons why.

Hope y'all enjoy!

open.substack.com/pub/chipsand...

old.chipsandcheese.com/2025/03/27/a...

youtu.be/5-nOIlrUqMM
An Interview with Oxide's Bryan Cantrill
Hello you fine Internet folks,
open.substack.com
March 28, 2025 at 12:20 AM
Reposted
Rare chance to see me in person in Singapore!

March 27 I'll present on an extremely interesting JVM performance topic:

www.meetup.com/singadev/eve...

Also looking forwards to network and discuss anything related to @quarkus.io , @hibernate.org , @commonhaus.org
😉
The JVM’s Secret Bottleneck & The Next Wave in Spring AI and MCP, Thu, Mar 27, 2025, 6:30 PM | Meetup
**Title: The JVM’s Secret Bottleneck by Sanne Grinovero (Lead of the opensource Hibernate project!)** This presentation will delve into a serious JVM performance issue that
www.meetup.com
March 20, 2025 at 1:58 PM
Reposted
Hello you fine Internet folks,

Today's article is on Zen 5's frequency behavior when dealing with AVX512 instructions and seeing just how differently Zen 5 behaves to Skylake-X.

Hope y'all enjoy!

open.substack.com/pub/chipsand...

old.chipsandcheese.com/2025/02/28/z...
Zen 5's AVX-512 Frequency Behavior
Zen 5 is AMD's first core to use full-width AVX-512 datapaths.
open.substack.com
March 1, 2025 at 4:07 AM
Reposted
January 10, 2025 at 10:37 PM