Dtrace on macosx?

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Nov 11 18:57:30 UTC 2015


Hi,

In the hotspot build conversion project, I've started to analyze the 
dtrace build on macosx. From what I can understand, the only thing that 
are done on macosx is the dtrace_gen_headers target in dtrace.make, 
which creates hotspot.h, hotspot_jni.h and hs_private.h. No libraries 
seems to be build, so most of dtrace.make in bsd is dead code. The comment
# Bsd does not build libjvm_db, does not compile on macosx
# disabled in build: rule in vm.make
has been there since the initial integration of the macosx port.

My question is: are the generated headers still useful on their own? Or 
are they just remnants of an old but ultimately failed effort to get 
dtrace working on macosx?

/Magnus


More information about the serviceability-dev mailing list