~/talk

Container Friendly Java 9

Talkat Developer Summit 2020 · 2020-11-21..11-22· [java]
name:Ken Sipe
links:none on file
slides:none on file

Explains that containers are just Linux cgroups and namespaces and shows how Docker/containerd and Kubernetes map to them, with concrete commands (cgcreate, cgclassify, cgget, cgtop, journalctl -k) for debugging OOM kills and resource accounting. Demonstrates memory pitfalls (metaspace can grow until container is OOM killed), Java 9 reads cgroup memory limits and uses schedule_getaffinity for CPUs, GC and fork‑join threads scale to visible cores, and notes defaults like CPU shares = 1024 and ~0.5–1MB thread stack per thread.

AI-written summary · about

  1. 0:00Introduction and agenda
  2. 1:16What is a container
  3. 13:19Containers vs virtual machines
  4. 22:34Control groups deep dive
  5. 34:26Namespaces explained
  6. 44:05Java memory in containers
  7. 53:12Java and container constraints
  8. 57:49Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.