Location of old bytecode verifier?

Keith McGuigan keith.mcguigan at oracle.com
Mon Jun 11 04:02:12 PDT 2012


You're looking for the type-inferencing verifier.  The source for this 
is in the jdk repository and it gets compiled into libverify.so.  Source 
code is here: 
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/tip/src/share/native/common/check_code.c

On 6/9/2012 11:35 PM, Robert Grosse wrote:
> Hello,
>
> I have been trying to find the source for the verifier used to verify
> method bytecodes for pre 50.0 classes that use the jsr instruction.
> However, I can't find it anywhere. It appears that
> src/share/vm/classfile/verifier.cpp gets a function pointer from a dll
> in order to do the verification, but it is not clear where the actual
> source is. Does anyone know where I can find the source for the old
> bytecode verifier?


More information about the hotspot-dev mailing list