hotspot/src/share/vm/runtime/init.cpp
void exit_globals() {
{- -------------------------------------------
(1) (exit_globals() は最初の 1回しか実行されない)
---------------------------------------- -}
static bool destructorsCalled = false;
if (!destructorsCalled) {
destructorsCalled = true;
{- -------------------------------------------
(1) jvmstat 機能 (PerfData 機能) の後片付けを行う.
---------------------------------------- -}
perfMemory_exit();
{- -------------------------------------------
(1) (トレース出力)
---------------------------------------- -}
if (PrintSafepointStatistics) {
// Print the collected safepoint statistics.
SafepointSynchronize::print_stat_on_exit();
}
{- -------------------------------------------
(1) outputStream 関係の後片付けを行う.
---------------------------------------- -}
ostream_exit();
}
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.