RFR: JDK-8273815: move have_special_privileges to os_posix for POSIX platforms [v2]

David Holmes dholmes at openjdk.java.net
Sun Sep 19 23:11:09 UTC 2021


On Fri, 17 Sep 2021 14:45:09 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> We have identical have_special_privileges() for Linux/AIX/BSD so the function is a good candidate to be moved to os_posix.
>> 
>> Thanks, Matthias
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Simplification proposed by Thomas Stuefe

As an equivalent refactoring this is fine.

We could also do the initialization is os::init() but it makes little, if any difference.

Thanks,
David

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

Marked as reviewed by dholmes (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5540


More information about the hotspot-runtime-dev mailing list