Issues with dtrace enabled in OpenJdk 9

Mahesh Pujari pujarimahesh_kumar at
Mon May 11 09:47:26 UTC 2015

Hi all,
I am trying make OpenJdk 9 with dtrace enabled, on my Ubuntu machine (installed with, with configuration as below (and I am noob).
./configure --enable-option-checking=fatal --with-debug-level=slowdebug --with-target-bits=64 --disable-zip-debug-info --with-boot-jdk=/mnt/ubuntu/setup/jdk1.8.0 CFLAGS=-DDTRACE_ENABLED=1 --with-extra-cflags=-D_DTRACE_VERSION=1

Below is my system info (using uname -a)Linux PHP0045 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

When I do "make all", I end up in error as below...
vmThread.o: In function `VMOperationQueue::add(VM_Operation*)':
/mnt/ubuntu/dev/jdk9/hotspot/src/share/vm/runtime/vmThread.cpp:156: undefined reference to `__dtrace_hotspot___vmops__request'
vmThread.o: In function `VMThread::evaluate_operation(VM_Operation*)':
/mnt/ubuntu/dev/jdk9/hotspot/src/share/vm/runtime/vmThread.cpp:354: undefined reference to `__dtrace_hotspot___vmops__begin'
/mnt/ubuntu/dev/jdk9/hotspot/src/share/vm/runtime/vmThread.cpp:374: undefined reference to `__dtrace_hotspot___vmops__end'......

Can some one direct me about what I might be missing. Can we actually build dtrace with enabled on Ubuntu, if not what other way I can do tracing (may be using systemtap, any pointers please). Am I on right track? (please direct).

thanks and regards,Mahesh Pujari

More information about the build-dev mailing list