David: revert type change in arguments.cpp

This commit is contained in:
tstuefe 2026-02-09 08:10:08 +01:00
parent a6642ae0e0
commit 827c4a1bda

View File

@ -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) {