`VectorShape` is currently an enum. It has a constant `S_Max_Bits`, which makes 
it not suitable for the potential future enhancements; for example, aarch64 
SVE2 has a streaming vector length distinct from the old "max length" of a 
vector already.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Typo
 - Merge branch 'master' of github.com:openjdk/jdk into 
cleanup/vector-shape-freedom
 - Tweaks, tests work
 - Tweaks, tests work
 - Make VectorShape an interface to allow implementation freedom in the future

Changes: https://git.openjdk.org/jdk/pull/33610/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33610&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8396060
  Stats: 519 lines in 24 files changed: 260 ins; 90 del; 169 mod
  Patch: https://git.openjdk.org/jdk/pull/33610.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33610/head:pull/33610

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

Reply via email to