RFR: 8248188: Add IntrinsicCandidate and API for Base64 decoding [v8]

CoreyAshford github.com+51754783+coreyashford at openjdk.java.net
Wed Oct 21 20:43:30 UTC 2020


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

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

  TestBase64.java: remove jdk.test.lib.Utils from @build which was causing Tier3 failures.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/293/files
  - new: https://git.openjdk.java.net/jdk/pull/293/files/f93614dc..8e15d971

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=293&range=07
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=293&range=06-07

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/293.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/293/head:pull/293

PR: https://git.openjdk.java.net/jdk/pull/293


More information about the core-libs-dev mailing list