7145589: First JSDT provider creation fails
0 is a successful return from an ioctl() call Reviewed-by: dcubed, phh, dsamersoff
This commit is contained in:
parent
8a9ec2c624
commit
ccebd55230
@ -82,7 +82,7 @@ jlong DTraceJSDT::activate(
|
||||
|
||||
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).");
|
||||
|
Loading…
Reference in New Issue
Block a user