Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2cea3828 authored by Zimuzo Ezeozue's avatar Zimuzo Ezeozue
Browse files

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
parent ae03cf1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment