Integrated: 8324838: test_nmt_locationprinting.cpp broken in the gcc windows build

Julian Waters jwaters at openjdk.org
Thu Feb 1 05:57:08 UTC 2024


On Mon, 29 Jan 2024 12:52:11 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> test_nmt_locationprinting.cpp defines method test_for_dead_c_heap_block unconditionally, but this method is only ever used on Linux. In the gcc windows build this fires an unused method warning and breaks the gtest suite. Since this is never used outside of Linux, make this method's definition only appear on Linux to avoid polluting code on other platforms

This pull request has now been integrated.

Changeset: a2229b18
Author:    Julian Waters <jwaters at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a2229b18bf93e05d6cba4516d1fc9c607cd15bca
Stats:     3 lines in 1 file changed: 2 ins; 0 del; 1 mod

8324838: test_nmt_locationprinting.cpp broken in the gcc windows build

Reviewed-by: dholmes, kevinw, jsjolen

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

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


More information about the hotspot-runtime-dev mailing list