# return-void

## Purpose

Return from a void method.

## Details

Op & Format | Mnemonic / Syntax | Arguments
--- | --- | ---
0e 10x | return-void |

## Constraints

- The return type of the current method must be void.

## Behavior

- If the method is synchronized, the object's monitor is released in a way similar to the monitor-exit instruction.
- The stack frame of the current method invocation is removed from the stack. This includes all its registers becoming invalid.
- If the stack is now empty, the current thread terminates.
- Otherwise, the following happens:
  - The stack frame that caused this method invocation becomes valid. This includes all its registers and their old values.
  - Execution continues at the bytecode instruction immediately following the invoke-kind or invoke-kind/range instruction that caused this method invocation.

## Exceptions

None.