8322978: Remove debug agent debugMonitorTimedWait() function. It is no longer used.
Reviewed-by: dholmes, sspitsyn
This commit is contained in:
parent
ad31ec5c5f
commit
3fbccb01dc
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -1073,23 +1073,6 @@ debugMonitorWait(jrawMonitorID monitor)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
debugMonitorTimedWait(jrawMonitorID monitor, jlong millis)
|
||||
{
|
||||
jvmtiError error;
|
||||
error = JVMTI_FUNC_PTR(gdata->jvmti,RawMonitorWait)
|
||||
(gdata->jvmti, monitor, millis);
|
||||
if (error == JVMTI_ERROR_INTERRUPT) {
|
||||
/* See comment above */
|
||||
handleInterrupt();
|
||||
error = JVMTI_ERROR_NONE;
|
||||
}
|
||||
error = ignore_vm_death(error);
|
||||
if (error != JVMTI_ERROR_NONE) {
|
||||
EXIT_ERROR(error, "on raw monitor timed wait");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
debugMonitorNotify(jrawMonitorID monitor)
|
||||
{
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -354,7 +354,6 @@ jrawMonitorID debugMonitorCreate(char *name);
|
||||
void debugMonitorEnter(jrawMonitorID theLock);
|
||||
void debugMonitorExit(jrawMonitorID theLock);
|
||||
void debugMonitorWait(jrawMonitorID theLock);
|
||||
void debugMonitorTimedWait(jrawMonitorID theLock, jlong millis);
|
||||
void debugMonitorNotify(jrawMonitorID theLock);
|
||||
void debugMonitorNotifyAll(jrawMonitorID theLock);
|
||||
void debugMonitorDestroy(jrawMonitorID theLock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user