mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#openjdk

3 Beiträge3 Beteiligte0 Beiträge heute

In this week’s blog post, I explore how the new CPU-time profiler in Java 25 works under the hood.
From signal handlers and tri-state locks to thread-local queues and sampling strategies, this post covers the main components driving the profiler’s implementation: mostlynerdless.de/blog/2025/07
#Java #OpenJDK #Profiling #JFR

Mostly nerdless · Java 25's new CPU-Time Profiler: The Implementation (2) - Mostly nerdlessIn this week's blog post, learn how Java 25's new CPU-time profiler in OpenJDK works internally and why concurrency is challenging.


The @FreeBSD Foundation is writing about my work over the past eight months on their blog.

Last weekend, I visited my brother-in-law’s family. After being enthusiastically greeted by my niece and nephew, they quickly returned to their game on the PlayStation. “What are you playing?” I asked. “Minecraft!” they shouted. If you already know where this is going, you’re ahead of me. But if not, allow me to take you on…


Read the full post at the FreeBSD Foundation blog.

#Java #OpenJDK #FreeBSD #programming #mywork

Earlier this month, I released V0.0.1 of my new Java library to interact with DMX512 devices using (optionally) the Open Fixture Library (OFL). After some more experimenting, I’m able to announce the next (beta) release, V0.0.2, with code improvements, the introduction of universes, and support for a first USB-to-DMX interface!

All info:
webtechie.be/post/2025-07-29-j

Video universes:
youtube.com/watch?v=slC4niKWUq0

Video USB-to-DMX:
youtube.com/watch?v=q7T66fzsym0

webtechie.beRelease V0.0.2 of Java DMX512 Library With Universes and USB-to-DMX support | webtechie.be
#java#openjdk#javafx
==============================
Test summary
==============================
  TEST                                              TOTAL  PASS  FAIL ERROR
  jtreg:test/hotspot/jtreg/runtime/ErrorHandling/StackWalkNativeToJava.java
                                                        1     1     0     0
==============================
TEST SUCCESS

Ah, finally got this working on Aarch64 for the coming update of OpenJDK 24 for FreeBSD. This means stack traces on VM panics now should work properly also on FreeBSD/Aarch64 as well as Amd64. (Possibly also the other BSD's, but someone will have to verify that.)

Along with some other BSD related fixes and refactorings backported from mainline, I think version 24.0.2 will be the most solid OpenJDK for FreeBSD so far. It's still not on par with the platforms supported by upstream, but we're slowly getting closer.

#FreeBSD #OpenJDK #programming
hub.volse.noVolse Hubzilla


Over the past seven months I've been working on improving the support for FreeBSD in OpenJDK, sponsored by the @FreeBSD Foundation.

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR  SKIP
>> jtreg:test/hotspot/jtreg:tier1                     3033  2720     9     0   304 <<
==============================

When I started on this project, we had about 100 failing Hotspot tests on FreeBSD, in addition to around 40 in the rest of the JDK. Getting below 10 in total (on x86_64) feels like a significant milestone, and worthy of a bit of celebration! :party_popper:

It's been an interesting, and very educational ride. Some of those tests were pretty easy wins, but some required delving deep into the internals of both OpenJDK and FreeBSD, as well as getting acquainted with the basics of the ARM architecture and instruction set. (Remembering how fascinated I was when the Acorn Archimedes was launched, I'd say this was long overdue!)

I finally feel that the OpenJDK BSD port is nearing a state where it makes sense to try to upstream it, and get it fully integrated into the OpenJDK infrastructure and build/test/CI frameworks. There's still a lot of work remaining to get there, it has to be done in portions and with the cooperation of the upstream project, but I hope to be able to spend the next six months or so to get there.

Thanks a lot to the welcoming and supportive OpenJDK developer community, as well as the @FreeBSD Foundation and the people there for sponsoring and supporting the project, and for providing help and insights about the FreeBSD internals when I got stuck.

#OpenJDK #java #FreeBSD #BSD #programming #mywork