changeset 10689:53c0863b1766

8152119: Event-based tracing to allow for tracing Klass definition Reviewed-by: dholmes, egahlin
author mgronlun
date Wed, 23 Mar 2016 10:31:46 +0100
parents 36870c627981
children 155f22b63931 a074585a9f08 6519f566e535
files src/share/vm/classfile/systemDictionary.cpp src/share/vm/trace/traceMacros.hpp
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/classfile/systemDictionary.cpp	Wed Mar 23 03:33:22 2016 +0100
+++ b/src/share/vm/classfile/systemDictionary.cpp	Wed Mar 23 10:31:46 2016 +0100
@@ -65,6 +65,7 @@
 #include "runtime/signature.hpp"
 #include "services/classLoadingService.hpp"
 #include "services/threadService.hpp"
+#include "trace/traceMacros.hpp"
 #include "utilities/macros.hpp"
 #include "utilities/ticks.hpp"
 #if INCLUDE_CDS
@@ -1497,6 +1498,8 @@
 
   }
 
+  TRACE_KLASS_DEFINITION(k, THREAD);
+
 }
 
 // Support parallel classloading
--- a/src/share/vm/trace/traceMacros.hpp	Wed Mar 23 03:33:22 2016 +0100
+++ b/src/share/vm/trace/traceMacros.hpp	Wed Mar 23 10:31:46 2016 +0100
@@ -30,6 +30,7 @@
 #define EVENT_THREAD_EXIT(thread)
 #define EVENT_THREAD_DESTRUCT(thread)
 #define TRACE_KLASS_CREATION(k, p, t)
+#define TRACE_KLASS_DEFINITION(k, t)
 
 #define TRACE_INIT_KLASS_ID(k)
 #define TRACE_INIT_THREAD_ID(td)