[ Pobierz całość w formacie PDF ]
.newfromname byte1 byte2creates a new object of the type referenced by the position inthe constant_pool, indexedby the 2-byte index constructed from byte1and byte2.instanceof byte1 byte2checks to see if an object is an instance of a particular type.verifystack checks tosee if the operand stack is empty.If not, it will be after thiscall.This instruction is generated only by a compiler that isgenerating debug information.MonitorsDue to the multithreaded nature of the JVM, there is a great needfor a mechanism to access shared memory resources.The followinginstructions provide the capability to lock and unlock a memoryobject:monitorenter locks theobject handle at the top of the stack until the current processreleases the resource.monitorexit releasesthe object handle at the top of the stack.The breakpointInstructionThe breakpoint instructioncalls the breakpoint handler to notify the debugger of a breakpoint.SummaryThis chapter diagrams the internals of a.classfile, discusses the JVM architecture, and provides insight intothe JVM instruction set.Contactreference@developer.com with questions or comments.Copyright 1998EarthWeb Inc., All rights reserved.PLEASE READ THE.Copyright 1998 Macmillan Computer Publishing.All rights reserved
[ Pobierz całość w formacie PDF ]