New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android version of Dart VM should use ashmem. #4408
Comments
Using ashmem is similar to using mmap by itself. The major difference comes from the file descriptor passed to mmap. #include <cutils/ashmem.h> ... const char* name = "a name, appears in /proc/<pid>/maps" It is useful to associate a name with each virtual memory allocation. The existing functions do not have a way to name memory, but it is invaluable for postmortem debugging. We should add an argument for this. It can be ignored on most platforms. |
Removed Priority-Medium label. |
Removed the owner. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
Stale. |
This issue was originally filed by jackpa...@google.com
runtime/vm/virtual_memory_android.cc
VirtualMemory::Reserve
Should use the Android-specific ashmem interface instead of ordinary anonymous memory.
The text was updated successfully, but these errors were encountered: