Current State of JVM Escape Analysis and Downstream Optimizations

Current State of JVM Escape Analysis and Downstream Optimizations

Java via YouTube Direct link

Could we make scalar replacement work?

11 of 23

11 of 23

Could we make scalar replacement work?

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Current State of JVM Escape Analysis and Downstream Optimizations

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Overview
  3. 3 What is Escape Analysis?
  4. 4 Partial Escape Analysis
  5. 5 EA Consuming Optimizations
  6. 6 Hotspot C2 EA and optimizations
  7. 7 Example of non escaping objects
  8. 8 Limitations of scalar replacement
  9. 9 How common is this issue?
  10. 10 Simple change to the experiment
  11. 11 Could we make scalar replacement work?
  12. 12 Considering the previous example...
  13. 13 Stack allocate if scalar replacement fails
  14. 14 What if C2 had stack allocation?
  15. 15 How did we implement this in C2
  16. 16 Bax.ackNode to the rescue
  17. 17 We had to...
  18. 18 GC roat scanning of stack allocated objects
  19. 19 Overlapping live object ranges
  20. 20 Current Limitations
  21. 21 Performance improvements
  22. 22 When and where can we see this patch?
  23. 23 Next steps

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.