changeset 53091:375b10185c40

8215898: Build broken on 32-bit after JDK-8211425 Reviewed-by: tschatzl
author sjohanss
date Sat, 22 Dec 2018 15:47:10 +0100
parents 93a5f4b4c67d
children de9fd809bb47
files src/hotspot/share/gc/shared/gcArguments.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shared/gcArguments.cpp	Sat Dec 22 15:46:54 2018 +0100
+++ b/src/hotspot/share/gc/shared/gcArguments.cpp	Sat Dec 22 15:47:10 2018 +0100
@@ -57,8 +57,8 @@
 
   if (!FLAG_IS_DEFAULT(AllocateOldGenAt)) {
     // CompressedOops not supported when AllocateOldGenAt is set.
-    FLAG_SET_DEFAULT(UseCompressedOops, false);
-    FLAG_SET_DEFAULT(UseCompressedClassPointers, false);
+    LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false));
+    LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedClassPointers, false));
     // When AllocateOldGenAt is set, we cannot use largepages for entire heap memory.
     // Only young gen which is allocated in dram can use large pages, but we currently don't support that.
     FLAG_SET_DEFAULT(UseLargePages, false);