Mercurial > hg > truffle
comparison src/share/vm/runtime/java.cpp @ 12355:cefad50507d8
Merge with hs25-b53
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 11 Oct 2013 10:38:03 +0200 |
parents | 6b0fd0964b87 63147986a428 |
children | 359f7e70ae7f |
comparison
equal
deleted
inserted
replaced
12058:ccb4f2af2319 | 12355:cefad50507d8 |
---|---|
554 | 554 |
555 // Shutdown NMT before exit. Otherwise, | 555 // Shutdown NMT before exit. Otherwise, |
556 // it will run into trouble when system destroys static variables. | 556 // it will run into trouble when system destroys static variables. |
557 MemTracker::shutdown(MemTracker::NMT_normal); | 557 MemTracker::shutdown(MemTracker::NMT_normal); |
558 | 558 |
559 if (VerifyStringTableAtExit) { | |
560 int fail_cnt = 0; | |
561 { | |
562 MutexLocker ml(StringTable_lock); | |
563 fail_cnt = StringTable::verify_and_compare_entries(); | |
564 } | |
565 | |
566 if (fail_cnt != 0) { | |
567 tty->print_cr("ERROR: fail_cnt=%d", fail_cnt); | |
568 guarantee(fail_cnt == 0, "unexpected StringTable verification failures"); | |
569 } | |
570 } | |
571 | |
559 #undef BEFORE_EXIT_NOT_RUN | 572 #undef BEFORE_EXIT_NOT_RUN |
560 #undef BEFORE_EXIT_RUNNING | 573 #undef BEFORE_EXIT_RUNNING |
561 #undef BEFORE_EXIT_DONE | 574 #undef BEFORE_EXIT_DONE |
562 } | 575 } |
563 | 576 |