mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue