8234602: ZGC: Windows compile error in ZHeuristic
Reviewed-by: pliden, eosterlund
--- a/src/hotspot/share/gc/z/zHeuristics.cpp Mon Nov 25 14:57:03 2019 +0100
+++ b/src/hotspot/share/gc/z/zHeuristics.cpp Mon Nov 25 15:00:32 2019 +0100
@@ -46,7 +46,7 @@
ZPageSizeMedium = size;
ZPageSizeMediumShift = log2_intptr(ZPageSizeMedium);
ZObjectSizeLimitMedium = ZPageSizeMedium / 8;
- ZObjectAlignmentMediumShift = ZPageSizeMediumShift - 13;
+ ZObjectAlignmentMediumShift = (int)ZPageSizeMediumShift - 13;
ZObjectAlignmentMedium = 1 << ZObjectAlignmentMediumShift;
log_info(gc, init)("Medium Page Size: " SIZE_FORMAT "M", ZPageSizeMedium / M);