diff options
author | 2025-02-06 01:12:16 +0000 | |
---|---|---|
committer | 2025-02-07 12:21:09 +0000 | |
commit | 2cea38288ee806b6dcbdf79fb2b7c89f8fefaf12 (patch) | |
tree | d2c0f187bc076897507146277b0e1f28926c1dae /libs/gui/SurfaceControl.cpp | |
parent | ae03cf1f8c50ed2a190d7d7c0cd7c24476262f17 (diff) |
Remove string frees to support GetUTFRegion transition
Removed string free calls from tracing SDK now obsolete with
the move from GetUTFStringChars to GetUTFRegion in the JNI
string handling.
The higher level code (JNI) never owns memory unless it's
explicitly copied into a string for instance. This makes
memory management simpler and provides some performance
opportunities in the caller.
Test: atest PerfettoTest
Bug: 303199244
Flag: android.os.perfetto_sdk_tracing_v2
Change-Id: I495cd593f04e7444527b567bc7efddfe0cd92f71
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions