OpenJDK / bsd-port / bsd-port / hotspot
changeset 6003:22c5a6ca09e3 jdk7u141-b01
8043723: max_heap_for_compressed_oops() declared with size_t, but defined with uintx
Summary: The mismatch in declaration and definition has been encountered when compiling on a platform where the sizes are different. Change the method definition to match the declaration.
Reviewed-by: tschatzl, sjohanss
Contributed-by: Dan Horak <dhorak@redhat.com>
author | tschatzl |
---|---|
date | Mon, 21 Jul 2014 09:40:19 +0200 |
parents | d3aedf9af54b |
children | 56ad25be7d88 |
files | src/share/vm/runtime/arguments.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp Thu Apr 27 02:45:35 2017 +0100 +++ b/src/share/vm/runtime/arguments.cpp Mon Jul 21 09:40:19 2014 +0200 @@ -1371,7 +1371,7 @@ return true; } -uintx Arguments::max_heap_for_compressed_oops() { +size_t Arguments::max_heap_for_compressed_oops() { // Avoid sign flip. if (OopEncodingHeapMax < MaxPermSize + os::vm_page_size()) { return 0;