@mcc Hotspot isn't really a stack machine. *Java bytecode* is written for a stack machine, as is Wasm machine code, which works out well because it's compact: you don't encode (almost) any temporary indices, like you would have in LLVM
the moment you load it, you transform it into a register representation in memory. not literally every implementation does it, but most do not actually execute it with a data stack