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
Dong Bo
8638cd9acf
8255625: AArch64: Implement Base64.encodeBlock accelerator/intrinsic
...
Reviewed-by: aph
2020-11-11 01:51:27 +00:00
Jorn Vernee
0a41ca6b75
8254354: Add a withInvokeExactBehavior() VarHandle combinator
...
Reviewed-by: psandoz, chegar
2020-11-10 23:26:02 +00:00
Claes Redestad
6ae5e5b6b7
8221404: C2: Convert RegMask and IndexSet to use uintptr_t
...
Reviewed-by: kvn, thartmann
2020-11-10 16:48:21 +00:00
Dong Bo
f71f9dc93a
8255949: AArch64: Add support for vectorized shift right and accumulate
...
Reviewed-by: aph
2020-11-10 01:24:25 +00:00
Andrew Haley
17f04fc9e7
8254078: DataOutputStream is very slow post-disabling of Biased Locking
...
Reviewed-by: rriggs, shade, alanb
2020-11-09 16:02:30 +00:00
Jorn Vernee
804bd72599
8255128: linux x86 build failure with libJNIPoint.c
...
Reviewed-by: coleenp, shade, ihse
2020-11-04 18:10:49 +00:00
jasontatton-aws
72ff8e2118
8254782: Fix benchmark issues in java/lang/StringIndexOfChar.java benchmark
...
Reviewed-by: redestad, shade
2020-10-29 12:06:43 +00:00
Claes Redestad
a7595b2a61
8250669: Running JMH micros is broken after JDK-8248135
...
Reviewed-by: ecaspole, erikj
2020-10-28 22:36:43 +00:00
Michael McMahon
3f20612e03
8255555: Bad copyright headers in SocketChannelCompare.java SocketChannelConnectionSetup.java UnixSocketChannelReadWrite.java
...
Reviewed-by: dfuchs, bpb
2020-10-28 19:00:47 +00:00
Michael McMahon
6bb7e45e8e
8245194: Unix domain socket channel implementation
...
Reviewed-by: erikj, dfuchs, alanb, chegar
2020-10-28 17:26:26 +00:00
Dong Bo
6b2d11ba24
8255246: AArch64: Implement BigInteger shiftRight and shiftLeft accelerator/intrinsic
...
Reviewed-by: aph
2020-10-28 11:52:07 +00:00
Fei Yang
b25d894015
8252204: AArch64: Implement SHA3 accelerator/intrinsic
...
Co-authored-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Co-authored-by: Dong Bo <dongbo4@huawei.com>
Reviewed-by: aph, kvn
2020-10-22 04:38:39 +00:00
Claes Redestad
96a1f08e80
8254775: Microbenchmark StringIndexOfChar doesn't compile
...
Reviewed-by: rriggs
2020-10-14 15:25:43 +00:00
Jason Tatton (AWS)
f71e8a6198
8173585: Intrinsify StringLatin1.indexOf(char)
...
Reviewed-by: neliasso
2020-10-14 12:58:21 +00:00
Jatin Bhateja
4b5ac3abac
8252847: Optimize primitive arrayCopy stubs using AVX-512 masked instructions
...
Reviewed-by: neliasso, kvn
2020-10-10 06:29:38 +00:00
Stuart Marks
88d75c9ad5
8156071: List.of: reduce array copying during creation
...
Reviewed-by: psandoz, redestad
2020-10-05 17:00:57 +00:00
Julia Boes
e0cf023263
8245309: Re-examine use of ThreadLocalCoders in sun.net.www.ParseUtil
...
Reviewed-by: shade, dfuchs, alanb, chegar
2020-09-16 10:49:13 +00:00
Rahul Yadav
0f64d4bead
8245308: Replace ThreadLocalCoders decoder/encoder cache in java.net.URI
...
This fix updates java.net.URI and replaces the ThreadLocalCoders optimization.
Reviewed-by: alanb, dfuchs
2020-08-28 18:05:20 +01:00
Tagir F. Valeev
55e381b32f
8247605: Avoid array allocation when concatenating with empty string
...
Reviewed-by: redestad, plevart
2020-08-10 16:14:03 +00:00
Jatin Bhateja
3ed56830b4
8248830
: C2: Optimize Rotate API on x86
...
Improved existing scalar rotate operations, added support for vector rotate operations using new AVX512 instructions.
Reviewed-by: vlivanov, kvn
2020-08-09 02:03:09 +05:30
Boris Ulasevich
4a1d4be729
8248870: AARCH64: I2L/L2I conversions can be skipped for masked positive values
...
Reviewed-by: aph
2020-07-24 08:21:11 -04:00
Naoto Sato
1f63603288
8248655: Support supplementary characters in String case insensitive operations
...
8248434: some newly added locale cannot parse uppercased date string
Reviewed-by: jlaskey, joehw, rriggs, bchristi
2020-07-23 08:46:31 -07:00
Boris Ulasevich
6d137a3616
8248043: Need to eliminate excessive i2l conversions
...
Reviewed-by: redestad, kvn, iveresov
2020-07-06 04:44:25 -04:00
Boris Ulasevich
48c0ce3b4b
8247408: IdealGraph bit check expression canonicalization
...
Reviewed-by: aph, kvn, adinn
2020-06-29 07:26:10 -04:00
Pengfei Li
ac4f14c386
8247307: C2: Loop array fill stub routines are not called
...
Ignore safepoint polling use of CountedLoopNode when matching loop array fill pattern.
Reviewed-by: kvn, thartmann
2020-06-28 06:15:31 +00:00
Jesper Wilhelmsson
233cac3232
Merge
2020-06-25 03:11:32 +02:00
Peter Levart
2f09989ec0
8247532: Records deserialization is slow
...
8248135: Build microbenchmarks with --enable-preview
Test contributed by Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar, psandoz, redestad, ihse
2020-06-24 11:05:09 +02:00
Chris Hegarty
7f69acc778
8247696: Incorrect tail computation for large segments in AbstractMemorySegmentImpl::mismatch
...
Reviewed-by: psandoz, mcimadamore
2020-06-23 10:09:26 +01:00
Claes Redestad
8d9826e4d1
8247995: Avoid use of a mapping function in Permissions.getPermissionCollection
...
Reviewed-by: rriggs
2020-06-23 10:07:10 +02:00
Claes Redestad
34c79640e7
8247681: Improve bootstrapping of unary concatenations
...
Reviewed-by: jlaskey, psandoz
2020-06-17 19:36:26 +02:00
Tagir F. Valeev
0a108f9ef2
8247605: Avoid array allocation when concatenating with empty string
...
Reviewed-by: redestad, plevart
2020-06-16 03:16:41 +00:00
Anthony Scarpino
b6a9f3015a
8241680: crypto microbenchmarks need updating for disabled EC curves
...
Reviewed-by: ecaspole, redestad, skuksenko, jnimeh
2020-06-09 16:01:25 -07:00
Claes Redestad
9cd41b6555
8246592: Simplify checking of boolean file attributes
...
Reviewed-by: rriggs, alanb
2020-06-08 22:47:16 +02:00
Eric Caspole
a351ebd40b
8245043: Simplified contention benchmark
...
Reviewed-by: shade, skuksenko
2020-06-04 13:16:38 -04:00
Claes Redestad
827c8865d8
8246451: Reduce overhead of normalizing file paths with trailing slash
...
Reviewed-by: lancea
2020-06-03 22:29:34 +02:00
Chris Hegarty
f1e1cb7055
8246095: Tweaks to memory access API
...
Add more user friendly API points to the foreign memory acesss API
Reviewed-by: chegar, psandoz
2020-06-03 16:50:03 +01:00
Claes Redestad
0366f6bf45
8246338: Reduce overhead of normalizing file paths
...
Reviewed-by: alanb
2020-06-02 22:22:58 +02:00
Claes Redestad
1f698a35f2
8246152: Improve String concat bootstrapping
...
Reviewed-by: forax, psandoz
2020-06-01 22:04:22 +02:00
David Holmes
7228978b19
8242504: Enhance the system clock to nanosecond precision
...
Co-authored-by: Mark Kralj-Taylor <kralj.mark@gmail.com>
Reviewed-by: dfuchs, rriggs, dcubed, vtewari
2020-05-28 22:34:02 -04:00
Chris Hegarty
f3eb44a94d
8243491: Implementation of Foreign-Memory Access API (Second Incubator)
...
Upstream latest changes of the Foreign-Memory Access API
Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Anthony Scarpino
fd28aad72d
8166597: Crypto support for the EdDSA Signature Algorithm
...
Reviewed-by: weijun, mullan, wetmore
2020-05-18 09:42:52 -07:00
Claes Redestad
168cdcf65d
8244936: Reduce JNI overhead of accessing FileDescriptor
...
Reviewed-by: rriggs, alanb
2020-05-13 22:25:14 +02:00
Claes Redestad
fc842d2b4b
8193066: Avoid use of capturing lambdas in JarFile
...
Reviewed-by: lancea, alanb
2020-05-11 21:43:57 +02:00
Claes Redestad
ceda3089db
8244624: Improve handling of JarFile META-INF resources
...
Reviewed-by: lancea, weijun, martin
2020-05-11 10:37:54 +02:00
Volker Simonis
6a9d0579ca
8244094: Fix Amazon copyright in various test files
...
Reviewed-by: phh
2020-05-06 22:06:16 +02:00
Claes Redestad
d2e0d0e06a
8243469: Lazily encode name in ZipFile.getEntryPos
...
Co-authored-by: Eirik Bjørsnøs <eirbjo@gmail.com>
Reviewed-by: lancea, simonis
2020-04-27 17:26:05 +02:00
Volker Simonis
2594f0b9b8
8242848: Improve performance of InflaterOutputStream.write()
...
Reviewed-by: stuefe, vtewari, redestad, lancea
2020-04-23 14:23:53 +02:00
Tobias Hartmann
0c7e01fa32
8242108: Performance regression after fix for JDK-8229496
...
Backed out the fix for 8229496.
Reviewed-by: kvn, roland
2020-04-22 16:22:53 +02:00
Mandy Chung
1feb24e561
8243274: suppress warnings in LookupDefineClass microbenchmarks due to JDK-8243156
...
Reviewed-by: lfoltan
2020-04-21 07:08:55 -07:00
Mandy Chung
7cc1371059
8238358: Implementation of JEP 371: Hidden Classes
...
Co-authored-by: Lois Foltan <lois.foltan@oracle.com>
Co-authored-by: David Holmes <david.holmes@oracle.com>
Co-authored-by: Harold Seigel <harold.seigel@oracle.com>
Co-authored-by: Serguei Spitsyn <serguei.spitsyn@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Jamsheed Mohammed C M <jamsheed.c.m@oracle.com>
Co-authored-by: Jan Lahoda <jan.lahoda@oracle.com>
Co-authored-by: Amy Lu <amy.lu@oracle.com>
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, sspitsyn, vromero
2020-04-21 06:55:38 -07:00
Magnus Ihse Bursie
48569d9da0
8243156: Fix deprecation and unchecked warnings in microbenchmark
...
Reviewed-by: erikj, redestad
2020-04-21 13:52:32 +02:00
Philipp Kunz
455eaca215
8241055: Regex Grapheme Matcher Performance Depends too much on Total Input Sequence Size
...
Reviewed-by: naoto
2020-04-16 16:09:47 -07:00
Jatin Bhateja
5532b27d22
8241040: Support for AVX-512 Ternary Logic Instruction
...
A new pass has been added which folds expression tree involving vector boolean logic operations into a MacroLogic node.
Reviewed-by: vlivanov, neliasso
2020-04-02 22:38:23 +05:30
Tagir F. Valeev
0386b7d0c3
8176894: Provide specialized implementation for default methods putIfAbsent, computeIfAbsent, computeIfPresent, compute, merge in TreeMap
...
Co-authored-by: Sergey Kuksenko <sergey.kuksenko@oracle.com>
Reviewed-by: martin, stuefe, rriggs
2020-04-02 05:44:04 +00:00
Sandhya Viswanathan
398ce2948c
8240248: Extend superword reduction optimizations for x86
...
Add support for and, or, xor reduction
Co-authored-by: Shravya Rukmannagari <shravya.rukmannagari@intel.com>
Reviewed-by: vlivanov, thartmann
2020-03-23 10:26:40 -07:00
Patrick Concannon
e455d382e7
8234812: Add micros for DatagramChannel send/receive
...
Benchmarks for the DatagramChannel::send and DatagramChannel::receive methods
Reviewed-by: alanb, chegar
2020-03-02 16:47:51 +00:00
Claes Redestad
ebadfaeb2e
8196334: Optimize UUID#fromString
...
Co-authored-by: Andriy Plokhotnyuk <plokhotnyuk@gmail.com>
Co-authored-by: Jon Chambers <jon.chambers@gmail.com>
Reviewed-by: igerasim, alanb
2020-03-02 08:22:48 +01:00
Sergei Tsypanov
f729514ebd
8240094: Optimize empty substring handling
...
Reviewed-by: redestad, igerasim, jlaskey
2020-02-26 21:24:02 +01:00
Patrick Concannon
301a2e19c3
8237480: Add micros for DatagramSocket send/receive
...
Benchmarks for the DatagramSocket::send and DatagramSocket::receive methods
Reviewed-by: chegar, dfuchs, redestad
2020-02-18 09:42:30 +00:00
Claes Redestad
ac69c7894d
8238684: Override getOrDefault in immutable Map implementation
...
Reviewed-by: forax, psandoz, smarks
2020-02-08 15:21:25 +01:00
Nils Eliasson
b59f630249
8237581: Improve allocation expansion
...
Reviewed-by: vlivanov, redestad
2020-02-06 11:21:39 +01:00
Mandy Chung
c0f23a8604
8230047: Remove legacy java.lang.reflect.ProxyGenerator_v49
...
Reviewed-by: rriggs, sundar
2020-02-05 09:53:56 -08:00
Eric Caspole
44444bb249
8238189: Cleanups to AES crypto micros
...
Move all tested algorithms into the small set
Reviewed-by: xuelei
2020-01-30 10:31:43 -05:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Claes Redestad
de96aeddf5
8236850: Operations on constant List/Set.of(element) instances does not consistently constant fold
...
Reviewed-by: smarks, jrose, rriggs, psandoz
2020-01-14 23:40:42 +01:00
Smita Kamath
995da6eb2a
8167065: Add intrinsic support for double precision shifting on x86_64
...
Reviewed-by: kvn
2019-12-23 14:42:21 -08:00
Bernard Blaser
b8b88853a5
8214239: Missing x86_64.ad patterns for clearing and setting long vector bits
...
Reviewed-by: kvn, vlivanov, jrose, sviswanathan
2019-11-13 11:21:15 +01:00
Nils Eliasson
3ca7e3f6ff
8232896: ZGC: Enable C2 clone intrinsic
...
Reviewed-by: pliden, kvn
2019-10-31 17:16:36 +01:00
Eric Caspole
4325a8443b
8215521: add microbenchmark to measure AccessController.getContext
...
Reviewed-by: redestad, alanb
2019-10-04 12:00:16 -04:00
Jatin Bhateja
d3ca3a02ff
8226721: Missing intrinsics for Math.ceil, floor, rint
...
Reviewed-by: neliasso, vlivanov, ecaspole
2019-10-01 11:43:10 +02:00
Brent Christian
916bbc23b7
8221623: Add StackWalker micro benchmarks to jdk repo
...
Reviewed-by: dfuchs, mchung, redestad
2019-09-25 14:33:44 -07:00
Roger Riggs
de8d01d4d3
8207814: (proxy) upgrade the proxy class generator
...
Reviewed-by: mchung
2019-08-21 16:19:17 -04:00
Shravya Rukmannagari
793585b494
8225625: AES Electronic Codebook (ECB) encryption and decryption optimization using AVX512 + VAES instructions
...
AES-ECB encryption and decryption optimization for x86_64 architectures supporting AVX3+VAES
Co-authored-by: Smita Kamath <smita.kamath@intel.com>
Reviewed-by: kvn, valeriep
2019-08-16 14:42:50 -07:00
Ivan Gerasimov
c0b8844dce
8221307: String.substring() OOB exception on start index reports improper information
...
Reviewed-by: rriggs, redestad
2019-08-16 11:35:17 -07:00
Valerie Peng
ef9b6ed5c3
8229214: Don't use GCM with PKCS5Padding in test/micro/org/openjdk/bench/javax/crypto/
...
Update AESGCMBench.java and CipherBench.java accordingly
Reviewed-by: xuelei, ecaspole
2019-08-07 20:46:28 +00:00
Shravya Rukmannagari
19d1cb63bb
8225626: JMH Test Support for JDK-8222074
...
Micros for new SuperWord optimizations
Reviewed-by: vlivanov, ecaspole
2019-07-08 17:57:33 -04:00
Claes Redestad
7f1f9a50ae
8225239: Refactor NetworkInterface lookups
...
Reviewed-by: michaelm, dfuchs, chegar
2019-07-05 13:40:29 +02:00
Tagir F. Valeev
822c02437a
8225339: Optimize HashMap.keySet()/HashMap.values()/HashSet toArray() methods
...
Reviewed-by: rriggs, redestad, smarks
2019-06-14 05:02:58 +00:00
Claes Redestad
a2f40ec3e1
8225179: (regex) Minor Pattern cleanup
...
Reviewed-by: igerasim
2019-06-05 10:07:22 +02:00
Claes Redestad
1813ce706a
8225061: Performance regression in Regex
...
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Reviewed-by: naoto, alanb
2019-06-01 03:18:23 +02:00
Claes Redestad
fd7c38aa35
8224986: (str) optimize StringBuilder.append(CharSequence, int, int) for String arguments
...
Reviewed-by: jlaskey, rriggs
2019-05-31 12:20:21 +02:00
Sergey Kuksenko
712c9911ef
8223921: Update SocketReadWrite benchmark
...
Reviewed-by: redestad
2019-05-14 15:09:31 -07:00
Ivan Gerasimov
4f02d011b0
8222955: Optimize String.replace(CharSequence, CharSequence) for common cases
...
Reviewed-by: redestad, tvaleev
2019-05-06 18:07:55 -07:00
Martin Buchholz
74770e394e
8223078: Add microbenchmark for array copying/clearing/resizing
...
Reviewed-by: dl, redestad
2019-05-01 09:06:12 -07:00
Claes Redestad
e7a6cbbd38
8222852: Reduce String concat combinator tree shapes by folding constants into prependers
...
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: shade, plevart, forax
2019-04-30 12:54:07 +02:00
Claes Redestad
5b2d4559b1
8215017: Improve String::equals warmup characteristics
...
Reviewed-by: jlaskey
2019-04-11 14:56:52 +02:00
Claes Redestad
781fb29580
8222484: Specialize generation of simple String concatenation expressions
...
Reviewed-by: jrose, jlaskey
2019-04-17 00:06:38 +02:00
Claes Redestad
8ee30d4fbe
8222029: Optimize Math.floorMod
...
Reviewed-by: aph, darcy
2019-04-10 20:03:07 +02:00
Ivan Gerasimov
eebe346715
8221430: StringBuffer(CharSequence) constructor truncates when -XX:-CompactStrings specified
...
Co-authored-by: Andrew Leonard <andrew_m_leonard@uk.ibm.com>
Reviewed-by: igerasim, rriggs
2019-04-09 16:32:22 -07:00
Claes Redestad
1908897b93
8221723: Avoid storing zero to String.hash
...
Reviewed-by: shade, prappo, jiangli
2019-04-02 11:24:40 +02:00
Eric Caspole
1e2234d57c
8220368: Update String.indexOf to test all the C2 intrinsics
...
Add new micros for Latin1 and UTF-16
Reviewed-by: kvn, redestad
2019-03-08 17:45:40 -05:00
Jatin Bhateja
c2ec1085e1
8217561: X86: Add floating-point Math.min/max intrinsics
...
Implementation taking care of +/-0.0 and NaN which uses a specific pattern for reductions
Reviewed-by: aph, kvn, neliasso, sviswanathan, adinn
2019-03-07 15:27:42 +01:00
Brian Burkhalter
b24f8ba2ec
8011135: (bf) CharBuffer.put(String) is slow because of String.charAt() call for each char
...
Reviewed-by: alanb, redestad
2019-02-22 10:13:33 -08:00
Doug Lea
f0807ebc18
8210280: Unnecessary reallocation when invoking HashMap.putAll()
...
Co-authored-by: Michal Vala <mvala@redhat.com>
Co-authored-by: Martin Buchholz <martinrb@google.com>
Reviewed-by: martin, mvala, igerasim, chegar, rriggs
2019-02-08 13:39:22 -08:00
Nick Gasson
288ebae13c
8217368: AArch64: C2 recursive stack locking optimisation not triggered
...
Reviewed-by: aph, drwhite
2019-01-22 15:33:34 +08:00
Adam Petcher
e4da9cdab0
8217518: Crypto benchmarks not warming up in time
...
Adding +AlwaysPreTouch to crypto benchmarks to allow GC to warm up
Reviewed-by: redestad
2019-01-24 09:25:06 -05:00
Nick Gasson
2cf4de1a7b
8216350: AArch64: monitor unlock fast path not called
...
Reviewed-by: aph, drwhite, fyang
2019-01-10 17:08:44 +08:00
Claes Redestad
68884330e1
8215995: Add specialized toArray methods to immutable collections
...
Reviewed-by: martin, smarks
2019-01-09 01:06:19 +01:00
Eric Caspole
32d78c46dc
8215572: Add new Arrays micros
...
New micros for mismatch and fill
Reviewed-by: kvn, vlivanov
2019-01-02 13:37:55 -05:00
Adam Petcher
df05de6ea7
8215643: Microbenchmarks for KeyAgreement and Cipher
...
Adding some missing microbenchmarks for crypto algorithms
Reviewed-by: jnimeh
2019-01-02 13:06:04 -05:00
Michihiro Horie
31fbc28af5
8213754: PPC64: Add Intrinsics for isDigit/isLowerCase/isUpperCase/isWhitespace
...
Reviewed-by: kvn, rriggs, mdoerr, gromero
2018-12-11 20:31:18 -05:00
Eric Caspole
b29a8205f1
8215140: Port missing crypto JMH micros from jmh-jdk-microbenchmarks
...
Reviewed-by: redestad
2018-12-11 14:09:55 -05:00
Claes Redestad
7a30c97753
8061281: Microbenchmark suite build support, directory layout and sample benchmarks
...
8061282: Migrate jmh-jdk-microbenchmarks into the JDK
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Staffan Friberg <sfriberg@kth.se>
Reviewed-by: ecaspole, mchung, erikj, ihse
2018-11-16 23:39:51 +01:00