changeset 11772:90a6b021fb0c

Merge
author kamg
date Wed, 15 Feb 2012 00:09:31 -0500
parents a3473efef8a2 1f4d0b5be982
children 3da369c2b70d
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/runtime/dtraceJSDT.cpp	Tue Feb 14 18:35:19 2012 -0500
+++ b/hotspot/src/share/vm/runtime/dtraceJSDT.cpp	Wed Feb 15 00:09:31 2012 -0500
@@ -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).");