JDK Memory Allocation

mr rupplin mearvk at outlook.com
Sat Jul 21 23:51:17 UTC 2018


Having looked for some while at the OpenJDK source code I am unable to find where the memory allocation occurs.  I will be working very much with the JDK and would like to get a firm grasp on its underlying mechanisms.

public class JustAsk
{
     public static void main(String...args)
     {
         for(int i=0; i<100; i++)
         {
            new JustAsk();
         }
     }
}

This doesn't seem to rely on any of the functions in the libjli nor of the jni.h.  So clearly where do we look for the handler here?

Thanks,

Your friend Max



More information about the build-dev mailing list