RFR: 8328081: Remove unnecessary return statement in method `markWord::displaced_mark_helper` [v2]

Aleksey Shipilev shade at openjdk.org
Wed Mar 13 15:32:15 UTC 2024


On Wed, 13 Mar 2024 13:39:46 GMT, Guoxiong Li <gli at openjdk.org> wrote:

>> Hi all,
>> 
>> This trivial patch removes unnecessary return statement in method `markWord::displaced_mark_helper`.
>> 
>> Thanks for taking the time to review.
>> 
>> Best Regards,
>> -- Guoxiong
>
> Guoxiong Li has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
> 
>  - Merge branch 'master' into REMOVE_UNNECESSARY_CODE
>  - Remove unnecessary code.

I think we do this as the matter of course, in case `fatal` is not handled as non-returning by compilers. Does this fix any existing compiler warning/failure?

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

PR Comment: https://git.openjdk.org/jdk/pull/18272#issuecomment-1994668646


More information about the hotspot-dev mailing list