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