RFR: 8374372: Move OSX Serviceability Agent to macosx namespace
Harald Eilertsen
haraldei at openjdk.org
Thu Jan 8 10:02:34 UTC 2026
On Sat, 27 Dec 2025 11:25:25 GMT, Harald Eilertsen <haraldei at openjdk.org> wrote:
> The Mac OSX implementation of the Serviceability Agent and related code is quite different from what's needed from the BSD implementation. Still we have tried to keep the coexisting in one codebase in the out-of-tree BSD port, as that's where the OSX code has been living.
>
> This sometimes cause problems when updates to the Mac OSX port breaks the BSD implementation.
>
> As we are working on getting the BSD port into a state for future upstreaming to the mainline repo, this patch clears the path by moving the Mac OSX implementation of the Servicability Agent to a more fitting namespace.
>
> This should allow us to proceed with the BSD implementation undisturbed, but also without risking breaking the OSX port.
>
> This work was sponsored by The FreeBSD Foundation
> > It is in practice gone already, and has been for a long time. While the directories, files, classes and functions have "bsd" in them, they are in reality macOS sources.
>
> Are you just referring to SA sources here, or also all the jdk library macosx directories and the hotspot os/bsd directory?
Both the SA and hotspot os/bsd directories.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29003#issuecomment-3723110139
More information about the serviceability-dev
mailing list