From e00aa7c86635fbb034d59677293bab43ee64726e Mon Sep 17 00:00:00 2001 From: Thomas Schatzl Date: Thu, 25 Jun 2020 18:58:14 +0200 Subject: [PATCH] 8248329: JDK-8244603 breaks windows build Reviewed-by: sundar, dcubed --- src/hotspot/share/gc/g1/g1Policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/share/gc/g1/g1Policy.cpp b/src/hotspot/share/gc/g1/g1Policy.cpp index 8bb96d687ab..e447be4e7b3 100644 --- a/src/hotspot/share/gc/g1/g1Policy.cpp +++ b/src/hotspot/share/gc/g1/g1Policy.cpp @@ -984,7 +984,7 @@ void G1Policy::update_ihop_prediction(double mutator_time_s, // restrained by the heap reserve. Using the actual length would make the // prediction too small and the limit the young gen every time we get to the // predicted target occupancy. - uint young_gen_size = young_list_desired_length() * HeapRegion::GrainBytes; + size_t young_gen_size = young_list_desired_length() * HeapRegion::GrainBytes; _ihop_control->update_allocation_info(mutator_time_s, mutator_alloc_bytes, young_gen_size); report = true; }