Yi Yang
afe957cd97
8268698: Use Objects.check{Index,FromToIndex,FromIndexSize} for java.base
...
Reviewed-by: mchung, rriggs
2021-07-13 02:23:16 +00:00
Scott Gibbons
c37988d079
8268276: Base64 Decoding optimization for x86 using AVX-512
...
Reviewed-by: erikj, sviswanathan, kvn
2021-06-25 03:19:48 +00:00
Corey Ashford
ccb48b7203
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
2020-11-11 21:31:07 +00:00
Philippe Marschall
2a406f3ce5
8138732: Rename @HotSpotIntrinsicCandidate to @IntrinsicCandidate and move it to the jdk.internal.vm.annotation package
...
Reviewed-by: dholmes, alanb, psandoz, kvn, egahlin
2020-09-30 20:05:07 +00:00
Raffaello Giulietti
4d43cf9fc6
8222187: java.util.Base64.Decoder stream adds unexpected null bytes at the end
...
Reviewed-by: lancea, rriggs
2020-07-22 10:01:03 -04:00
Ivan Gerasimov
cd589d8469
8234147: Avoid looking up standard charsets in core libraries
...
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Nishit Jain
13a52f3a17
8217969: Base64.Decoder.decode methods do not need to throw OOME due to integer overflow
...
8218265: java/util/Base64/TestEncodingDecodingLength.java failing
Reviewed-by: rriggs, naoto
2019-02-06 13:57:19 +05:30
Nishit Jain
72141ff6e6
8210583: Base64.Encoder incorrectly throws NegativeArraySizeException
...
Reviewed-by: rriggs, naoto, darcy, alanb
2019-01-24 12:45:19 +05:30
Smita Kamath
3feaefd75f
8205528: Base64 encoding algorithm using AVX512 instructions
...
Reviewed-by: kvn, psandoz
2018-06-27 20:21:42 -07:00
Xueming Shen
739c973204
8197988: T2 test javax/net/ssl/interop/ClientHelloChromeInterOp.java failed after JDK-8164278
...
Reviewed-by: alanb
2018-02-15 00:25:01 -08:00
Xueming Shen
f6ca24c05f
8164278: java.util.Base64.EncOutputStream/DecInputStream is slower than corresponding version in javax.mail package
...
Reviewed-by: rriggs
2018-02-14 14:13:42 -08:00
Xueming Shen
2f7bcc872f
8176379: java.util.Base64 mime encoder behaves incorrectly if initialized with a line length of size 1-3
...
Reviewed-by: rriggs, alanb, psandoz
2018-01-31 10:34:59 -08:00
Christoph Dreis
7f79fffba6
8190382: fix small typographic errors in comments
...
Reviewed-by: martin
2017-10-30 17:49:33 -07:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00