Skip to content

Commit b91fa3a

Browse files
committed
8215898: Build broken on 32-bit after JDK-8211425
Reviewed-by: tschatzl
1 parent 65b77b1 commit b91fa3a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/hotspot/share/gc/shared/gcArguments.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ void GCArguments::initialize() {
5757

5858
if (!FLAG_IS_DEFAULT(AllocateOldGenAt)) {
5959
// CompressedOops not supported when AllocateOldGenAt is set.
60-
FLAG_SET_DEFAULT(UseCompressedOops, false);
61-
FLAG_SET_DEFAULT(UseCompressedClassPointers, false);
60+
LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedOops, false));
61+
LP64_ONLY(FLAG_SET_DEFAULT(UseCompressedClassPointers, false));
6262
// When AllocateOldGenAt is set, we cannot use largepages for entire heap memory.
6363
// Only young gen which is allocated in dram can use large pages, but we currently don't support that.
6464
FLAG_SET_DEFAULT(UseLargePages, false);

0 commit comments

Comments
 (0)