--- a/src/hotspot/share/memory/metaspace.hpp Tue May 15 14:41:06 2018 -0700
+++ b/src/hotspot/share/memory/metaspace.hpp Tue May 15 19:26:00 2018 -0400
@@ -427,7 +427,7 @@
// The current high-water-mark for inducing a GC.
// When committed memory of all metaspaces reaches this value,
// a GC is induced and the value is increased. Size is in bytes.
- static volatile intptr_t _capacity_until_GC;
+ static volatile size_t _capacity_until_GC;
// For a CMS collection, signal that a concurrent collection should
// be started.