flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Amsellem <maurice.amsel...@systar.com>
Subject Question about mobile StageText pool
Date Tue, 22 Apr 2014 09:22:49 GMT
Hi team,

I have been working on FLEX-34230 (StageText skins prevents garbage collection of component
with TextInputs and TextAreas)
and it appears that GC is prevented by the internal pool of StageText used in StageText-based
skins (precisely in old StyleableStageText and new ScrollableStageText).

Apparently, the purpose of this cache pool is to avoid creating a new StageText if one with
the same characteristics is already in the pool (and returning that one).

Does someone know why this pool has been introduced ?  is it to improve performance because
StageText allocation is slow ?

I mean, maybe if the reason for it is not valid anymore, the easiest way to fix that would
be simply to remove the pool, and create a new StageText everytime time one is needed.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message