RFR: 8289230: Move PlatformXXX class declarations out of os_xxx.hpp [v2]
Ioi Lam
iklam at openjdk.org
Tue Jun 28 22:47:42 UTC 2022
On Tue, 28 Jun 2022 21:02:53 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> I fixed it as you suggested. I also fixed semaphore.hpp where I copied the old pattern from.
>
> Doesn't the OS_HEADER() -similar macro that handles the posix case too? I don't see it though.
` OS_HEADER(threadCrashProtection)` will give threadCrashProtection_linux.hpp, etc. It won't give us threadCrashProtection_posix.hpp. I didn't want to write three threadCrashProtection_{aix,bsd,linux}.hpp files that each just has a single line that includes the _posix version.
-------------
PR: https://git.openjdk.org/jdk/pull/9303
More information about the serviceability-dev
mailing list