1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2019, 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. |
67 if (name != NULL) { \ |
67 if (name != NULL) { \ |
68 data = (char*)name->bytes(); \ |
68 data = (char*)name->bytes(); \ |
69 len = name->utf8_length(); \ |
69 len = name->utf8_length(); \ |
70 } \ |
70 } \ |
71 HOTSPOT_CLASS_##type( /* type = unloaded, loaded */ \ |
71 HOTSPOT_CLASS_##type( /* type = unloaded, loaded */ \ |
72 data, len, (clss)->class_loader(), (shared)); \ |
72 data, len, (void *)(clss)->class_loader(), (shared)); \ |
73 } |
73 } |
74 |
74 |
75 #endif /* USDT2 */ |
75 #endif /* USDT2 */ |
76 #else // ndef DTRACE_ENABLED |
76 #else // ndef DTRACE_ENABLED |
77 |
77 |