Fast Path allocation

Manavjeet Singh manavjeet18295 at iiitd.ac.in
Sat Mar 27 10:17:27 UTC 2021


Hi,
I am studying C2 compiler in java. In the file
jdk/src/hotspot/share/opto/runtime.cpp, in the allocation section a comment
says, "We failed the fast-path allocation. Now we need to do a scavenge or
GC and try allocation again."
I assume the fast path allocation means directly allocating from a TLAB.
Please correct me if I am wrong; also can someone please point out the code
for fast-path allocation to understand it better.
Thanks,
Manavjeet Singh



More information about the hotspot-gc-dev mailing list