8234602: ZGC: Windows compile error in ZHeuristic
Reviewed-by: pliden, eosterlund
This commit is contained in:
parent
e36fa7783f
commit
b468726bdc
@ -46,7 +46,7 @@ void ZHeuristics::set_medium_page_size() {
|
|||||||
ZPageSizeMedium = size;
|
ZPageSizeMedium = size;
|
||||||
ZPageSizeMediumShift = log2_intptr(ZPageSizeMedium);
|
ZPageSizeMediumShift = log2_intptr(ZPageSizeMedium);
|
||||||
ZObjectSizeLimitMedium = ZPageSizeMedium / 8;
|
ZObjectSizeLimitMedium = ZPageSizeMedium / 8;
|
||||||
ZObjectAlignmentMediumShift = ZPageSizeMediumShift - 13;
|
ZObjectAlignmentMediumShift = (int)ZPageSizeMediumShift - 13;
|
||||||
ZObjectAlignmentMedium = 1 << ZObjectAlignmentMediumShift;
|
ZObjectAlignmentMedium = 1 << ZObjectAlignmentMediumShift;
|
||||||
|
|
||||||
log_info(gc, init)("Medium Page Size: " SIZE_FORMAT "M", ZPageSizeMedium / M);
|
log_info(gc, init)("Medium Page Size: " SIZE_FORMAT "M", ZPageSizeMedium / M);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user