Mercurial > hg > graal-jvmci-8
comparison src/share/vm/services/classLoadingService.cpp @ 22966:6f31df24cec0
8047382: hotspot build failed with gcc version Red Hat 4.4.6-4.
Summary: Removed the Solaris specific conditionalization for casting to void * within calls to HS_DTRACE_PROBE* to enable successful compilation with gcc Red Hat 4.4.6-4.
Reviewed-by: hseigel, stefank
author | lfoltan |
---|---|
date | Thu, 16 Apr 2015 09:03:33 -0400 |
parents | 78bbf4d43a14 |
children | dd9cc155639c |
comparison
equal
deleted
inserted
replaced
22965:713dfbf84b10 | 22966:6f31df24cec0 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
50 if (name != NULL) { \ | 50 if (name != NULL) { \ |
51 data = (char*)name->bytes(); \ | 51 data = (char*)name->bytes(); \ |
52 len = name->utf8_length(); \ | 52 len = name->utf8_length(); \ |
53 } \ | 53 } \ |
54 HS_DTRACE_PROBE4(hotspot, class__##type, \ | 54 HS_DTRACE_PROBE4(hotspot, class__##type, \ |
55 data, len, SOLARIS_ONLY((void *))(clss)->class_loader(), (shared)); \ | 55 data, len, (void *)(clss)->class_loader(), (shared)); \ |
56 } | 56 } |
57 | 57 |
58 #else /* USDT2 */ | 58 #else /* USDT2 */ |
59 | 59 |
60 #define HOTSPOT_CLASS_unloaded HOTSPOT_CLASS_UNLOADED | 60 #define HOTSPOT_CLASS_unloaded HOTSPOT_CLASS_UNLOADED |