8184765: Dynamically resize SystemDictionary

Implemented dynamic resizing, which triggers when load factor is too high

Reviewed-by: coleenp, rehn
This commit is contained in:
Gerard Ziemski 2017-11-02 11:00:34 -05:00
parent e878b3272b
commit a043febf6f
14 changed files with 415 additions and 85 deletions

View file

@ -143,6 +143,8 @@ class ClassLoaderDataGraph : public AllStatic {
}
}
static int resize_if_needed();
static bool has_metaspace_oom() { return _metaspace_oom; }
static void set_metaspace_oom(bool value) { _metaspace_oom = value; }