On ARM char is unsigned by default, which causes a warning:
/export/boris/openjdk/jdk/src/hotspot/share/code/nmethod.hpp: In member function ‘bool nmethod::is_not_installed() const’:
/export/boris/openjdk/jdk/src/hotspot/share/code/nmethod.hpp:319:67: error: comparison is always false due to limited range of data type [-Werror=type-limits]
bool is_not_installed() const { return _state == not_installed; }
A possible solution would be to declare nmethod::_state signed explicitly.
/export/boris/openjdk/jdk/src/hotspot/share/code/nmethod.hpp: In member function ‘bool nmethod::is_not_installed() const’:
/export/boris/openjdk/jdk/src/hotspot/share/code/nmethod.hpp:319:67: error: comparison is always false due to limited range of data type [-Werror=type-limits]
bool is_not_installed() const { return _state == not_installed; }
A possible solution would be to declare nmethod::_state signed explicitly.
- relates to
-
JDK-8043070 nmethod::verify_interrupt_point() shouldn't enter safepoint
-
- Closed
-