< prev index next >
src/hotspot/share/classfile/symbolTable.cpp
Print this page
@@ -457,11 +457,11 @@
}
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++) {
const char *name = names[i];
int len = lengths[i];
< prev index next >