summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mythri Alle <mythria@google.com> 2025-01-27 12:32:08 +0000
committer Mythri Alle <mythria@google.com> 2025-01-27 09:19:02 -0800
commite6fd9040717e304cc482bc45e96123168927d4fa (patch)
treec0aebda5f9fd147046b8d3c7ed7594a55bd9f4d7
parent705809a6019ae118a8e4ec1efd40d62fd6844439 (diff)
Update a method's name so it's more clear
Bug: 391452485 Test: art/test.py Change-Id: Iec90ee707e7bf3de87dd15c132ca2fe9736b75e3
-rw-r--r--runtime/native/dalvik_system_VMDebug.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/runtime/native/dalvik_system_VMDebug.cc b/runtime/native/dalvik_system_VMDebug.cc
index 1b9a53e1d6..08cf0e6d4f 100644
--- a/runtime/native/dalvik_system_VMDebug.cc
+++ b/runtime/native/dalvik_system_VMDebug.cc
@@ -192,8 +192,10 @@ static void VMDebug_startLowOverheadTraceForAllMethodsImpl(JNIEnv*, jclass) {
TraceProfiler::Start();
}
-static void VMDebug_startLowOverheadTraceForLongMethodsImpl(JNIEnv*, jclass, jlong trace_duration) {
- TraceProfiler::StartTraceLongRunningMethods(trace_duration);
+static void VMDebug_startLowOverheadTraceForLongRunningMethodsImpl(JNIEnv*,
+ jclass,
+ jlong traceDuration) {
+ TraceProfiler::StartTraceLongRunningMethods(traceDuration);
}
static jboolean VMDebug_isDebuggerConnected(JNIEnv*, jclass) {
@@ -703,7 +705,7 @@ static JNINativeMethod gMethods[] = {
NATIVE_METHOD(VMDebug, removeApplication, "(Ljava/lang/String;)V"),
NATIVE_METHOD(VMDebug, setUserId, "(I)V"),
NATIVE_METHOD(VMDebug, startLowOverheadTraceForAllMethodsImpl, "()V"),
- NATIVE_METHOD(VMDebug, startLowOverheadTraceForLongMethodsImpl, "(J)V"),
+ NATIVE_METHOD(VMDebug, startLowOverheadTraceForLongRunningMethodsImpl, "(J)V"),
NATIVE_METHOD(VMDebug, stopLowOverheadTraceImpl, "()V"),
NATIVE_METHOD(VMDebug, dumpLowOverheadTraceImpl, "(Ljava/lang/String;)V"),
NATIVE_METHOD(VMDebug, dumpLowOverheadTraceFdImpl, "(I)V"),