From 06aa7a29bb084c510e55feeac105cbdb82dceea4 Mon Sep 17 00:00:00 2001 From: apetushkov Date: Thu, 15 Aug 2019 13:28:03 +0300 Subject: [PATCH] 8229708: JFR backport code does not initialize Summary: added back code accidentally removed during push of JDK-8223147 Reviewed-by: neugens --- src/share/vm/classfile/classFileParser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/share/vm/classfile/classFileParser.cpp b/src/share/vm/classfile/classFileParser.cpp index 7012b1259..3362fdc4d 100644 --- a/src/share/vm/classfile/classFileParser.cpp +++ b/src/share/vm/classfile/classFileParser.cpp @@ -4262,6 +4262,8 @@ instanceKlassHandle ClassFileParser::parseClassFile(Symbol* name, preserve_this_klass = this_klass(); } + JFR_ONLY(INIT_ID(preserve_this_klass);) + // Create new handle outside HandleMark (might be needed for // Extended Class Redefinition) instanceKlassHandle this_klass (THREAD, preserve_this_klass); -- GitLab