[jdk16] RFR: 8260632: Build failures after JDK-8253353
Thomas Stuefe
stuefe at openjdk.java.net
Fri Jan 29 08:38:42 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:
Seems fine and trivial to me.
..Thomas
-------------
Marked as reviewed by stuefe (Reviewer).
PR: https://git.openjdk.java.net/jdk16/pull/138
More information about the shenandoah-dev
mailing list