Return from method with long
result
Bytecode
Type | Description |
u1 | lreturn opcode = 0xAD (173) |
Stack ..., value.word1, value.word2 => [empty]
Description
The returning method must have return type long
. The value
must be of type long
. The value is popped from the operand stack of
the current frame and pushed onto the operand stack of the frame of the invoker. Any other
values on the operand stack of the current method are discarded. If the returning method
is a synchronized
method, the monitor acquired or reentered on invocation of
the method is released or exited (respectively) as if by execution of a monitorexit
instruction.
The interpreter then returns control to the invoker of the method, reinstating the frame of the invoker.