RFR (S): C1 still does eden allocations when TLAB is enabled

JC Beyler jcbeyler at google.com
Fri Jul 13 17:23:43 UTC 2018

Hi all,

(Not sure this is the right list, it's a C1 fix but regarding runtime

With Robbin Ehn, we had worked together on making TLAB and contiguous
inlining consistent in the interpreter across architectures. When testing
my heap monitoring system, it turned out that C1 is still being

I'm not sure if we had left this case intentionally or not but, if we want
it all to be consistent, we should perhaps fix it.

I created this to track this:

I also created a fix to make it consistent:

Basically, we say:
  - If TLAB is enabled, then go directly to the slow path in these cases
  - If TLAB is disabled, try inline contiguous allocations if possible

Let me know if you have any questions and if someone could review if we
agree to it, that would be great!


More information about the hotspot-runtime-dev mailing list