[jdk16] RFR: 8260632: Build failures after JDK-8253353
Aleksey Shipilev
shade at openjdk.java.net
Fri Jan 29 17:50:46 UTC 2021
On Fri, 29 Jan 2021 16:29:44 GMT, Vladimir Kozlov <kvn 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
>
> Good. I approved fix request for JDK 16.
Thank you.
-------------
PR: https://git.openjdk.java.net/jdk16/pull/138
More information about the shenandoah-dev
mailing list