--- a/src/hotspot/share/classfile/systemDictionary.cpp Fri Oct 27 11:44:56 2017 +0200
+++ b/src/hotspot/share/classfile/systemDictionary.cpp Sun Oct 29 18:13:18 2017 -0700
@@ -2855,9 +2855,11 @@
return _pd_cache_table->get(protection_domain);
}
+#if INCLUDE_CDS
void SystemDictionary::reorder_dictionary_for_sharing() {
ClassLoaderData::the_null_class_loader_data()->dictionary()->reorder_dictionary_for_sharing();
}
+#endif
size_t SystemDictionary::count_bytes_for_buckets() {
return ClassLoaderData::the_null_class_loader_data()->dictionary()->count_bytes_for_buckets();