8185900: hotspot build failed with gcc version Red Hat 4.4.7-3

Cast to void* within DTRACE_CLASS* macros.

Reviewed-by: coleenp, shade
This commit is contained in:
Severin Gehwolf 2017-08-07 12:19:17 +02:00
parent 8b26f53df7
commit e012a77fba
2 changed files with 3 additions and 3 deletions

View file

@ -101,7 +101,7 @@
len = clss_name->utf8_length(); \
} \
HOTSPOT_CLASS_INITIALIZATION_##type( \
data, len, class_loader(), thread_type); \
data, len, (void*)class_loader(), thread_type); \
}
#define DTRACE_CLASSINIT_PROBE_WAIT(type, thread_type, wait) \
@ -114,7 +114,7 @@
len = clss_name->utf8_length(); \
} \
HOTSPOT_CLASS_INITIALIZATION_##type( \
data, len, class_loader(), thread_type, wait); \
data, len, (void*)class_loader(), thread_type, wait); \
}
#else // ndef DTRACE_ENABLED