How to determine the operand types in stack by pc
843829Jan 4 2007 — edited Jan 11 2007Dear everyone,
I'm very curious about the garbage collection, how can it know all the operand types which is on the stack just by the pc register.
Is there any article talking about this?
Could any jvm expert answer this question? At a specified code position(a specified location of the jvm instructures), is the stack size and operand types on the stack always the same? Or could be different.
Thanks a lot if anyone could give me a clear answer