Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

NOP instruction

843829Aug 10 2005 — edited Aug 10 2005
Please, can anybody explain me why JVM puts NOP instructions in bytecode? I was thinking it is for time delaying in programs which operate with hardware (read or write memory and registers), but it seems it is not. This is very important thing because of removing NOP instructions in Java bytecode.

Thank you very much.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 7 2005
Added on Aug 10 2005
3 comments
385 views