From nobody Mon Jul 20 12:00:01 2026 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4h3fG9624jz6lrKj for ; Mon, 20 Jul 2026 12:00:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h3fG94B7Zz3Ls6 for ; Mon, 20 Jul 2026 12:00:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784548801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5kPHe+Wp3e51QRMgLFobyH2uvHfrUhHRSIqQf7Q9Qos=; b=tMXQM5aTU2N8TS6tYL6QrWjfQuMxRAvEpS0qvKyh0Z5UTIh5M499urO0aFfSo3ucI1x+t9 Vzy6ZBuzZ8PQETVSNVqSlVsu+BsZr7i1i3a4g31/5DugD3856d6aBvpXfb5+/jaE2BHOL5 wracdZpJiFQXnwC5ZsbTg3YHsx2HPOgBAPcNUTe1FuRmH7lz1iVUeMG75grczrL0Lp898p 2hbxN3xG6JH2PPkntTjYqwIrYDIPUhV0YZQnw6CPs36EIvMCth3t66Tz8ue1aKuGdBymab gIJnQWUXHqWDL6jCdK4QLLoGp0n/HoH7fs0hxVVbW7OJHORFXG/6ePPxcOKpwA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1784548801; a=rsa-sha256; cv=none; b=oTJhBAD9+cyzhxW65BvB0dgLwN3gc44jbFSw51IQhFNn0NblHwYmI2lkn88UlUkFSwnubw 4Xw7rkw1BUGIv+iGULKQrGnK0ykqf77Fx6J2oG4FCOfzPqAIMNudZmVb1yFiHRNDMJkpYu KuvAyctZKFvB1K25l+F+HnyzTo5t31Wsw0Vx+3NUZdtM53gYn8BY+Lm1lCfE9DD0ydmGvQ ApNZ3crpxIe3/2eU+wbS9uvOVfvtBmtDSE339KPhIHeN7FJ5MuIxel+OD2PDJpbfgSUB17 +9OZTpfiaQyfL4RwnZAC0XXhXCrIpNzBVWfRa92WBJpmtwLNxK34Ga85Tcj/uw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1784548801; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5kPHe+Wp3e51QRMgLFobyH2uvHfrUhHRSIqQf7Q9Qos=; b=vg8/FbF4j5+fiwS50p1tRS8jwfRzgrXDWsyt31bjRZzZw7K2xgQ/U4JWGYvG7p1QOySFoS ZFV7m3ay85wJvtPf1XtSGRme+Uhi7ppDfOKk/hKp4Blms+M6U1HhzCqggvka5kZt0yV+X1 U40si/qd7Uaso/NImWttTApm3Il7QsUEFNBoy2ZXzKE9QRIGv85FWvIyGDWTYbe8qVhPPG D6OylWnNVd+vIRKzyK35iTPs0QiQqH3miycBn72bu1gnmppxoPJvm9dKqZkZjGBgD1smf4 0iB5kVTXccduk7GgzR2TEZHdAGLqAYIzcMQhQ9HAIDDbGrw+9GdbTO1yhpaCVw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h3fG938F5z11Jg for ; Mon, 20 Jul 2026 12:00:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3b06f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 20 Jul 2026 12:00:01 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Cc: Harald Eilertsen From: Lorenzo Salvadore Subject: git: 7859a2eacc - main - Status/2026Q2/openjdk.adoc: Add report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7859a2eacc9f5cf00a6a224375c03bacd920d061 Auto-Submitted: auto-generated Date: Mon, 20 Jul 2026 12:00:01 +0000 Message-Id: <6a5e0dc1.3b06f.d005a84@gitrepo.freebsd.org> The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=7859a2eacc9f5cf00a6a224375c03bacd920d061 commit 7859a2eacc9f5cf00a6a224375c03bacd920d061 Author: Harald Eilertsen AuthorDate: 2026-06-24 13:41:07 +0000 Commit: Lorenzo Salvadore CommitDate: 2026-07-20 11:59:32 +0000 Status/2026Q2/openjdk.adoc: Add report Pull Request: https://github.com/freebsd/freebsd-doc/pull/686 --- .../en/status/report-2026-04-3036-06/openjdk.adoc | 61 ++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/website/content/en/status/report-2026-04-3036-06/openjdk.adoc b/website/content/en/status/report-2026-04-3036-06/openjdk.adoc new file mode 100644 index 0000000000..77ee433995 --- /dev/null +++ b/website/content/en/status/report-2026-04-3036-06/openjdk.adoc @@ -0,0 +1,61 @@ +=== Improve OpenJDK on FreeBSD + +Links: + +link:https://freebsdfoundation.org/project/improving-openjdk-on-freebsd/[Project description] URL: https://freebsdfoundation.org/project/improving-openjdk-on-freebsd/[] + +link:https://github.com/freebsd/openjdk[Project repository] URL: https://github.com/freebsd/openjdk[] + +link:https://github.com/openjdk/bsd-port[Upstream BSD port repo] URL: https://github.com/openjdk/bsd-port[] + +Contact: + +Harald Eilertsen + +FreeBSD Java mailing list + +The goal of this project is to improve OpenJDK support for FreeBSD/amd64 and FreeBSD/arm64. + +Java is an important runtime environment for many high performance, critical enterprise systems. +Making sure Java based applications run correctly and efficiently on FreeBSD is important to ensure that FreeBSD will continue to be a viable and attractive platform for enterprises, as well as businesses and organizations of all sizes. + +This quarter has been spent mostly on getting the upstreaming process properly going. +We submit patches to a link:https://github.com/openjdk/bsd-port[separate repository] under the OpenJDK org on Github, and make sure that each PR is reviewed by at least one upstream reviewer. +This way, when we get to the point where we want to merge our port into the upstream mainline, all commits should already be reviewed by someone in the project. + +This is a fairly slow process, as we depend on upstream reviewers having time. +We also encounter that some of the changes that has been living in our port for a long time is rejected. +Then we have to rework them, or if not strictly needed, just throw them out. +I feel this is a useful correction, but sometimes causes quite a bit of work. + + +In this quarter the following issues/milestones were reached: + +* OpenJDK 25 port was updated to link:https://reviews.freebsd.org/D56522[version 25.0.3]. +* Upstream mainline changes and bugfixes: + - link:https://github.com/openjdk/jdk/pull/30853[8382614: Consolidate implementation of current_stack_base_and_size on BSD] + - link:https://github.com/openjdk/jdk/pull/31069[8384085: Make os::Bsd::dlopen_helper private, and drop unused arg] + - link:https://github.com/openjdk/jdk/pull/31070[8384088: osThread _thread_id should be an int on all BSD's] + - link:https://github.com/openjdk/jdk/pull/31199[8384946: os::Bsd::gettid misses the return value] + - link:https://github.com/openjdk/jdk/pull/31455[8386344: runtime/StackGuardPages/TestStackGuardPages build failure after JDK-8303612] +* Upstream BSD Port: + - link:https://github.com/openjdk/bsd-port/pull/7[Fix conditional sections for BSD in hotspot/cpu] + - link:https://github.com/openjdk/bsd-port/pull/8[Port hotspot/os/posix for BSD] + - Merged changes accepted for mainline. +* Current (out-of-tree) BSD port: + - link:https://github.com/battleblow/jdk/pull/49[Merge + Remove VFORK for BSD + rebase GHA workflow on OpenJDK26] + - link:https://github.com/battleblow/jdk/pull/53[Merge + Fix usage of FREE_C_HEAP_ARRAY macro on BSD] + - link:https://github.com/battleblow/jdk/pull/54[Sync aarch64 cpuinfo impl for *BSD with Linux] + - link:https://github.com/battleblow/jdk/pull/55[Remove duplicate include in global defs for zero] + - link:https://github.com/battleblow/jdk/pull/59[Remove ThreadWXEnable from BSD code] + - Backported changes accepted for mainline upstream BSD port. +* Ports: + - link:https://cgit.freebsd.org/ports/commit/?id=7878106082fd1f07814d754ef767c1f59168d1e9[java/javavmwrapper: JAVA_VERSION does not work with openjdk25] + +In addition, these tasks are still ongoing, or waiting for review: + +* Upstream BSD port: + - link:https://github.com/openjdk/bsd-port/pull/9[Port hotspot/os/bsd/os_perf_bsd.cpp to BSD] (Waiting for refactor, see link:https://github.com/battleblow/jdk/pull/61[WIP: Split os_perf impl for macOS and BSD]) + - link:https://github.com/openjdk/bsd-port/pull/11[os::get_process_uid and os::rss for BSD] (Still ongoing) + +Other notes: + +* Started preparing for link:https://github.com/snake66/jdk/tree/freebsd-jdk27[OpenJDK 27 port]. +* Presented the project at link:https://foss-north.se/2026/speakers-and-talks.html#heilertsen[Foss North 2026]. + +Sponsor: The FreeBSD Foundation