Does the element on stack has the same size?
Colin(Du Li)
dawn2004 at gmail.com
Tue Mar 10 14:49:55 PDT 2009
Hello,
I have a question about hotspot operand stack.
I find following codes in abstractinterpreter.hpp
static int stackElementWords() { return TaggedStackInterpreter ? 2 : 1;
}
Does that mean the size of any element on stack is either 1 or 2 words,
right?
If so, how the stack can store double type parameters?
e.g.
for method: M(double d){}
How can parameter 'd' can be pushed into operand stack before the method 'M'
is executed?
Thanks a lot!
Du LI
--
View this message in context: http://www.nabble.com/Does-the-element-on-stack-has-the-same-size--tp22444358p22444358.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.
More information about the hotspot-dev
mailing list