How to manage native C++ memory in Android (Google I/O '17)

Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=7_caITSjk1k



Duration: 31:41
16,299 views
188


Android native applications typically use Java objects that "own" C++ objects. When the Java garbage collector detects that the Java object is no longer needed, the Java object either explicitly deallocates the C++ object, or decrements its reference count. Choreographing this Java-C++ interaction can be subtle, and mistakes can result in hard-to-diagnose memory corruption. We'll point out interesting pitfalls, and provide advice for avoiding them. If you are an Android C++ developer, you don't want to miss this talk.

Watch more Android talks at I/O '17 here: https://goo.gl/c0LWYl
See all the talks from Google I/O '17 here: https://goo.gl/D0D4VE

Subscribe to the Android channel: http://goo.gl/GEh1ds

#io17 #GoogleIO #GoogleIO2017 event: Google I/O 2017; re_ty: Publish;







Tags:
i o
google io17
io 2017
io conference
io17
Hans Boehm
android
shoreline amphitheatre
I/O
Google IO 2017
google
google io
Fullname: other
GDS: Full Production
google conference
google developer conference
Location: MTV
google event
io google
#io17
google i o
what is io
Team: Scalable Advocacy
Product: android