RFR: 8343513: Forward declare Thread in mutexLocker.hpp [v3]

Markus Grönlund mgronlun at openjdk.org
Mon Nov 4 09:52:29 UTC 2024


On Mon, 4 Nov 2024 09:13:05 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Hi,
>> 
>> Let's explicitly forward declare `Thread` in `mutexLocker.hpp` instead of including `thread.hpp`. Previously we got the forward declaration from `memory/allocation.hpp`, but let's be explicit about forward declarations being used when we can.
>> 
>> Thanks
>
> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Typo

Looks good.

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

Marked as reviewed by mgronlun (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/21868#pullrequestreview-2412609719


More information about the hotspot-runtime-dev mailing list