Integrated: 8343513: Forward declare Thread in mutexLocker.hpp

Johan Sjölen jsjolen at openjdk.org
Mon Nov 4 12:16:34 UTC 2024


On Mon, 4 Nov 2024 07:57:50 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

This pull request has now been integrated.

Changeset: b41d713f
Author:    Johan Sjölen <jsjolen at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b41d713ff4157ebfed9da809c2ef970a3d1a6af6
Stats:     3 lines in 2 files changed: 2 ins; 0 del; 1 mod

8343513: Forward declare Thread in mutexLocker.hpp

Reviewed-by: dholmes, mgronlun, shade

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

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


More information about the hotspot-runtime-dev mailing list