I noticed under src/jdk.hotspot.agent/macosx/native/libsaproc/ we still have a 
bunch of FreeBSD native code. You'll find it within #ifdef's like the following:

#ifdef __APPLE__
// macosx code
#else
// FreeBSD code
#endif

The #else part is only needed for the FreeBSD port, which is now located under 
src/jdk.hotspot.agent/bsd/native/libsaproc/ (in the jdk freebsd repo). All of 
it can be deleted, and I got approval from the bsd team to do this. It is a 
fairly large chunk of code, and removing it will make browsing the macosx code 
simpler. No more false grep hits.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - remove freebsd code from macosx port

Changes: https://git.openjdk.org/jdk/pull/33524/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33524&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8394702
  Stats: 832 lines in 6 files changed: 1 ins; 831 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/33524.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33524/head:pull/33524

PR: https://git.openjdk.org/jdk/pull/33524

Reply via email to