Blame SOURCES/s390-8214206_fix.patch

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