I decompiled a source file and found some JVM instructions like JVM INSTR monitorenter and JVM INSTR monitorexit.
What does these mean?
public boolean isRunning()
{
this;
JVM INSTR monitorenter ;
Thread thread = _thread;
boolean flag;
if(thread != null)
flag = true;
else
flag = false;
this;
JVM INSTR monitorexit ;
return flag;
Exception exception;
exception;
throw exception;
}
Also what does Exception exception; , exception; and throw exception; mean?
monitorenterandmonitorexitare documented in the JVM specification, along with all the other bytecode instructions. Basically they’re used to implementsynchronizedblocks and methods.It sounds like your decompiler isn’t terribly good, if it isn’t able to come up with appropriate Java here… we can’t tell what the
Exceptionpart is about when basically it’s broken decompiler output. It may well correspond to something like:… but basically I’d find a different decompiler. (Why do you need a decompiler anyway?)