$OpenBSD: patch-src_hotspot_share_runtime_globals_hpp,v 1.3 2020/04/22 15:05:18 kurt Exp $

Reduce CompressedClassSpaceSize from 1G to 256M by default.

Index: src/hotspot/share/runtime/globals.hpp
--- src/hotspot/share/runtime/globals.hpp.orig
+++ src/hotspot/share/runtime/globals.hpp
@@ -1810,7 +1810,7 @@ define_pd_global(uint64_t,MaxRAM,                    1
           "Maximum size of Metaspaces (in bytes)")                          \
           constraint(MaxMetaspaceSizeConstraintFunc,AfterErgo)              \
                                                                             \
-  product(size_t, CompressedClassSpaceSize, 1*G,                            \
+  product(size_t, CompressedClassSpaceSize, 256*M,                          \
           "Maximum size of class area in Metaspace when compressed "        \
           "class pointers are used")                                        \
           range(1*M, 3*G)                                                   \
