From a587471665a317311a8d4558573680d3b747e513 Mon Sep 17 00:00:00 2001 From: phh Date: Thu, 23 Aug 2018 22:56:32 +0000 Subject: [PATCH] 8145788: JVM crashes with -XX:+EnableTracing Summary: Events can trigger before ResourceMark is usable: move use from writeEvent() to print_val(). Reviewed-by: dholmes, ysuenaga, mlarsson --- src/share/vm/trace/traceEventClasses.xsl | 4 +--- src/share/vm/trace/traceStream.hpp | 13 ++++--------- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/share/vm/trace/traceEventClasses.xsl b/src/share/vm/trace/traceEventClasses.xsl index 375274e17..d3cdc604f 100644 --- a/src/share/vm/trace/traceEventClasses.xsl +++ b/src/share/vm/trace/traceEventClasses.xsl @@ -1,6 +1,6 @@