src/share/vm/services/classLoadingService.cpp

changeset 5784
190899198332
parent 4542
db9981fd3124
child 5802
268e7a2178d7
equal deleted inserted replaced
5783:c1fbf21c7397 5784:190899198332
1 /* 1 /*
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2013, 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, (clss)->class_loader(), (shared)); \ 55 data, len, SOLARIS_ONLY((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

mercurial