[PROPOSAL][JDK10] Introduce Executable.getParameterType(index)
Christoph Dreis
christoph.dreis at freenet.de
Fri Nov 3 08:11:48 UTC 2017
Hi John,
>> this has a bigger impact on the overall footprint of Method/Executable objects. What are your thoughts on this?
> The footprint is probably about the same. Small List.of values
> do not contain arrays, and may be smaller than arrays with the
> same number of elements, since they do not have a length field.
> And, indeed, methods typically have a small number of parameters.
Ah, so you would remove the current array field completely and replace it with the immutable List, right?
In that case I said nothing. I was thinking of a field on top.
Cheers,
Christoph
More information about the core-libs-dev
mailing list