Split out of #932's closing summary, where this was recorded as deliberately open but never given an issue.
What exists and what does not
The mechanism is built: mapped staging (#921/#922), the two-pool DeviceFit check, PlannerProfile.MOBILE_2GB — which is now strict (#1128), so a missing kernel fails rather than silently costing several times the weight. MemoryProbe reads RSS and fault counters on every target.
What is missing is the measurement, on hardware with ART. A JVM host is not a substitute: the heap cap, the GC and the page-cache behaviour that M2-A5 is about are all ART's.
Acceptance
Note
A suitable device is available; see the maintainer's notes rather than this issue for addressing.
Split out of #932's closing summary, where this was recorded as deliberately open but never given an issue.
What exists and what does not
The mechanism is built: mapped staging (#921/#922), the two-pool
DeviceFitcheck,PlannerProfile.MOBILE_2GB— which is nowstrict(#1128), so a missing kernel fails rather than silently costing several times the weight.MemoryProbereads RSS and fault counters on every target.What is missing is the measurement, on hardware with ART. A JVM host is not a substitute: the heap cap, the GC and the page-cache behaviour that M2-A5 is about are all ART's.
Acceptance
MemoryPlancompared against what was actually allocated, within the plan-vs-actual toleranceNote
A suitable device is available; see the maintainer's notes rather than this issue for addressing.