Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 A Seminar on Memory Management Mooly Sagiv Schriber 317 Office Hours Wed. 10-12.

Similar presentations


Presentation on theme: "1 A Seminar on Memory Management Mooly Sagiv Schriber 317 Office Hours Wed. 10-12."— Presentation transcript:

1 1 A Seminar on Memory Management http://www.cs.tau.ac.il/~msagiv/courses/mm02.html Mooly Sagiv Schriber 317 msagiv@post Office Hours Wed. 10-12

2 2 Outline General information How to give a presentation Volunteer for October 29 Next week GC

3 3 General Information Prerequisites –Compilers Requirements –Read a short introduction (October 22) –Select a topic (October 22) –Read short survey on GC techniques (October 29) –Read a short article on presentations before preparing your presentation –Participate in seminar talks (can miss one) –Present a paper

4 4 Dynamic Memory Management Essential for high level programming languages A major source for: –Bugs –Performance bottlenecks

5 5 Typical Memory Layout AR3 AR2 AR1 AR0 StackHeap

6 6 Memory Management Techniques Garbage collection –Standard in C#, Java, ML –Can be used in C, C++ Escape Analysis –Allocate memory at the stack Region Based Allocation

7 7 How to give a presentation What to say and how to say it Getting through the audience Visual aids

8 8 What to say and how to say it Communicate the Key Ideas Don’t get bogged down in Details –The best talk make you read the paper Structure your talk Use Top-Down approach –Introduction –Body –[Technicalities] –The Conclusion Use Examples

9 9 Introduction Define the problem Motivate the audience Introduce terminology Discuss earlier work Emphasize the contributions [Provide a road map] Use Examples

10 10 The body Abstract the major results Explain the significance of the results Explain the main techniques Use enlightening examples Demonstrations are welcome

11 11 [Technicalities] Expert only part Show something really interesting beyond the paper/tool

12 12 The Conclusion Hindsight is clearer than Foresight Give open problems/further work Indicate that your talk is over

13 13 Know your audience Background

14 14 Getting through the Audience Use Repetitions Remind, don’t assume Don’t over-run Maintain Eye Contact Control your voice Control your motion Take care of your appearance

15 15 Visual Aids PowerPoint transparencies Don’t overload transparencies Don’t use too many transparencies Use Overlays Properly Use Color Effectively Use Pictures and Tables The blackboard can be used too

16 16 Don’t overload transparencies The input of the program can be arbitrary. Let x be a prime number, i.e., all the numbers z<x do not divide x. y be the next prime number, i.e., etc. Arbitrary input Prime number x –The next prime y

17 17 Use overlays (im)properly Item 1 –Item 1.1 –Item 1.2 Item 2 –Item 2.1 Item 2.1.1

18 18 Use colors properly Item 1 Item 2 Item 3

19 19 http://www.cs.tau.ac.il/~msagiv/courses/mm02.html


Download ppt "1 A Seminar on Memory Management Mooly Sagiv Schriber 317 Office Hours Wed. 10-12."

Similar presentations


Ads by Google