< prev index next >

src/share/vm/oops/instanceKlass.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

*** 99,109 **** if (clss_name != NULL) { \ data = (char*)clss_name->bytes(); \ len = clss_name->utf8_length(); \ } \ HOTSPOT_CLASS_INITIALIZATION_##type( \ ! data, len, class_loader(), thread_type); \ } #define DTRACE_CLASSINIT_PROBE_WAIT(type, thread_type, wait) \ { \ char* data = NULL; \ --- 99,109 ---- if (clss_name != NULL) { \ data = (char*)clss_name->bytes(); \ len = clss_name->utf8_length(); \ } \ HOTSPOT_CLASS_INITIALIZATION_##type( \ ! data, len, (void*)class_loader(), thread_type); \ } #define DTRACE_CLASSINIT_PROBE_WAIT(type, thread_type, wait) \ { \ char* data = NULL; \
*** 112,122 **** if (clss_name != NULL) { \ data = (char*)clss_name->bytes(); \ len = clss_name->utf8_length(); \ } \ HOTSPOT_CLASS_INITIALIZATION_##type( \ ! data, len, class_loader(), thread_type, wait); \ } #else // ndef DTRACE_ENABLED #define DTRACE_CLASSINIT_PROBE(type, thread_type) --- 112,122 ---- if (clss_name != NULL) { \ data = (char*)clss_name->bytes(); \ len = clss_name->utf8_length(); \ } \ HOTSPOT_CLASS_INITIALIZATION_##type( \ ! data, len, (void*)class_loader(), thread_type, wait); \ } #else // ndef DTRACE_ENABLED #define DTRACE_CLASSINIT_PROBE(type, thread_type)
< prev index next >