Skip to content


8312180: (bf) MappedMemoryUtils passes incorrect arguments to msync (…
Browse files Browse the repository at this point in the history

Backport-of: fdac6a6ac871366614efe44aca58ab520766b5c8
  • Loading branch information
Tyler Steele authored and shipilev committed Aug 24, 2023
1 parent c17b5d7 commit 82d7bc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotspot/share/classfile/javaClasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
#include "runtime/vframe.inline.hpp"
#include "runtime/vm_version.hpp"
#include "utilities/align.hpp"
#include "utilities/globalDefinitions.hpp"
#include "utilities/growableArray.hpp"
#include "utilities/preserveException.hpp"
#include "utilities/utf8.hpp"
Expand Down Expand Up @@ -4725,7 +4726,7 @@ class UnsafeConstantsFixup : public FieldClosure {
UnsafeConstantsFixup() {
// round up values for all static final fields
_address_size = sizeof(void*);
_page_size = (int)os::vm_page_size();
_page_size = AIX_ONLY(sysconf(_SC_PAGESIZE)) NOT_AIX((int)os::vm_page_size());
_big_endian = LITTLE_ENDIAN_ONLY(false) BIG_ENDIAN_ONLY(true);
_use_unaligned_access = UseUnalignedAccesses;
_data_cache_line_flush_size = (int)VM_Version::data_cache_line_flush_size();
Expand Down

1 comment on commit 82d7bc5

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.