--- old/src/hotspot/share/classfile/classLoaderData.hpp 2020-04-02 11:54:17.000000000 -0700 +++ new/src/hotspot/share/classfile/classLoaderData.hpp 2020-04-02 11:54:17.000000000 -0700 @@ -127,9 +127,10 @@ 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. @@ -242,15 +243,15 @@ } // 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; @@ -271,7 +272,7 @@ 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();