Delete unused ScopedRegisterThreadForDebugging facility
Bug: webrtc:6424 Change-Id: I3564d204e8c886ce53e82426ef1d3896d7f6409d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/258021 Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36441}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
96dbc60704
commit
e0a92f9a42
@ -549,15 +549,12 @@ public class PeerConnectionFactory {
|
||||
/**
|
||||
* Print the Java stack traces for the critical threads used by PeerConnectionFactory, namely;
|
||||
* signaling thread, worker thread, and network thread. If printNativeStackTraces is true, also
|
||||
* attempt to print the C++ stack traces for these (and some other) threads.
|
||||
* attempt to print the C++ stack traces for these threads.
|
||||
*/
|
||||
public void printInternalStackTraces(boolean printNativeStackTraces) {
|
||||
printStackTrace(signalingThread, printNativeStackTraces);
|
||||
printStackTrace(workerThread, printNativeStackTraces);
|
||||
printStackTrace(networkThread, printNativeStackTraces);
|
||||
if (printNativeStackTraces) {
|
||||
nativePrintStackTracesOfRegisteredThreads();
|
||||
}
|
||||
}
|
||||
|
||||
@CalledByNative
|
||||
@ -618,5 +615,4 @@ public class PeerConnectionFactory {
|
||||
private static native void nativeInjectLoggable(JNILogging jniLogging, int severity);
|
||||
private static native void nativeDeleteLoggable();
|
||||
private static native void nativePrintStackTrace(int tid);
|
||||
private static native void nativePrintStackTracesOfRegisteredThreads();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user