--- old/src/hotspot/share/gc/shenandoah/shenandoahHeuristics.hpp 2020-04-03 22:13:08.769235751 +0200 +++ new/src/hotspot/share/gc/shenandoah/shenandoahHeuristics.hpp 2020-04-03 22:13:08.660236476 +0200 @@ -57,7 +57,7 @@ #define SHENANDOAH_CHECK_FLAG_SET(name) \ do { \ - if (!name) { \ + if (!(name)) { \ err_msg message("Heuristics needs -XX:+" #name " to work correctly"); \ vm_exit_during_initialization("Error", message); \ } \