goto_w

Branch to address using wide offset

Bytecode

Type Description
u1 goto_w opcode = 0xC8 (200)
u4 branchoffset

Stack No change

Description

Causes execution to branch to the instruction at the address (pc + branchoffset), where pc is the address of the goto_w opcode in the bytecode and branchoffset is a 32-bit signed integer parameter that follows the goto_w opcode in the bytecode

The target address must be that of an opcode of an instruction within the method that contains this goto_w instruction.

Notes Although the goto_w instruction has a 4-byte branch offset, other factors limit the size of a Java method to 65535 bytes. This limit may be raised in a future release of the Java Virtual Machine.