Skip to content

Commit

Permalink
Fix log formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
neethu-prasad committed Jul 22, 2024
1 parent 57dbb70 commit c5a0bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/gc/shared/gcLocker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ void GCLocker::log_debug_jni(const char* msg, const elapsedTimer elapsed_timer)
Log(gc, jni) log;
if (log.is_debug()) {
ResourceMark rm; // JavaThread::name() allocates to convert to UTF8
log.debug("%s %3.7ld ms. Thread \"%s\" %d locked.", msg, elapsed_timer.milliseconds(), Thread::current()->name(), _jni_lock_count);
log.debug("%s " JLONG_FORMAT "ms. Thread \"%s\" %d locked.", msg, elapsed_timer.milliseconds(), Thread::current()->name(), _jni_lock_count);
}
}

Expand Down

0 comments on commit c5a0bf7

Please sign in to comment.