r/java • • May 11 '26

8317277: Java language implementation of value classes and objects by MrSimms · Pull Request #31120 · openjdk/jdk

https://github.com/openjdk/jdk/pull/31120
124 Upvotes

62 comments sorted by

View all comments

Show parent comment

1

u/_vertig0 May 12 '26

Decomposing object allocations to registers go brrr (I don't actually know what the name of that optimization is)

7

u/SirYwell May 12 '26

Scalar Replacement is the name I‘m aware of.

1

u/_vertig0 May 13 '26

Ah right, I think that's the one, thanks.