< prev index next >

src/hotspot/share/classfile/classLoaderData.hpp

Print this page

        

@@ -125,13 +125,14 @@
   // Remembered sets support for the oops in the class loader data.
   bool _modified_oops;             // Card Table Equivalent (YC/CMS support)
   bool _accumulated_modified_oops; // Mod Union Equivalent (CMS support)
 
   int _keep_alive;         // if this CLD is kept alive.
-                           // Used for weak hidden classes, unsafe anonymous classes and the
+                           // Used for non-strong hidden classes, unsafe anonymous classes and the
                            // boot class loader. _keep_alive does not need to be volatile or
-                           // atomic since there is one unique CLD per weak hidden or unsafe anonymous class.
+                           // atomic since there is one unique CLD per non-strong hidden class
+                           // or unsafe anonymous class.
 
   volatile int _claim; // non-zero if claimed, for example during GC traces.
                        // To avoid applying oop closure more than once.
   ChunkedHandleList _handles; // Handles to constant pool arrays, Modules, etc, which
                               // have the same life cycle of the corresponding ClassLoader.

@@ -240,19 +241,19 @@
   bool is_the_null_class_loader_data() const {
     return this == _the_null_class_loader_data;
   }
 
   // Returns true if this class loader data is for the system class loader.
-  // (Note that the class loader data may be for an weak hidden or unsafe anonymous class)
+  // (Note that the class loader data may be for a non-strong hidden class or unsafe anonymous class)
   bool is_system_class_loader_data() const;
 
   // Returns true if this class loader data is for the platform class loader.
-  // (Note that the class loader data may be for an weak hidden or unsafe anonymous class)
+  // (Note that the class loader data may be for a non-strong hidden class or unsafe anonymous class)
   bool is_platform_class_loader_data() const;
 
   // Returns true if this class loader data is for the boot class loader.
-  // (Note that the class loader data may be for an weak hidden unsafe anonymous class)
+  // (Note that the class loader data may be for a non-strong hidden class or unsafe anonymous class)
   inline bool is_boot_class_loader_data() const;
 
   bool is_builtin_class_loader_data() const;
   bool is_permanent_class_loader_data() const;
 

@@ -269,11 +270,11 @@
   bool is_unloading() const     {
     assert(!(is_the_null_class_loader_data() && _unloading), "The null class loader can never be unloaded");
     return _unloading;
   }
 
-  // Used to refcount an weak hidden or unsafe anonymous class's CLD in order to
+  // Used to refcount a non-strong hidden class's or unsafe anonymous class's CLD in order to
   // indicate their aliveness.
   void inc_keep_alive();
   void dec_keep_alive();
 
   void initialize_holder(Handle holder);
< prev index next >