Mercurial > hg > truffle
comparison src/share/vm/runtime/dtraceJSDT.cpp @ 6152:958bb4b7be49
Merge
author | asaha |
---|---|
date | Tue, 10 Apr 2012 10:42:34 -0700 |
parents | b8a4e1d372a0 |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6151:e778c29768e6 | 6152:958bb4b7be49 |
---|---|
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); |