The only usage today of the DTrace macros under the USDT1 define is the SDT provider on linux. This can be changed to use the USDT2 style by preprocessing the .d files into .h files with the dtrace utility in the same way as we do on solaris and OS X.
I have also moved the provider definition files (hotspot.d, hotspot_jni.d and hs_private.d) to a common directory instead of having one identical copy per platform. I would really like to have a review from somebody on the IcedTea team since I haven’t been able to fully verify this change by running systemtap. Once this change is done, we can proceed to remove the USDT1 style macros. webrev: http://cr.openjdk.java.net/~sla/8032462/webrev.00/ bug: https://bugs.openjdk.java.net/browse/JDK-8032462 testing: vm.dtrace.testlist in nsk Thanks, /Staffan