RFR: 8309751: Duplicate constant pool entries added during default method processing [v4]

Coleen Phillimore coleenp at openjdk.org
Tue Apr 9 14:06:39 UTC 2024


On Tue, 9 Apr 2024 04:32:22 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Rename hash back and add a comment.
>
> src/hotspot/share/classfile/bytecodeAssembler.cpp line 38:
> 
>> 36: void BytecodeConstantPool::init() {
>> 37:   for (int i = 1; i < _orig->length(); i++) {
>> 38:     bool new_entry = false;
> 
> This is unused.

nice catch (thought the windows compilers caught these?).

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18548#discussion_r1557691999


More information about the hotspot-runtime-dev mailing list