Skip to content

Commit e3777b0

Browse files
committed
8270865: Print process ID with -Xlog:os
Reviewed-by: dholmes, ccheung
1 parent 349139b commit e3777b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hotspot/share/runtime/threads.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,8 @@ jint Threads::create_vm(JavaVMInitArgs* args, bool* canTryAgain) {
654654
Management::record_vm_init_completed();
655655
#endif // INCLUDE_MANAGEMENT
656656

657+
log_info(os)("Initialized VM with process ID %d", os::current_process_id());
658+
657659
// Signal Dispatcher needs to be started before VMInit event is posted
658660
os::initialize_jdk_signal_support(CHECK_JNI_ERR);
659661

0 commit comments

Comments
 (0)