[jdk16] Integrated: 8260632: Build failures after JDK-8253353

Aleksey Shipilev shade at openjdk.java.net
Fri Jan 29 17:50:47 UTC 2021


On Fri, 29 Jan 2021 08:20:10 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> [JDK-8253353](https://bugs.openjdk.java.net/browse/JDK-8253353) changed the field to `uint16_t`, and now `shenadoahSupport.cpp` code runs into ambiguity choosing between `uint8_t` and `uint16_t` when instantiating `MAX2` macro:
> 
> 
>      max_depth = MAX2(max_depth, lpt->_nest);
>                                            ^
> In file included from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/metaprogramming/primitiveConversions.hpp:30:0,
>                  from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/oops/oopHandle.hpp:28,
>                  from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/classfile/systemDictionary.hpp:28,
>                  from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/classfile/javaClasses.hpp:28,
>                  from /home/buildbot/worker/build-jdk16u-linux/build/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:27:
> 
> Additional testing:
>  - [x] Linux x86_64 `hotspot_gc_shenandoah`
>  - [x] Linux x86_64 `tier1` with Shenandoah

This pull request has now been integrated.

Changeset: bc41bb10
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk16/commit/bc41bb10
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8260632: Build failures after JDK-8253353

Reviewed-by: stuefe, thartmann, kvn

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

PR: https://git.openjdk.java.net/jdk16/pull/138



More information about the hotspot-gc-dev mailing list