--- a/hotspot/src/share/vm/memory/metaspace.hpp Wed Oct 01 12:29:28 2014 +0400
+++ b/hotspot/src/share/vm/memory/metaspace.hpp Wed Oct 01 16:09:01 2014 +0200
@@ -407,7 +407,9 @@
static void post_initialize();
static size_t capacity_until_GC();
- static size_t inc_capacity_until_GC(size_t v);
+ static bool inc_capacity_until_GC(size_t v,
+ size_t* new_cap_until_GC = NULL,
+ size_t* old_cap_until_GC = NULL);
static size_t dec_capacity_until_GC(size_t v);
static bool should_concurrent_collect() { return _should_concurrent_collect; }