Skip to content

Commit 48d4562

Browse files
D-D-Hy1yang0
authored andcommittedJun 16, 2021
8268780: Use 'print_cr' instead of 'print' for the message 'eliminated <owner is scalar replaced>'
Reviewed-by: cjplummer, zgu, dcubed
1 parent e0f6f70 commit 48d4562

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/hotspot/share/runtime/vframe.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ void javaVFrame::print_lock_info_on(outputStream* st, int frame_count) {
235235
if (monitor->eliminated() && is_compiled_frame()) { // Eliminated in compiled code
236236
if (monitor->owner_is_scalar_replaced()) {
237237
Klass* k = java_lang_Class::as_Klass(monitor->owner_klass());
238-
st->print("\t- eliminated <owner is scalar replaced> (a %s)", k->external_name());
238+
st->print_cr("\t- eliminated <owner is scalar replaced> (a %s)", k->external_name());
239239
} else {
240240
Handle obj(current, monitor->owner());
241241
if (obj() != NULL) {

0 commit comments

Comments
 (0)
Please sign in to comment.