RFR: 8370666: VectorAPI: Add clear comments for vector relative code in c2 [v3]

Xiaohong Gong xgong at openjdk.org
Wed Jan 14 05:41:26 UTC 2026


> The VectorMask implementation in Vector API involves complex interactions between types, nodes, and platform-specific
> features, making the related code in HotSpot difficult to understand and review.
> 
> This patch adds comprehensive comments for vector mask related types, nodes, and methods in C2 to improve code clarity and
> maintainability.
> 
> Note: This patch only adds comments; no functional changes are made.

Xiaohong Gong has updated the pull request incrementally with one additional commit since the last revision:

  Update comments in type.cpp

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29130/files
  - new: https://git.openjdk.org/jdk/pull/29130/files/6782b7f6..083f5754

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29130&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29130&range=01-02

  Stats: 7 lines in 1 file changed: 0 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/29130.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29130/head:pull/29130

PR: https://git.openjdk.org/jdk/pull/29130


More information about the hotspot-compiler-dev mailing list