File tree 1 file changed +2
-1
lines changed
src/hotspot/share/classfile
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 86
86
#include " runtime/vframe.inline.hpp"
87
87
#include " runtime/vm_version.hpp"
88
88
#include " utilities/align.hpp"
89
+ #include " utilities/globalDefinitions.hpp"
89
90
#include " utilities/growableArray.hpp"
90
91
#include " utilities/preserveException.hpp"
91
92
#include " utilities/utf8.hpp"
@@ -4725,7 +4726,7 @@ class UnsafeConstantsFixup : public FieldClosure {
4725
4726
UnsafeConstantsFixup () {
4726
4727
// round up values for all static final fields
4727
4728
_address_size = sizeof (void *);
4728
- _page_size = ( int )os::vm_page_size ();
4729
+ _page_size = AIX_ONLY ( sysconf (_SC_PAGESIZE)) NOT_AIX (( int )os::vm_page_size () );
4729
4730
_big_endian = LITTLE_ENDIAN_ONLY (false ) BIG_ENDIAN_ONLY (true );
4730
4731
_use_unaligned_access = UseUnalignedAccesses;
4731
4732
_data_cache_line_flush_size = (int )VM_Version::data_cache_line_flush_size ();
You can’t perform that action at this time.
1 commit comments
openjdk-notifier[bot] commentedon Aug 24, 2023
Review
Issues