< prev index next >

src/hotspot/share/runtime/java.cpp

Print this page
rev 50373 : 8195097: Make it possible to process StringTable outside safepoint
Reviewed-by:
rev 50375 : [mq]: 8195097-stringtable-v2

*** 522,539 **** _before_exit_status = BEFORE_EXIT_DONE; BeforeExit_lock->notify_all(); } if (VerifyStringTableAtExit) { ! int fail_cnt = 0; ! { ! MutexLocker ml(StringTable_lock); ! fail_cnt = StringTable::verify_and_compare_entries(); ! } ! if (fail_cnt != 0) { ! tty->print_cr("ERROR: fail_cnt=%d", fail_cnt); guarantee(fail_cnt == 0, "unexpected StringTable verification failures"); } } #undef BEFORE_EXIT_NOT_RUN --- 522,534 ---- _before_exit_status = BEFORE_EXIT_DONE; BeforeExit_lock->notify_all(); } if (VerifyStringTableAtExit) { ! size_t fail_cnt = StringTable::verify_and_compare_entries(); if (fail_cnt != 0) { ! tty->print_cr("ERROR: fail_cnt=" SIZE_FORMAT, fail_cnt); guarantee(fail_cnt == 0, "unexpected StringTable verification failures"); } } #undef BEFORE_EXIT_NOT_RUN
< prev index next >