Integrated: 8263908: Build fails due to initialize_static_field_for_dump defined but not used after JDK-8263771

Jie Fu jiefu at openjdk.java.net
Sun Mar 21 23:10:47 UTC 2021


On Sun, 21 Mar 2021 13:44:19 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> Build failures were observed when cds or g1gc was disabled due to initialize_static_field_for_dump/initialize_static_string_field_for_dump defined but not used.
> 
> This can be reproduced by:
>   - build without cds,  or
>   - build without g1gc, or
>   - build on x86_32
> 
> This is because INCLUDE_CDS_JAVA_HEAP will be false for these cases [1].
> Let's fix it.
> 
> Thanks.
> Best regards,
> Jie
> 
> [1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/utilities/macros.hpp#L612

This pull request has now been integrated.

Changeset: 35cd9456
Author:    Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/35cd9456
Stats:     4 lines in 1 file changed: 4 ins; 0 del; 0 mod

8263908: Build fails due to initialize_static_field_for_dump defined but not used after JDK-8263771

Reviewed-by: iklam, dholmes

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

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


More information about the hotspot-runtime-dev mailing list