Google Developers2.4 млн
Опубликовано 13 марта 2015, 20:15
One of the tricky parts about a Managed Memory language is that it regularly executes “Garbage Collection” events, which stop your executing code in order to clean up various parts of your app’s memory. Normally, these aren’t that problematic, since they’ve been tuned to be as fast, and least intrusive as possible. But lots of them, occurring over-and-over again, can quickly eat into your frame time.
In this video +Colt McAnlis talks about a common programming pattern that can trigger a cascade of Garbage Collection events to occur, called “Memory Churn”. He also makes fun of lightsabers, and points out some great tools to help solve your memory problems.
Watch more Android Performance Patterns here: goo.gl/3dBbse
In this video +Colt McAnlis talks about a common programming pattern that can trigger a cascade of Garbage Collection events to occur, called “Memory Churn”. He also makes fun of lightsabers, and points out some great tools to help solve your memory problems.
Watch more Android Performance Patterns here: goo.gl/3dBbse
Свежие видео
Случайные видео