comparison src/share/vm/runtime/dtraceJSDT.cpp @ 4970:33df1aeaebbf

Merge with http://hg.openjdk.java.net/hsx/hsx24/hotspot/
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Mon, 27 Feb 2012 13:10:13 +0100
parents b8a4e1d372a0
children da91efe96a93
comparison
equal deleted inserted replaced
4703:2cfb7fb2dce7 4970:33df1aeaebbf
80 } 80 }
81 } 81 }
82 82
83 int handle = pd_activate((void*)probes, 83 int handle = pd_activate((void*)probes,
84 module_name, providers_count, providers); 84 module_name, providers_count, providers);
85 if (handle <= 0) { 85 if (handle < 0) {
86 delete probes; 86 delete probes;
87 THROW_MSG_0(vmSymbols::java_lang_RuntimeException(), 87 THROW_MSG_0(vmSymbols::java_lang_RuntimeException(),
88 "Unable to register DTrace probes (internal error)."); 88 "Unable to register DTrace probes (internal error).");
89 } 89 }
90 probes->set_helper_handle(handle); 90 probes->set_helper_handle(handle);