Merge
authorminqi
Tue, 14 Feb 2012 23:50:12 -0800
changeset 11775 3da369c2b70d
parent 11772 90a6b021fb0c (diff)
parent 11774 693e2f63e5f0 (current diff)
child 11776 519643dbbefb
Merge
--- a/hotspot/src/share/vm/runtime/dtraceJSDT.cpp	Tue Feb 14 20:54:57 2012 -0800
+++ b/hotspot/src/share/vm/runtime/dtraceJSDT.cpp	Tue Feb 14 23:50:12 2012 -0800
@@ -82,7 +82,7 @@
 
   int handle = pd_activate((void*)probes,
     module_name, providers_count, providers);
-  if (handle <= 0) {
+  if (handle < 0) {
     delete probes;
     THROW_MSG_0(vmSymbols::java_lang_RuntimeException(),
       "Unable to register DTrace probes (internal error).");