CodeBuilder::allocateLocal

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Fri Mar 31 11:54:56 UTC 2023


Hi,
while reviewing this:

https://git.openjdk.org/jdk/pull/13247

I couldn't help but getting rubbed the wrong way seeing "allocate" next 
to "Local". I realize this might be a subjective bias (I've been staring 
at memory allocators for too long :-) ), but I don't think that the 
concept of "allocation" belongs to local variables? I think a more 
neutral "newLocal", "makeLocal", "createLocal" might work better in this 
regard.

Cheers
Maurizio



More information about the classfile-api-dev mailing list