JDK Memory Allocation

Roger Riggs roger.riggs at oracle.com
Mon Jul 23 14:43:16 UTC 2018


Hi,

Given the level of your questions, you will find it more rewarding to 
seek out and study
presentations and articles about the structure of JVMs and their 
implementations.

Regards, Roger

On 7/21/18 7:51 PM, mr rupplin wrote:
> 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