English subtitles

← Memory Performance Intro

Get Embed Code
13 Languages

Showing Revision 4 created 05/24/2016 by Udacity Robot.

  1. [SOUND] Oh, hey Colt,
  2. what's up?
  3. >> [INAUDIBLE].
  4. >> Yeah can I get a latte?
  5. >> [INAUDIBLE]
    >> Oh, you're right, yeah.
  6. Dude, by the way, I have to say, Java's
    manage memory is so cool, I saved so
  7. much time not having to care about
    when my objects are released.
  8. >> [INAUDIBLE]
    >> Yeah,
  9. it's like the perfect setup for
    a programmer.
  10. Allocate objects,
    this doesn't freeze them.
  11. I can focus on doing cooler stuff.
  12. >> [INAUDIBLE].
  13. >> Yeah and the best part, it's for
    free, the system just does it.
  14. >> [INAUDIBLE].
  15. >> No, seriously, the manage memory is
    free, you don't have to pay a cent.
  16. >> [INAUDIBLE].
  17. >> Oh, dude, just embrace it,
    I can write code however I want,
  18. Garbage Collector does the rest.
  19. >> [INAUDIBLE].
  20. >> Oh.
  21. >> [INAUDIBLE].
  22. >> Yeah.
  23. >> [INAUDIBLE].
    >> You're right.
  24. >> [INAUDIBLE].
  25. >> Oh, I see, so you're saying there's
    a tax for garbage collection events.
  26. >> [INAUDIBLE].
    >> Yeah when they happen
  27. in a short period of time.
  28. >> [INAUDIBLE].
  29. >> Okay, yeah I'll be more
    careful when I write my loops.
  30. >> [INAUDIBLE].
  31. >> Yeah, I totally hated to have
    draining into my apps framerate.
  32. >> [INAUDIBLE].
  33. >> Oh so
    how do I spot these problems then?
  34. >> [INAUDIBLE].
  35. >> Run the tools, got it.
  36. >> [INAUDIBLE]
    >> Okay, sounds good, I'll see you.
  37. Oh, hey wait, make it a double,
    I'm going to need it.