Request for review 7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
Mark Wielaard
mjw at redhat.com
Fri Oct 5 04:00:06 PDT 2012
On Thu, 2012-10-04 at 17:30 -0400, Coleen Phillimore wrote:
> The other change was that dtrace.hpp didn't build on windows. The linux
> definitions expand to null for windows.
> -+#elif defined(LINUX)
> ++#else
> +// Systemtap dtrace compatible probes on GNU/Linux don't.
> ++// If dtrace is disabled this macro becomes NULL
> +#define HS_DTRACE_PROBE_DECL_N(provider,name,args)
> +#define HS_DTRACE_PROBE_CDECL_N(provider,name,args)
> -+#else
> -+#error "USDT1 enabled for unknown os"
> +#endif
I haven't had time to do a full rebuild here, but that change should be
fine. I am a little surprised the windows build picks up the definitions
from the USDT1/LINUX part. But empty defines should be fine. I don't
have Windows around though, so cannot test myself.
> open webrev at http://cr.openjdk.java.net/~coleenp/7170638_5/
Also thanks for picking up the buildtree.make changes for bsd and
solaris. Note that this version doesn't include the new testcase, don't
know if that was intentional?
Cheers,
Mark
More information about the hotspot-dev
mailing list