8200202: Remove unused _boot_modules_array and _platform_modules_array from classLoader.*.
authorjiangli
Mon, 26 Mar 2018 19:00:47 -0400
changeset 49612 f40a666a75bc
parent 49611 973c9504178e
child 49613 537ef53e26af
8200202: Remove unused _boot_modules_array and _platform_modules_array from classLoader.*. Summary: Remove unused _boot_modules_array and _platform_modules_array. Reviewed-by: coleenp
src/hotspot/share/classfile/classLoader.cpp
src/hotspot/share/classfile/classLoader.hpp
--- a/src/hotspot/share/classfile/classLoader.cpp	Mon Mar 26 12:59:45 2018 -0700
+++ b/src/hotspot/share/classfile/classLoader.cpp	Mon Mar 26 19:00:47 2018 -0400
@@ -148,8 +148,6 @@
 #if INCLUDE_CDS
 ClassPathEntry* ClassLoader::_app_classpath_entries = NULL;
 ClassPathEntry* ClassLoader::_last_app_classpath_entry = NULL;
-GrowableArray<char*>* ClassLoader::_boot_modules_array = NULL;
-GrowableArray<char*>* ClassLoader::_platform_modules_array = NULL;
 SharedPathsMiscInfo* ClassLoader::_shared_paths_misc_info = NULL;
 #endif
 
--- a/src/hotspot/share/classfile/classLoader.hpp	Mon Mar 26 12:59:45 2018 -0700
+++ b/src/hotspot/share/classfile/classLoader.hpp	Mon Mar 26 19:00:47 2018 -0400
@@ -233,12 +233,6 @@
   // Last entry in linked list of appended ClassPathEntry instances
   static ClassPathEntry* _last_append_entry;
 
-  // Array of module names associated with the boot class loader
-  CDS_ONLY(static GrowableArray<char*>* _boot_modules_array;)
-
-  // Array of module names associated with the platform class loader
-  CDS_ONLY(static GrowableArray<char*>* _platform_modules_array;)
-
   // Info used by CDS
   CDS_ONLY(static SharedPathsMiscInfo * _shared_paths_misc_info;)