Skip to content
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

TIMOB-5176 TIMOB-5177 Improved scaling of ImageView bitmaps #485

Merged
merged 9 commits into from Sep 26, 2011
Merged

TIMOB-5176 TIMOB-5177 Improved scaling of ImageView bitmaps #485

merged 9 commits into from Sep 26, 2011

Conversation

billdawson
Copy link
Contributor

http://jira.appcelerator.org/browse/TIMOB-5176
http://jira.appcelerator.org/browse/TIMOB-5177

These two ended up being basically the same thing and were inextricable. Sorry for the two JIRAs in one pull.

Test 5176 by using precisely the test app.js in that item.

For 5177, see testing notes.

billdawson and others added 9 commits September 22, 2011 01:58
… is incredibly detailed information on the bug:

This bug was difficult to track down, and intermittent, because it relies entirely
on where the submodules were situated in JSCore heap blocks. It turns out that JSCore's
sweep of unmarked (read: 'unprotected') cells destroys them and then calls a placement
new() on them to force the constructor to dump the null/undefined structure into the
memory block. But then, for whatever reason, this would not always cause an
[undefined] access when querying the submodule a second time, after GC. It appears
that there is a second component to detecting bugs like this one, which involves
bad bridge interaction (obj-c counts not matching protect counts). It could be
the case that we're GCing different heaps at different times, which would
be some bad news (too much garbage resident in memory).

Short version: If you pull an [undefined] value where a proxy should be, it's
because it was unprotected at some point.
…move a 'not used' warning from TiUIView just cuz
@nataliehuynh
Copy link
Contributor

Request Accepted:
Tested both cases 5176 and 5177 on Nexus S 2.3.4

@donthorp
Copy link
Contributor

Code reviewed. Functional tested with both JIRA test scripts and KS image tests. Request Accepted.

@ayeung
Copy link
Contributor

ayeung commented Sep 26, 2011

Code reviewed. Request Accepted.

donthorp added a commit that referenced this pull request Sep 26, 2011
TIMOB-5176 TIMOB-5177 Improved scaling of ImageView bitmaps
@donthorp donthorp merged commit c954b56 into tidev:master Sep 26, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants