battleblow / openjdk-jdk11u

BSD port of OpenJDK 11
GNU General Public License v2.0
9 stars 8 forks source link

assert(len == sizeof(mem_val)) failed: unexpected data size on 32bits arch #77

Closed MikaelUrankar closed 5 years ago

MikaelUrankar commented 5 years ago

I hit this assert on armv7 with fastdebug build. I assume it's the same on i386.

# Internal Error (src/hotspot/os/bsd/os_bsd.cpp:319), pid=42571, tid=100522
# assert(len == sizeof(mem_val)) failed: unexpected data size

len=4, sizeof(mem_val)=8
sizeof(julong): 8

https://github.com/MikaelUrankar/openjdk-jdk11u/blob/bsd-port/src/hotspot/os/bsd/os_bsd.cpp#L319

battleblow commented 5 years ago

Thanks Mikael! I've merged this fix