--- old/src/hotspot/share/classfile/symbolTable.cpp 2020-04-02 11:54:18.000000000 -0700 +++ new/src/hotspot/share/classfile/symbolTable.cpp 2020-04-02 11:54:18.000000000 -0700 @@ -459,7 +459,7 @@ void SymbolTable::new_symbols(ClassLoaderData* loader_data, const constantPoolHandle& cp, int names_count, const char** names, int* lengths, int* cp_indices, unsigned int* hashValues) { - // Note that c_heap will be true for unsafe anonymous and weak hidden classes + // Note that c_heap will be true for non-strong hidden classes and unsafe anonymous classes // even if their loader is the boot loader because they will have a different cld. bool c_heap = !loader_data->is_the_null_class_loader_data(); for (int i = 0; i < names_count; i++) {