java-11-openjdk/s390-8214206_fix.patch
Andrew Hughes b6dd2fcf75 Update to shenandoah-jdk-11.0.3+6 (April 2019 EA)
Drop JDK-8210416/RH1632174 applied upstream.
Drop JDK-8210425/RH1632174 applied upstream.
Drop JDK-8210647/RH1632174 applied upstream.
Drop JDK-8210761/RH1632174 applied upstream.
Drop JDK-8210703/RH1632174 applied upstream.
Add cast to resolve s390 ambiguity in call to log2_intptr
2019-04-18 05:27:24 +01:00

13 lines
587 B
Diff

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