< prev index next >

src/hotspot/share/memory/metaspace.hpp

Print this page

        

@@ -102,12 +102,12 @@
   };
   enum MetaspaceType {
     ZeroMetaspaceType = 0,
     StandardMetaspaceType = ZeroMetaspaceType,
     BootMetaspaceType = StandardMetaspaceType + 1,
-    UnsafeAnonymousMetaspaceType = BootMetaspaceType + 1,
-    ReflectionMetaspaceType = UnsafeAnonymousMetaspaceType + 1,
+    ShortLivedMetaspaceType = BootMetaspaceType + 1,
+    ReflectionMetaspaceType = ShortLivedMetaspaceType + 1,
     MetaspaceTypeCount
   };
 
  private:
 

@@ -243,11 +243,11 @@
 
   void initialize(Mutex* lock, Metaspace::MetaspaceType type);
 
   // Initialize the first chunk for a Metaspace.  Used for
   // special cases such as the boot class loader, reflection
-  // class loader and anonymous class loader.
+  // class loader and hidden class loader.
   void initialize_first_chunk(Metaspace::MetaspaceType type, Metaspace::MetadataType mdtype);
   metaspace::Metachunk* get_initialization_chunk(Metaspace::MetaspaceType type, Metaspace::MetadataType mdtype);
 
   const Metaspace::MetaspaceType _space_type;
   Mutex* const  _lock;

@@ -388,11 +388,11 @@
   enum ReportFlag {
     // Show usage by class loader.
     rf_show_loaders                 = (1 << 0),
     // Breaks report down by chunk type (small, medium, ...).
     rf_break_down_by_chunktype      = (1 << 1),
-    // Breaks report down by space type (anonymous, reflection, ...).
+    // Breaks report down by space type (hidden, reflection, ...).
     rf_break_down_by_spacetype      = (1 << 2),
     // Print details about the underlying virtual spaces.
     rf_show_vslist                  = (1 << 3),
     // Print metaspace map.
     rf_show_vsmap                   = (1 << 4),
< prev index next >