1.1 --- a/src/share/vm/oops/instanceKlass.cpp Mon Mar 16 11:49:32 2015 -0700 1.2 +++ b/src/share/vm/oops/instanceKlass.cpp Thu Oct 12 21:27:07 2017 +0800 1.3 @@ -110,7 +110,7 @@ 1.4 len = name->utf8_length(); \ 1.5 } \ 1.6 HS_DTRACE_PROBE4(hotspot, class__initialization__##type, \ 1.7 - data, len, SOLARIS_ONLY((void *))(clss)->class_loader(), thread_type); \ 1.8 + data, len, (void *)(clss)->class_loader(), thread_type); \ 1.9 } 1.10 1.11 #define DTRACE_CLASSINIT_PROBE_WAIT(type, clss, thread_type, wait) \ 1.12 @@ -123,7 +123,7 @@ 1.13 len = name->utf8_length(); \ 1.14 } \ 1.15 HS_DTRACE_PROBE5(hotspot, class__initialization__##type, \ 1.16 - data, len, SOLARIS_ONLY((void *))(clss)->class_loader(), thread_type, wait); \ 1.17 + data, len, (void *)(clss)->class_loader(), thread_type, wait); \ 1.18 } 1.19 #else /* USDT2 */ 1.20