diff options
| author | 2025-03-18 10:58:29 -0700 | |
|---|---|---|
| committer | 2025-03-18 10:58:29 -0700 | |
| commit | 8c89979e1505aaa70e708f44fc7bd5a88e833748 (patch) | |
| tree | 7372218e22d0ac688bc0fcf69df8a898704f0338 | |
| parent | 4b0afb1a56e397c4d2c777331fcdd32908c42a41 (diff) | |
| parent | 14c9edceee51cf1f4fb0b79b3f726e331051e673 (diff) | |
Fix typo am: 14c9edceee
Original change: https://android-review.googlesource.com/c/platform/art/+/3545829
Change-Id: I77b898b2e7cb1ae716222a707acdf24f2c36b1d6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | runtime/native_gc_triggering.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native_gc_triggering.md b/runtime/native_gc_triggering.md index 66a5718d65..1dc9e5d675 100644 --- a/runtime/native_gc_triggering.md +++ b/runtime/native_gc_triggering.md @@ -52,7 +52,7 @@ We compute the total amount of native memory allocated as the sum of 2. the number of bytes registered via `VMRuntime.registerNativeAllocation()` and not yet unregistered via `VMRuntime.registerNativeFree()`. This includes non-malloc-allocated objects - allocated via `NariveAllocationRegistry`. + allocated via `NativeAllocationRegistry`. Though we use mallinfo() to track native allocation, this call itself can be expensive, and thus we perform this check fairly rarely. More precisely, we do so only after the application has |