RFR: 8370065: Windows perfmemory coding - use SetSecurityDescriptorControl directly

Matthias Baesken mbaesken at openjdk.org
Wed Oct 22 12:48:46 UTC 2025


We have some 'at runtime' checks for availability of SetSecurityDescriptorControl in the Windows perfmemory coding. But those were done for very old Windows versions like Win98 and can probably be removed.
Looking at the description
https://learn.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-securitybaseapi-setsecuritydescriptorcontrol
it is available at least since Win2003/XP so the function can be called directly.

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

Commit messages:
 - JDK-8370065

Changes: https://git.openjdk.org/jdk/pull/27937/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27937&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8370065
  Stats: 26 lines in 1 file changed: 0 ins; 14 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/27937.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27937/head:pull/27937

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


More information about the hotspot-runtime-dev mailing list