photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

243
active users

#openjdk

1 post1 participant0 posts today
==============================
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

Just published a longform article on parallel collectors in Java Streams.

✅ Covers correctness, performance, pitfalls
🛠 Custom collectors with CONCURRENT semantics
🔬 JMH benchmark

TL;DR: .parallelStream() is not a magic wand.

svenruppert.com/2025/04/08/syn

Sven Ruppert · Synchronous in Chaos: How Parallel Collectors Bring Order to Java Streams
More from Sven Ruppert
Replied in thread

@lproven such a soothing ending:

"… a pretty nice language, and when my code compiles, which is often the first time, it’ll usually also run correctly. I don’t have that peace of mind with any other language. Java just works like a horse and is useful across a very broad range of applications."

Rewind to 2014: <news.ycombinator.com/item?id=8>.

Fast-forward. How might the author, and those people, feel nowadays? I wonder.

I am, peculiarly, required to not install something that does not risk breaking a licence agreement.

I understand the peculiarity. The brouhaha a few months ago … organisations becoming overcautious (avoidance of Oracle's, erm, slightly elevated licence fees). I'm waiting, patiently, for the perceived risk to match reality …

news.ycombinator.comJava for Everything | Hacker News

Okay, this sucks. I recently updated my OS and it now uses #Wayland instead of X11. Sadly, it appears that @josmeditor :josm: now runs terribly. Everytime a window needs to open (e.g., download dialog, relation editor) it takes 10–12 seconds before it appears and freezes up the app in the meantime. This freezing up also happens often when something graphical needs to run. Does anyone have any solution for this? #OpenJDK still doesn’t fully support Wayland.