< prev index next >

src/share/vm/classfile/symbolTable.cpp

Print this page

        

*** 134,147 **** void SymbolTable::unlink(int* processed, int* removed) { size_t memory_total = 0; buckets_unlink(0, the_table()->table_size(), processed, removed, &memory_total); _symbols_removed += *removed; _symbols_counted += *processed; ! // Exclude printing for normal PrintGCDetails because people parse ! // this output. ! if (PrintGCDetails && Verbose && WizardMode) { ! gclog_or_tty->print(" [Symbols=%d size=" SIZE_FORMAT "K] ", *processed, (memory_total*HeapWordSize)/1024); } } void SymbolTable::possibly_parallel_unlink(int* processed, int* removed) { --- 134,145 ---- void SymbolTable::unlink(int* processed, int* removed) { size_t memory_total = 0; buckets_unlink(0, the_table()->table_size(), processed, removed, &memory_total); _symbols_removed += *removed; _symbols_counted += *processed; ! if (Verbose && WizardMode) { ! tty->print(" [Symbols=%d size=" SIZE_FORMAT "K] ", *processed, (memory_total*HeapWordSize)/1024); } } void SymbolTable::possibly_parallel_unlink(int* processed, int* removed) {
*** 160,173 **** int end_idx = MIN2(limit, start_idx + ClaimChunkSize); buckets_unlink(start_idx, end_idx, processed, removed, &memory_total); } Atomic::add(*processed, &_symbols_counted); Atomic::add(*removed, &_symbols_removed); ! // Exclude printing for normal PrintGCDetails because people parse ! // this output. ! if (PrintGCDetails && Verbose && WizardMode) { ! gclog_or_tty->print(" [Symbols: scanned=%d removed=%d size=" SIZE_FORMAT "K] ", *processed, *removed, (memory_total*HeapWordSize)/1024); } } // Create a new table and using alternate hash code, populate the new table --- 158,169 ---- int end_idx = MIN2(limit, start_idx + ClaimChunkSize); buckets_unlink(start_idx, end_idx, processed, removed, &memory_total); } Atomic::add(*processed, &_symbols_counted); Atomic::add(*removed, &_symbols_removed); ! if (Verbose && WizardMode) { ! tty->print(" [Symbols: scanned=%d removed=%d size=" SIZE_FORMAT "K] ", *processed, *removed, (memory_total*HeapWordSize)/1024); } } // Create a new table and using alternate hash code, populate the new table
< prev index next >