title: How to find the native method from the JVM source code?
body: <p>I found the ClassLoader invoke some JVM native code, so I tried to check these native code from the JVM source code below, for example I want to check the method defineClass1 ,however I find I failed to get them.
  May I how to find the related JVM source code based on the native code invoked from the Java code?</p>
  
  <p><a href="http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/log?rev=defineClass1" rel="nofollow">http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot/log?rev=defineClass1</a></p>
  
  <pre><code>private native Class defineClass0(String name, byte[] b, int off, int len,
                                    ProtectionDomain pd);
  
  private native Class defineClass1(String name, byte[] b, int off, int len,
                                    ProtectionDomain pd, String source);
  
  private native Class defineClass2(String name, java.nio.ByteBuffer b,
                                    int off, int len, ProtectionDomain pd,
                                    String source);
  </code></pre>