RFR: 8313564: Fix -Wconversion warnings in classfile code [v2]
    Coleen Phillimore 
    coleenp at openjdk.org
       
    Wed Aug  2 19:25:42 UTC 2023
    
    
  
On Wed, 2 Aug 2023 13:40:12 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> This patch fixes various -Wconversion warnings in classfile code.  I broke the change into commits so the changes are easier to see.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Missed a case that gets -Wconversion warning for ContendedPaddingWidth.  prefetch_data_size() returns uint, so added a checked_cast<> to catch the case where it would return greater than signed int max.
Thanks for looking at this in detail Matias and for asking questions.  I hope I've answered them sufficiently.
-------------
PR Review: https://git.openjdk.org/jdk/pull/15111#pullrequestreview-1559677392
    
    
More information about the hotspot-dev
mailing list