Trivial MacOS compiler warning

Lennart Börjeson lennart.borjeson at cinnober.com
Thu Feb 1 10:22:36 UTC 2018


Nice!

> 1 feb. 2018 kl. 10:59 skrev Aleksey Shipilev <shade at redhat.com>:
> 

[...]

> Updated:
>  http://cr.openjdk.java.net/~shade/shenandoah/build/macos-1/webrev.02/
> 
> Thanks,
> -Aleksey
> 

That patch fixed both problems, thank you!

I now see one more warning which seems to be in Shenandoah:

/Users/lennartb/RaT/openJDK/shenandoah-jdk10/src/hotspot/share/gc/shenandoah/shenandoahStringDedup.cpp:157:5: warning: delete called on 'ShenandoahStrDedupTableCleanupTask' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor]
    delete _dedup_table_cleanup_task;
    ^
1 warning generated.



There are also some of other warnings, but they do definitely seem to be upstream or related to my OS being a later release (10.13) than the release build system (10.7), e.g.:

Creating support/modules_cmds/jdk.jlink/jlink from 1 file(s)
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]


/Lennart



More information about the shenandoah-dev mailing list