hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 46766 1f26ac73b909
parent 46746 ea379ebb9447
child 46968 9119841280f4
equal deleted inserted replaced
46765:07298ebd9367 46766:1f26ac73b909
    99     if (clss_name != NULL) {                                     \
    99     if (clss_name != NULL) {                                     \
   100       data = (char*)clss_name->bytes();                          \
   100       data = (char*)clss_name->bytes();                          \
   101       len = clss_name->utf8_length();                            \
   101       len = clss_name->utf8_length();                            \
   102     }                                                            \
   102     }                                                            \
   103     HOTSPOT_CLASS_INITIALIZATION_##type(                         \
   103     HOTSPOT_CLASS_INITIALIZATION_##type(                         \
   104       data, len, class_loader(), thread_type);                   \
   104       data, len, (void*)class_loader(), thread_type);            \
   105   }
   105   }
   106 
   106 
   107 #define DTRACE_CLASSINIT_PROBE_WAIT(type, thread_type, wait)     \
   107 #define DTRACE_CLASSINIT_PROBE_WAIT(type, thread_type, wait)     \
   108   {                                                              \
   108   {                                                              \
   109     char* data = NULL;                                           \
   109     char* data = NULL;                                           \
   112     if (clss_name != NULL) {                                     \
   112     if (clss_name != NULL) {                                     \
   113       data = (char*)clss_name->bytes();                          \
   113       data = (char*)clss_name->bytes();                          \
   114       len = clss_name->utf8_length();                            \
   114       len = clss_name->utf8_length();                            \
   115     }                                                            \
   115     }                                                            \
   116     HOTSPOT_CLASS_INITIALIZATION_##type(                         \
   116     HOTSPOT_CLASS_INITIALIZATION_##type(                         \
   117       data, len, class_loader(), thread_type, wait);             \
   117       data, len, (void*)class_loader(), thread_type, wait);      \
   118   }
   118   }
   119 
   119 
   120 #else //  ndef DTRACE_ENABLED
   120 #else //  ndef DTRACE_ENABLED
   121 
   121 
   122 #define DTRACE_CLASSINIT_PROBE(type, thread_type)
   122 #define DTRACE_CLASSINIT_PROBE(type, thread_type)