hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 46766 1f26ac73b909
parent 46746 ea379ebb9447
child 46968 9119841280f4
--- a/hotspot/src/share/vm/oops/instanceKlass.cpp	Mon Aug 07 12:34:21 2017 -0700
+++ b/hotspot/src/share/vm/oops/instanceKlass.cpp	Mon Aug 07 12:19:17 2017 +0200
@@ -101,7 +101,7 @@
       len = clss_name->utf8_length();                            \
     }                                                            \
     HOTSPOT_CLASS_INITIALIZATION_##type(                         \
-      data, len, class_loader(), thread_type);                   \
+      data, len, (void*)class_loader(), thread_type);            \
   }
 
 #define DTRACE_CLASSINIT_PROBE_WAIT(type, thread_type, wait)     \
@@ -114,7 +114,7 @@
       len = clss_name->utf8_length();                            \
     }                                                            \
     HOTSPOT_CLASS_INITIALIZATION_##type(                         \
-      data, len, class_loader(), thread_type, wait);             \
+      data, len, (void*)class_loader(), thread_type, wait);      \
   }
 
 #else //  ndef DTRACE_ENABLED