Cliff Click @ VMSS16: Bits of Advice For the VM Writer

Channel:softdevteamuk · Length:1:15:09 · Published:2016-07-07 · Views:4213

Watch on YouTube

Summary

Cliff Click, author of HotSpot's JIT compiler, shares hard-won advice for people writing virtual machines at the VMSS16 workshop. Topics include interpreters, JITs and performance lessons.

Why HN recommends it

HN recommends it, and Cliff Click's talks in general, as practical wisdom from someone who built HotSpot and worked on Azul's VMs.

I strongly recommend following and listening to videos by Cliff Click who wrote HotSpot and worked on Azul and other VMs. — HN, 2021

Software performance & optimization · Compilers, interpreters & program analysis

Subtitles (excerpt)

okay so so I've been in this business for a long long time the four years codings approaching 45 about to bunk all these by like five years you know building compilers I first compiled our life when I was 15 it was that Pascal Pico where did where did Mario that was fun and then distribute computation from before it was even people heard of and then all kinds of fun stuff after that okay so so the subjects tree of saw hotspot I hope I don't conflict too hard with Mario here I showed up when hotspot was just coming off being a self VM people were converting it to Java it hadn't yet been made multi-threaded it had a very simple what I would call a template style JIT read a bytecode slap some code out read a bytecode slap some code out it was single threaded it didn't support multi-threading was x86 only those are very simple to see and so on so I worked at Sun forwards of seven years I went to Azul systems worked in no 10 on hotspot I did all kinds of cool stuff of which much is hidden behind the paywall of azules very sad but I watched hot spot do all kinds of fun stuff over the years including come thread robust handle you know one third okay not handle two okay now handle thousands how about a hundred thousand so we

On Hacker News

I strongly recommend following and listening to videos by Cliff Click who wrote HotSpot and worked on Azul and other VMs. Cliff also has Coffee Compiler Club sessions on Fridays. - [LINK] - [VIDEO] — filereaper, 2021-11
I highly recommend folks to view this talk by the venerable Cliff Click called "Bits of Advice For the VM Writer" [1] Of particular interest are Continuation Style Passing Interpreters [2] and how much of a speedup you can get by going to raw assembly. The talk has lessons Cliff learned from his years on the JVM but those can be adapted easily to other runtimes. [1] [VIDEO] [2] [LINK] — filereaper, 2019-03
Very poor, there's no mention of continuation style passing interpreters. If anyone's curious about tales from the battlefield, highly recommend Cliff Click's talks (any of them) [1] [1] [VIDEO] — filereaper, 2017-03
I'm also a fan of Cliff and other Rice alumni; here are a few of his videos that I like. [0] The Sea of Nodes and the HotSpot JIT [1] A JVM Does That? [2] A Crash Course in Modern Hardware [3] Bits of Advice for the VM Writer [0] [LINK] [1] [LINK] [2] [LINK] [3] [VIDEO] — tjalfi, 2021-06
He doesn't give a lot of details, but somewhere in the first 20 minutes of this talk (probably 15 minutes in), Cliff Click says that Hotspot had to create fair locks in user-space because kernel provided locks weren't adequate. [VIDEO] — hyperpape, 2017-04

Related videos