RFR: 8262096: Vector API fails to work without C2
Jie Fu
jiefu at openjdk.java.net
Sun Feb 21 23:24:54 UTC 2021
Hi all,
Vector API won't work without C2.
The reason is that VectorSupport_GetMaxLaneCount [1] always returns -1 if C2 is not present.
But it should work even there is no JIT compiler since it's Java-level's api.
So let's fix it.
Thanks.
Best regards,
Jie
[1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/prims/vectorSupport.cpp#L364
-------------
Commit messages:
- 8262096: Vector API fails to work without C2
Changes: https://git.openjdk.java.net/jdk/pull/2667/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2667&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8262096
Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/2667.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2667/head:pull/2667
PR: https://git.openjdk.java.net/jdk/pull/2667
More information about the hotspot-compiler-dev
mailing list