Mercurial > hg > truffle
comparison src/share/vm/utilities/dtrace.hpp @ 14278:a3ba776d6ab6
8030812: Change the solaris DTrace implementation to use USDT2 instead of USDT1
Reviewed-by: coleenp, sspitsyn, dsamersoff
author | sla |
---|---|
date | Thu, 16 Jan 2014 20:14:21 +0100 |
parents | 75982791ddb6 |
children | a00b8f42c4c4 |
comparison
equal
deleted
inserted
replaced
14277:3bee68af0296 | 14278:a3ba776d6ab6 |
---|---|
36 #if defined(SOLARIS) | 36 #if defined(SOLARIS) |
37 // Work around dtrace tail call bug 6672627 until it is fixed in solaris 10. | 37 // Work around dtrace tail call bug 6672627 until it is fixed in solaris 10. |
38 #define HS_DTRACE_WORKAROUND_TAIL_CALL_BUG() \ | 38 #define HS_DTRACE_WORKAROUND_TAIL_CALL_BUG() \ |
39 do { volatile size_t dtrace_workaround_tail_call_bug = 1; } while (0) | 39 do { volatile size_t dtrace_workaround_tail_call_bug = 1; } while (0) |
40 | 40 |
41 #define USDT1 1 | 41 #define USDT2 1 |
42 #include "dtracefiles/hotspot.h" | |
43 #include "dtracefiles/hotspot_jni.h" | |
44 #include "dtracefiles/hs_private.h" | |
42 #elif defined(LINUX) | 45 #elif defined(LINUX) |
43 #define HS_DTRACE_WORKAROUND_TAIL_CALL_BUG() | 46 #define HS_DTRACE_WORKAROUND_TAIL_CALL_BUG() |
44 #define USDT1 1 | 47 #define USDT1 1 |
45 #elif defined(__APPLE__) | 48 #elif defined(__APPLE__) |
46 #define HS_DTRACE_WORKAROUND_TAIL_CALL_BUG() | 49 #define HS_DTRACE_WORKAROUND_TAIL_CALL_BUG() |