JVM

The virtual machine that executes Java bytecode, and the toolkits around it.

3 subjects · 12 topics

Subjects covering this category

3 subjects
  • Subject · Beginner to Advanced

    Writing Java that compiles, runs, and models a problem with objects.

    • The Language
    • Objects
    • When Things Go Wrong
    15 topics · 131 cardsnot started
  • Subject · Intermediate to Advanced

    Running Java on more than one thread without corrupting the data underneath.

    • Threads and What They Cost
    • Why Shared State Breaks
    • Locks
    5 topics · 43 cardsnot started
  • Subject · Intermediate to Advanced

    Holding data in the right Java collection, and transforming it without writing a loop.

    • Collections
    • Pipelines
    9 topics · 78 cardsnot started

In JVM itself

12 topics
  • Java

    Java operators: how operand types choose what a symbol does, identity versus equality, short-circuiting, precedence and increments.

    Beginner to Intermediate9 cards · 5 qnot started

  • Java

    Choosing which code runs with if and switch, repeating it with Java's four loop forms, and the boundary mistakes in both.

    Beginner to Intermediate9 cards · 5 qnot started

  • Java

    Java strings: immutability, why String methods return new strings, the string pool, equals against ==, and building text with StringBuilder.

    Beginner to Intermediate9 cards · 5 qnot started

  • Java

    Java variables and types: primitives and references, what assignment copies, the eight primitive types, money, and what the compiler checks.

    Beginner to Intermediate9 cards · 5 qnot started

  • Java

    Java methods: declaring and calling them, signatures, parameters and arguments, pass-by-value, and overloading.

    Beginner to Intermediate10 cards · 6 qnot started

  • Java

    How a Java program runs: what javac produces, what the java command and the JVM do with it, and why one build runs on every machine.

    Beginner to Intermediate6 cards · 5 qnot started

  • Java

    Java memory: the stack and the heap, what keeps an object alive for the garbage collector, the two memory errors, and leaks.

    Intermediate to Advanced9 cards · 5 qnot started

  • Java Concurrency

    Why shared state breaks between threads: race conditions, non-atomic operations, visibility, and choosing volatile, atomics or locks.

    Intermediate to Advanced9 cards · 5 qnot started

  • Java

    Java polymorphism: how the runtime object chooses which overridden method runs, what the declared type decides, hiding, casts and instanceof.

    Intermediate to Advanced9 cards · 5 qnot started

  • Java Collections and Streams

    Java generics: type parameters, what the compiler checks, type erasure, wildcards, and what erasure forbids.

    Intermediate to Advanced9 cards · 5 qnot started

  • Java Concurrency

    Java threads: starting work that runs alongside your code, the states a thread passes through, and platform vs virtual threads.

    Intermediate to Advanced8 cards · 5 qnot started

  • Java Concurrency

    Locks in Java: what synchronized guarantees, which object it locks, reentrancy, ReentrantLock, and what a lock cannot protect.

    Intermediate to Advanced9 cards · 5 qnot started