< prev index next >

src/share/vm/services/classLoadingService.cpp

Print this page
@  rev 13381 : 8185900: hotspot build failed with gcc version Red Hat 4.4.7-3
|  Summary: Cast to void* within DTRACE_CLASS* macros.
~  Reviewed-by: duke

@@ -51,11 +51,11 @@
     if (name != NULL) {                             \
       data = (char*)name->bytes();                  \
       len = name->utf8_length();                    \
     }                                               \
     HOTSPOT_CLASS_##type( /* type = unloaded, loaded */ \
-      data, len, (clss)->class_loader(), (shared)); \
+      data, len, (void*)(clss)->class_loader(), (shared)); \
   }
 
 #else //  ndef DTRACE_ENABLED
 
 #define DTRACE_CLASSLOAD_PROBE(type, clss, shared)
< prev index next >