src/share/vm/memory/metaspaceShared.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8148630 Cdiff src/share/vm/memory/metaspaceShared.cpp

src/share/vm/memory/metaspaceShared.cpp

Print this page

        

*** 769,780 **** } // Preload classes from a list, populate the shared spaces and dump to a // file. void MetaspaceShared::preload_and_dump(TRAPS) { ! TraceTime timer("Dump Shared Spaces", TraceStartupTime); ! ResourceMark rm; char class_list_path_str[JVM_MAXPATHLEN]; tty->print_cr("Allocated shared space: " SIZE_FORMAT " bytes at " PTR_FORMAT, MetaspaceShared::shared_rs()->size(), p2i(MetaspaceShared::shared_rs()->base())); --- 769,783 ---- } // Preload classes from a list, populate the shared spaces and dump to a // file. void MetaspaceShared::preload_and_dump(TRAPS) { ! { ResourceMark rm; ! TraceTime timer("Dump Shared Spaces", ! log_is_enabled(Info, startuptime), ! LogTag::_startuptime); ! char class_list_path_str[JVM_MAXPATHLEN]; tty->print_cr("Allocated shared space: " SIZE_FORMAT " bytes at " PTR_FORMAT, MetaspaceShared::shared_rs()->size(), p2i(MetaspaceShared::shared_rs()->base()));
*** 851,860 **** --- 854,864 ---- // are implemented by K are not verified. link_and_cleanup_shared_classes(CATCH); tty->print_cr("Rewriting and linking classes: done"); VMThread::execute(&op); + } // Since various initialization steps have been undone by this process, // it is not reasonable to continue running a java process. exit(0); }
src/share/vm/memory/metaspaceShared.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File