mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 17:14:41 +02:00
8254723: add diagnostic command to write Linux perf map file
Reviewed-by: ysuenaga, sspitsyn
This commit is contained in:
parent
f97ec359ec
commit
50357d136a
8 changed files with 170 additions and 2 deletions
|
@ -478,6 +478,12 @@ void before_exit(JavaThread* thread) {
|
|||
BytecodeHistogram::print();
|
||||
}
|
||||
|
||||
#ifdef LINUX
|
||||
if (DumpPerfMapAtExit) {
|
||||
CodeCache::write_perf_map();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (JvmtiExport::should_post_thread_life()) {
|
||||
JvmtiExport::post_thread_end(thread);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue