< prev index next >

src/hotspot/share/runtime/java.cpp

Print this page
rev 50281 : 8195097: Make it possible to process StringTable outside safepoint
Reviewed-by:

*** 521,543 **** { MutexLocker ml(BeforeExit_lock); _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 #undef BEFORE_EXIT_RUNNING #undef BEFORE_EXIT_DONE } --- 521,530 ----
< prev index next >