8215898: Build broken on 32-bit after JDK-8211425
authorsjohanss
Sat, 22 Dec 2018 15:47:10 +0100
changeset 53119 375b10185c40
parent 53118 93a5f4b4c67d
child 53120 de9fd809bb47
8215898: Build broken on 32-bit after JDK-8211425 Reviewed-by: tschatzl
src/hotspot/share/gc/shared/gcArguments.cpp
--- 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);