nop 0x00

Does nothing.

Opcode
0x00 (0)
Family
Other
Operands
none
Length
1 byte
Operand stack
… → …
Can throw
nothing at run time (beyond linking errors)

What it does

Does nothing. javac never emits it; bytecode tools use it as a placeholder, and some pad code with it.

How often javac uses it

It does not appear anywhere in JDK 25.0.5's java.base module: none of its 7,391 classes uses it.

Related instructions

wide Makes the next instruction take a two-byte local index (and a two-byte iinc constant).goto Jumps unconditionally.

Specification: JVMS §6.5, nop (Java SE 25).