$OpenBSD: patch-hotspot_src_share_vm_runtime_globals_hpp,v 1.3 2018/04/07 11:05:13 sthen Exp $

Index: hotspot/src/share/vm/runtime/globals.hpp
--- hotspot/src/share/vm/runtime/globals.hpp.orig
+++ hotspot/src/share/vm/runtime/globals.hpp
@@ -3211,7 +3211,7 @@ class CommandLineFlags {
   product(uintx, MaxMetaspaceSize, max_uintx,                               \
           "Maximum size of Metaspaces (in bytes)")                          \
                                                                             \
-  product(uintx, CompressedClassSpaceSize, 1*G,                             \
+  product(uintx, CompressedClassSpaceSize, 256*M,                           \
           "Maximum size of class area in Metaspace when compressed "        \
           "class pointers are used")                                        \
                                                                             \
