RFR: 8350178: Incorrect comment after JDK-8345580

Christian Hagedorn chagedorn at openjdk.org
Mon Feb 17 10:31:11 UTC 2025


On Mon, 17 Feb 2025 09:28:38 GMT, SendaoYan <syan at openjdk.org> wrote:

> Hi all,
> In [JDK-8345580](https://bugs.openjdk.org/browse/JDK-8345580), the const modifier for variable Node::_idx has been removed, but the constant description for variable Node::_idx leave unchange. The related description should be updated.
> 
> Only touch the comments, no risk.

Otherwise, looks good and trivial

src/hotspot/share/opto/node.hpp line 340:

> 338: 
> 339:  public:
> 340:   // Each Node is assigned a unique small/dense number.  This number is used

While touching the comments anyways:
Suggestion:

  // Each Node is assigned a unique small/dense number. This number is used

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

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23659#pullrequestreview-2620644322
PR Review Comment: https://git.openjdk.org/jdk/pull/23659#discussion_r1957988176


More information about the hotspot-compiler-dev mailing list