Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to determine the operand types in stack by pc

843829Jan 4 2007 — edited Jan 11 2007
Dear 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 8 2007
Added on Jan 4 2007
5 comments
207 views