RFR: 8370065: Windows perfmemory coding - use SetSecurityDescriptorControl directly

David Holmes dholmes at openjdk.org
Wed Oct 22 21:50:21 UTC 2025


On Wed, 22 Oct 2025 12:40:58 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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.

This seems fine.

Thanks.

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27937#pullrequestreview-3367641228


More information about the hotspot-runtime-dev mailing list