From 827c4a1bdaf30e4a070ab49ccb7233b3f2d318cb Mon Sep 17 00:00:00 2001 From: tstuefe Date: Mon, 9 Feb 2026 08:10:08 +0100 Subject: [PATCH] David: revert type change in arguments.cpp --- src/hotspot/share/runtime/arguments.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hotspot/share/runtime/arguments.cpp b/src/hotspot/share/runtime/arguments.cpp index b7af49b83dc..365d725679c 100644 --- a/src/hotspot/share/runtime/arguments.cpp +++ b/src/hotspot/share/runtime/arguments.cpp @@ -1574,8 +1574,8 @@ void Arguments::set_heap_size() { } } - size_t heap_end = HeapBaseMinAddress + MaxHeapSize; - size_t max_coop_heap = max_heap_for_compressed_oops(); + uintptr_t heap_end = HeapBaseMinAddress + MaxHeapSize; + uintptr_t max_coop_heap = max_heap_for_compressed_oops(); // Limit the heap size to the maximum possible when using compressed oops if (heap_end < max_coop_heap) {