Structure of the HotSpot Interpreter

David Holmes david.holmes at oracle.com
Fri May 31 06:19:24 UTC 2024


Hi Julian,

On 30/05/2024 11:47 pm, Julian Waters wrote:
> Hi all,
> 
> I've recently been trying to learn more about HotSpot and studying its
> internals, but the structure of the Interpreter seems to elude me
> still. I'm aware that HotSpot doesn't use a traditional switch case
> (Well, at least not usually, looking at you Zero Port), but how it
> functions is more or less still a black box to me. What kind of
> dispatch mechanism does it use, for instance? Is it Direct Threaded,
> Indirect Threaded, Token Threaded, or something else entirely? Is
> there somewhere I can learn about how everything connects together?
> I've tried reading the HotSpot documentation online but there doesn't
> seem to be an in-depth explanation in them for how it all fits
> together, I'd greatly appreciate if someone points me in the right
> direction

Did you find:

https://albertnetymk.github.io/2021/08/03/template_interpreter/

?

HTH

David

> best regards,
> Julian


More information about the hotspot-dev mailing list