[jmm-dev] Java thread dynamic memory allocation

Manavjeet Singh manavjeet18295 at iiitd.ac.in
Fri Sep 11 18:24:10 UTC 2020

I am currently studying GC and java memory model. From the code, I
understand that GC provides a TLAB to each thread for unsynchronized
allocation of the non-humongous objects. But I am not able to understand
what happens when a "new" operator is called in java code. Is the function
that tackles this "new" operator defined in JavaThread class or some other
routine is called.
Can you please correct me if I am assuming something wrong, and point me to
relevant functions so that I can understand better.
Thanks and regards
Manavjeet Singh
CSD Undergraduate | 2018295
Indraprastha Institute of Information Technology (IIITD)

More information about the jmm-dev mailing list