Adding the Serviceability alias.

Dan


On 5/25/15 9:52 AM, Mahesh Pujari wrote:
Hi,

  I am trying to build OpenJDK 9 with dtrace enabled on my Ubuntu machine 
(Linux 3.13.0-45-generic #74-Ubuntu), I have asked this question on 
build-...@openjdk.java.net 
(http://mail.openjdk.java.net/pipermail/build-dev/2015-May/014969.html) and I 
was directed to this mailing list (including distro-pkg mailing list, but had 
no luck there, so trying out here).

  If SDT headers are found then dtrace is enabled by default, this is what I 
understood. Now when I build, I end-up with below errors
...
...
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'
...
..
classLoadingService.o: In function 
`ClassLoadingService::notify_class_unloaded(InstanceKlass*)':
/mnt/ubuntu/dev/jdk9/hotspot/src/share/vm/services/classLoadingService.cpp:119: 
undefined reference to `__dtrace_hotspot___class__unloaded'
classLoadingService.o: In function 
`ClassLoadingService::notify_class_loaded(InstanceKlass*, bool)':
/mnt/ubuntu/dev/jdk9/hotspot/src/share/vm/services/classLoadingService.cpp:144: 
undefined reference to `__dtrace_hotspot___class__loaded'
compileBroker.o: In function 
`CompileBroker::invoke_compiler_on_method(CompileTask*)':
/mnt/ubuntu/dev/jdk9/hotspot/src/share/vm/compiler/compileBroker.cpp:1927: 
undefined reference to `__dtrace_hotspot___method__compile__begin'
/mnt/ubuntu/dev/jdk9/hotspot/src/share/vm/compiler/compileBroker.cpp:2028: 
undefined reference to `__dtrace_hotspot___method__compile__end'
...
...

  Compilation is success but during linkage things fail. Can someone help me 
with this, any directions to what I am missing.

thanks and regards,
Mahesh Pujari


Reply via email to