Integrated: 8248188: Add IntrinsicCandidate and API for Base64 decoding
Corey Ashford
github.com+51754783+coreyashford at openjdk.java.net
Wed Nov 11 21:33:58 UTC 2020
On Tue, 22 Sep 2020 02:45:36 GMT, Corey Ashford <github.com+51754783+CoreyAshford at openjdk.org> wrote:
> This patch set encompasses the following commits:
>
> - Adds a new HotSpot intrinsic candidate to the java.lang.Base64 class - decodeBlock(), and provides a flexible API for the intrinsic. The API is similar to the existing encodeBlock intrinsic.
> - Adds the code in HotSpot to check and martial the new intrinsic's arguments to the arch-specific intrinsic implementation
> - Adds a Power64LE-specific implementation of the decodeBlock intrinsic.
> - Adds a JMH microbenchmark for both Base64 encoding and encoding.
> - Enhances the JTReg hotspot intrinsic "TestBase64.java" regression test to more fully test both decoding and encoding.
This pull request has now been integrated.
Changeset: ccb48b72
Author: Corey Ashford <cjashfor at linux.vnet.ibm.com>
Committer: Martin Doerr <mdoerr at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/ccb48b72
Stats: 1905 lines in 25 files changed: 1878 ins; 4 del; 23 mod
8248188: Add IntrinsicCandidate and API for Base64 decoding
8248188: Add IntrinsicCandidate and API for Base64 decoding, add Power64LE intrinsic implementation.
This patch set encompasses the following commits:
Adds a new intrinsic candidate to the java.lang.Base64 class - decodeBlock(), and provides a flexible API for the intrinsic. The API is similar to the existing encodeBlock intrinsic.
Adds the code in HotSpot to check and martial the new intrinsic's arguments to the arch-specific intrinsic implementation.
Adds a Power64LE-specific implementation of the decodeBlock intrinsic.
Adds a JMH microbenchmark for both Base64 encoding and encoding.
Enhances the JTReg hotspot intrinsic "TestBase64.java" regression test to more fully test both decoding and encoding.
Reviewed-by: rriggs, mdoerr, kvn
-------------
PR: https://git.openjdk.java.net/jdk/pull/293
More information about the core-libs-dev
mailing list