diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-27 16:59:37 +0200 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-06-27 17:14:08 +0200 |
commit | 3a407ba074c037ab429e357307016648b4d5ed33 (patch) | |
tree | 37dd87a406495866fc7e1b806e1fe3be672ad104 /java/openjdk20/pkg-message | |
parent | www/apache24: Allow overriding USERS and GROUPS via make.conf (diff) |
openjdk: remove need for fdescfs(5) and probably procfs(5)
Implement getCommittedVirtualMemorySize() directly using sysctl
kern.proc.vmmap
Implement getOpenFileDescriptorCount() directly using sysctl
kern.proc.nfds
Note on openjdk17 use closefrom where possible (note this use case is
only in openjdk 17, 21, 23 and 24)
Remove the message about the use of fdescfs(5) as this is not needed
for sure, keep the information about procfs(5) as I have not analysed
enough the source code to make sure it is not used anywhere else, but
I don't think it is.
Diffstat (limited to 'java/openjdk20/pkg-message')
-rw-r--r-- | java/openjdk20/pkg-message | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/java/openjdk20/pkg-message b/java/openjdk20/pkg-message index fcb6defe8dcd..811dcb1e3b58 100644 --- a/java/openjdk20/pkg-message +++ b/java/openjdk20/pkg-message @@ -1,17 +1,15 @@ [ { type: install message: <<EOM -This OpenJDK implementation may require fdescfs(5) mounted on /dev/fd -and procfs(5) mounted on /proc for some applications. +This OpenJDK implementation may require procfs(5) mounted on /proc for some +applications. If you have not done it yet, please do the following: - mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: - fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 EOM } |