Trivial MacOS compiler warning
Aleksey Shipilev
shade at redhat.com
Thu Feb 1 09:59:09 UTC 2018
On 02/01/2018 10:46 AM, Lennart Börjeson wrote:
>
>> 1 feb. 2018 kl. 10:32 skrev Aleksey Shipilev <shade at redhat.com <mailto:shade at redhat.com>>:
>>
> ...
>> Thanks! Is that the only warning we have during the Mac OS build?
>>
>
> No, there's also a compiler error when building fast-debug (which I'd like to have to bring you some
> meaningful tracebacks for some Shenandoah-crashes I get), but I am unsure if this is upstream or not:
>
> ERROR: Build failed for target 'default (exploded-image)' in configuration
> 'macosx-x86_64-normal-server-fastdebug' (exit code 2)
> Stopping sjavac server
>
> === Output from failing command(s) repeated here ===
> * For target hotspot_variant-server_libjvm_objs_loopPredicate.o:
> /Users/lennartb/RaT/openJDK/shenandoah-jdk10/src/hotspot/share/opto/loopPredicate.cpp:1018:71:
> error: ordered comparison between pointer and zero ('const TypeInt *' and 'int')
> assert(rng->Opcode() == Op_LoadRange || _igvn.type(rng)->is_int() >= 0, "must be");
> ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
Yes, this is our assert. I think we have mismerged a part of this fix:
http://hg.openjdk.java.net/shenandoah/jdk10/rev/1c9cefa2a443
Updated:
http://cr.openjdk.java.net/~shade/shenandoah/build/macos-1/webrev.02/
Thanks,
-Aleksey
More information about the shenandoah-dev
mailing list