Compile error:
src/hotspot/share/memory/filemap.cpp: In member function 'void FileMapRegion::init(int, char*, size_t, bool, bool, int)':
src/hotspot/share/memory/filemap.cpp:1136:33: error: right shift count >= width of type [-Werror]
assert(_mapping_offset >> 32 == 0, "must be 32-bit only");
^
src/hotspot/share/utilities/debug.hpp:56:9: note: in definition of macro 'vmassert'
if (!(p)) { \
^
src/hotspot/share/memory/filemap.cpp:1136:7: note: in expansion of macro 'assert'
assert(_mapping_offset >> 32 == 0, "must be 32-bit only");
^
src/hotspot/share/memory/filemap.cpp: In member function 'u_char* FileMapInfo::decode_start_address(FileMapRegion*, bool)':
src/hotspot/share/memory/filemap.cpp:1569:21: error: right shift count >= width of type [-Werror]
assert((offset >> 32) == 0, "must be 32-bit only");
^
src/hotspot/share/utilities/debug.hpp:56:9: note: in definition of macro 'vmassert'
if (!(p)) { \
^
src/hotspot/share/memory/filemap.cpp:1569:3: note: in expansion of macro 'assert'
assert((offset >> 32) == 0, "must be 32-bit only");
^
GCC version:
arm-linux-gnueabihf-g++ (Linaro GCC 4.9-2017.01) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.