From 34fd8b725887f80df5812f4f694160e2c033b618 Mon Sep 17 00:00:00 2001 From: Nick Kamal Date: Fri, 17 Jan 2025 14:23:42 -0500 Subject: [PATCH] moving address printing before string --- runtime/rastrace/method_trace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/rastrace/method_trace.c b/runtime/rastrace/method_trace.c index 05ad6aa177a..e242da8554a 100644 --- a/runtime/rastrace/method_trace.c +++ b/runtime/rastrace/method_trace.c @@ -535,9 +535,9 @@ traceMethodArgObject(J9VMThread *thr, UDATA* arg0EA, char* cursor, UDATA length) if (NULL == utf8String) { j9str_printf(PORTLIB, cursor, length, "(String)"); } else if (utf8Length > maxStringLength) { - j9str_printf(PORTLIB, cursor, length, "(String)\"%.*s\"...@%p", (U_32)maxStringLength, utf8String, object); + j9str_printf(PORTLIB, cursor, length, "(String)@%p - \"%.*s\"...", (U_32)maxStringLength, utf8String, object); } else { - j9str_printf(PORTLIB, cursor, length, "(String)\"%.*s\"@%p", (U_32)utf8Length, utf8String, object); + j9str_printf(PORTLIB, cursor, length, "@%p - (String)\"%.*s\"", (U_32)utf8Length, utf8String, object); } if (utf8Buffer != utf8String) {