1.1 --- a/src/share/vm/oops/instanceKlass.cpp Mon Sep 08 12:35:01 2014 -0700 1.2 +++ b/src/share/vm/oops/instanceKlass.cpp Tue Aug 08 15:57:29 2017 +0800 1.3 @@ -108,7 +108,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 @@ -121,7 +121,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