Blame SOURCES/s390-8214206_fix.patch

d00a18
diff --git openjdk.orig/jdk/src/hotspot/share/runtime/os.cpp openjdk/jdk/src/hotspot/share/runtime/os.cpp
d00a18
--- openjdk.orig/src/hotspot/share/runtime/os.cpp
d00a18
+++ openjdk/src/hotspot/share/runtime/os.cpp
d00a18
@@ -1368,7 +1368,7 @@
d00a18
 }
d00a18
 
d00a18
 void os::set_memory_serialize_page(address page) {
d00a18
-  int count = log2_intptr(sizeof(class JavaThread)) - log2_int(64);
d00a18
+  int count = log2_intptr((uintptr_t) sizeof(class JavaThread)) - log2_int(64);
d00a18
   _mem_serialize_page = (volatile int32_t *)page;
d00a18
   // We initialize the serialization page shift count here
d00a18
   // We assume a cache line size of 64 bytes