Commit ec175de
committed
[scudo] On Android, only release when changing M_DECAY_TIME to 0.
There is no reason to make a force release to OS call when enabling
the decay timer. When disabling, it's logical since the intent
is to start using less memory. When enabling, it's not logical
because it usually happens early in the process life cycle and
a caller can do it themselves if necessary.
This is in Android only code right now, so only affects Android
devices.1 parent 4629291 commit ec175de
1 file changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | 250 | | |
256 | 251 | | |
257 | 252 | | |
258 | 253 | | |
259 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
| |||
0 commit comments