On Mon, 4 May 2026 13:21:54 GMT, Paul Hübner <[email protected]> wrote:

> > * private value 'skipFailedInvocationCounts' 'Ljava/lang/Boolean;' @12  
> > Flat inline type field 'java/lang/Boolean':
> 
> I'm not super familiar with the Zero internals or potential optimizations we 
> have/could have baked in. However, we can't really yield that many field 
> flattening benefits with just an interpreter. Perhaps we still enjoy a lower 
> overall allocation rate when only buffering at points of field access? Would 
> it make sense to revisit the flattening decisions when running Zero? As in, 
> disable field flattening entirely and guard cases like these with assertions.

We could always set `UseFieldFlattening` and `UseArrayFlattening` to false if 
we build with zero.

-------------

PR Comment: https://git.openjdk.org/valhalla/pull/2382#issuecomment-4385666997

Reply via email to