RFR: 8294961: Convert java.base/java.lang.reflect.ProxyGenerator to use the Classfile API to generate proxy classes [v14]
Adam Sotona
asotona at openjdk.org
Mon Mar 27 15:11:20 UTC 2023
On Mon, 27 Mar 2023 13:17:35 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>>
>> SplitConstantPool performance improvement
>
> src/java.base/share/classes/jdk/internal/classfile/impl/StackMapGenerator.java line 256:
>
>> 254:
>> 255: private Frame getFrame(int offset) {
>> 256: for (var f : frames) {
>
> How large is the frames list expected to be? We can probably perform binary searches if the list is too large.
The number of frames is usually low, however I'll try to benchmark the difference.
Thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/10991#discussion_r1149395671
More information about the core-libs-dev
mailing list