diff options
| author | Po Lu | 2023-11-10 14:57:24 +0800 |
|---|---|---|
| committer | Po Lu | 2023-11-10 14:58:16 +0800 |
| commit | 5324723c2bcab7062f393a5057e51733a1715788 (patch) | |
| tree | 104b3deb89473a59a2cbdb29f6b63e97fd0f3d7d /java/debug.sh | |
| parent | 5dc3c9f4eca2e3c4b4059cc5b52b56c98eb3d961 (diff) | |
| download | emacs-5324723c2bcab7062f393a5057e51733a1715788.tar.gz emacs-5324723c2bcab7062f393a5057e51733a1715788.zip | |
Clear image caches in reaction to system VM warnings
* java/org/gnu/emacs/EmacsNative.java (onLowMemory):
* java/org/gnu/emacs/EmacsService.java (onLowMemory): New
function.
* src/android.c (android_on_low_memory, onLowMemory): New
functions called when a VM caution is registered. Clear
the image cache and run garbage collection.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions