RFR: 8341094: Clean up relax_verify in ClassFileParser [v2]

Coleen Phillimore coleenp at openjdk.org
Fri Nov 8 11:33:24 UTC 2024


On Fri, 8 Nov 2024 04:37:11 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 ClassFileStream::_need_verify to _check_truncation and set based on one call in ClassFileParser.
>
> src/hotspot/share/classfile/classFileStream.hpp line 55:
> 
>> 53: 
>> 54:  public:
>> 55:   constexpr static bool verify = true;
> 
> Where, and how, is this used?

It's passed into the ClassFileStream constructor with default value true.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21954#discussion_r1834184776


More information about the hotspot-runtime-dev mailing list