Integrated: 8370666: VectorAPI: Add clear comments for vector relative code in c2

Xiaohong Gong xgong at openjdk.org
Tue Jan 20 01:45:59 UTC 2026


On Fri, 9 Jan 2026 01:36:50 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 303de9a3
Author:    Xiaohong Gong <xgong at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/303de9a3f2ba93f0bbe42044483a0b48c82b70cb
Stats:     332 lines in 5 files changed: 171 ins; 118 del; 43 mod

8370666: VectorAPI: Add clear comments for vector relative code in c2

Reviewed-by: epeter, jbhateja, qamai

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

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


More information about the hotspot-compiler-dev mailing list