Modify the wording of the mallopt.

The original wording implies that memory tagging can be disabled
per thread. That is not really possible, and doesn't happen. Instead,
this option only turns off some of the memory tagging initialization.
Leave this slightly vague since it's possible this might change
in the future.

Bug: 272383932

Test: NA
Change-Id: I6333f16175edb52a38aadfc67ce7c9ce76113e59
This commit is contained in:
Christopher Ferris 2023-04-27 17:03:59 -07:00
parent 028bb5473b
commit e28867ca6e

View file

@ -232,8 +232,9 @@ int malloc_info(int __must_be_zero, FILE* _Nonnull __fp) __INTRODUCED_IN(23);
/**
* mallopt() option for per-thread memory initialization tuning.
* The value argument should be one of:
* 1: Disable automatic heap initialization and, where possible, memory tagging,
* on this thread.
* 1: Disable automatic heap initialization on this thread only.
* If memory tagging is enabled, disable as much as possible of the
* memory tagging initialization for this thread.
* 0: Normal behavior.
*
* Available since API level 31.