Commit Graph

274 Commits

Author SHA1 Message Date
Claes Redestad
e314a4cfda 8280124: Reduce branches decoding latin-1 chars from UTF-8 encoded bytes
Reviewed-by: rriggs, alanb, naoto
2022-01-18 19:28:12 +00:00
Jesper Wilhelmsson
39f140a201 Merge 2022-01-18 01:56:50 +00:00
Claes Redestad
71ca85f5a6 8278831: Use table lookup for the last two bytes in Integer.getChars
Reviewed-by: jlaskey, rriggs
2022-01-17 11:01:55 +00:00
Maurizio Cimadamore
c6b027559c 8279930: Synthetic cast causes generation of store barriers when using heap segments
Reviewed-by: psandoz
2022-01-14 11:15:16 +00:00
Naoto Sato
064ee6ae13 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java
Backport-of: 8dc4437d00
2022-01-13 22:05:52 +00:00
Claes Redestad
ff85659311 8279833: Loop optimization issue in String.encodeUTF8_UTF16
Reviewed-by: rriggs
Backport-of: c3d0a94040
2022-01-13 15:25:16 +00:00
Patric Hedlin
ddddec7d74 8274243: Implement fast-path for ASCII-compatible CharsetEncoders on aarch64
Reviewed-by: neliasso, redestad
2022-01-12 15:30:54 +00:00
Vamsi Parasa
c4518e257c 8278868: Add x86 vectorization support for Long.bitCount()
Reviewed-by: jbhateja, sviswanathan, kvn
2022-01-11 18:47:42 +00:00
Claes Redestad
c3d0a94040 8279833: Loop optimization issue in String.encodeUTF8_UTF16
Reviewed-by: shade, alanb
2022-01-11 14:49:03 +00:00
Jesper Wilhelmsson
d9b1bb5860 Merge 2022-01-10 17:06:23 +00:00
Maurizio Cimadamore
d65c665839 8279527: Dereferencing segments backed by different scopes leads to pollution
Reviewed-by: psandoz, jvernee
2022-01-07 13:41:29 +00:00
Jie Fu
6a42fbaf9b 8279258: Auto-vectorization enhancement for two-dimensional array operations
Reviewed-by: neliasso, kvn
2022-01-07 00:04:51 +00:00
Jatin Bhateja
8703f14808 8273322: Enhance macro logic optimization for masked logic operations.
Reviewed-by: kvn, sviswanathan
2022-01-06 18:41:06 +00:00
Jesper Wilhelmsson
844dfb3ab6 Merge 2022-01-06 01:26:50 +00:00
Maurizio Cimadamore
9d43d25da8 8278897: Alignment of heap segments is not enforced correctly
Reviewed-by: jvernee
2022-01-05 10:47:34 +00:00
Zhiqiang Zang
f326305396 8278114: New addnode ideal optimization: converting "x + x" into "x << 1"
Reviewed-by: kvn, redestad
2022-01-05 00:38:59 +00:00
Naoto Sato
8dc4437d00 8278434: timeouts in test java/time/test/java/time/format/TestZoneTextPrinterParser.java
Reviewed-by: joehw
2022-01-04 02:48:23 +00:00
Sergey Bylokhov
7fea10327e 8279134: Fix Amazon copyright in various files
Reviewed-by: xliu, phh
2021-12-26 22:10:54 +00:00
Vladimir Kozlov
a1dfe57249 8276455: C2: iterative EA
Reviewed-by: iveresov, neliasso, roland
2021-12-14 19:24:13 +00:00
Jatin Bhateja
0113322ac1 8277997: Intrinsic creation for VectorMask.fromLong API
Reviewed-by: psandoz, kvn, sviswanathan
2021-12-10 01:49:20 +00:00
Zhiqiang Zang
352435581e 8277882: New subnode ideal optimization: converting "c0 - (x + c1)" into "(c0 - c1) - x"
Reviewed-by: dlong, iveresov
2021-12-09 00:18:59 +00:00
vamsi-parasa
38f525e96e 8275821: Optimize random number generators developed in JDK-8248862 using Math.unsignedMultiplyHigh()
Reviewed-by: psandoz, jlaskey
2021-12-03 18:17:54 +00:00
Scott Gibbons
e0f1fc783c 8277358: Accelerate CRC32-C
Co-authored-by: Greg Tucker <greg.b.tucker@intel.com>
Co-authored-by: Scott Gibbons <sgibbons@openjdk.org>
Reviewed-by: kvn, sviswanathan, ecaspole
2021-12-02 20:06:05 +00:00
Maurizio Cimadamore
ea905bd3da 8277924: Small tweaks to foreign function and memory API
Reviewed-by: jvernee, psandoz
2021-12-02 11:22:31 +00:00
Xin Liu
21d9ca6cd9 8274983: C1 optimizes the invocation of private interface methods
Reviewed-by: dlong, iveresov
2021-11-30 18:55:24 +00:00
Stuart Monteith
3383c0dcc0 8277659: [TESTBUG] Microbenchmark ThreadOnSpinWaitProducerConsumer.java hangs
Reviewed-by: njian, ngasson
2021-11-26 09:02:58 +00:00
Maurizio Cimadamore
96e36071b6 8275063: Implementation of Foreign Function & Memory API (Second incubator)
Reviewed-by: erikj, psandoz, jvernee, darcy
2021-11-24 11:51:16 +00:00
Vicente Romero
7b67a49f83 8261847: performance of java.lang.Record::toString should be improved
Reviewed-by: jlaskey, redestad
2021-11-23 15:23:23 +00:00
Volker Simonis
79350b9b4f 8276216: Negated character classes performance regression in Pattern
Reviewed-by: clanger
2021-11-23 09:15:20 +00:00
TatWai Chong
ca31ed5335 8275448: [REDO] AArch64: Implement string_compare intrinsic in SVE
Reviewed-by: ngasson, aph
2021-11-22 02:31:33 +00:00
Faye Gao
9aa30de4bb 8275317: AArch64: Support some type conversion vectorization in SLP
Reviewed-by: thartmann, ngasson
2021-11-17 08:19:46 +00:00
MeryKitty
f3eb5014aa 8276162: Optimise unsigned comparison pattern
Reviewed-by: thartmann, kvn
2021-11-16 14:09:53 +00:00
Evgeny Astigeevich
6954b98f8f 8186670: Implement _onSpinWait() intrinsic for AArch64
Reviewed-by: phh, aph
2021-11-11 22:23:35 +00:00
Claes Redestad
ce8c76700b 8276220: Reduce excessive allocations in DateTimeFormatter
Reviewed-by: scolebourne, naoto
2021-11-03 22:57:13 +00:00
Jie Fu
0ab910d626 8276066: Reset LoopPercentProfileLimit for x86 due to suboptimal performance
Reviewed-by: thartmann, kvn
2021-11-03 22:45:50 +00:00
Mandy Chung
c6339cb8a2 8271820: Implementation of JEP 416: Reimplement Core Reflection with Method Handle
8013527: calling MethodHandles.lookup on itself leads to errors

Co-authored-by: Peter Levart <plevart@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Mandy Chung <mchung@openjdk.org>
Reviewed-by: mcimadamore, plevart, egahlin, redestad, cjplummer, alanb
2021-10-28 18:32:50 +00:00
Aleksey Shipilev
5a768f75c9 8276054: JMH benchmarks for Fences
Reviewed-by: redestad
2021-10-28 17:32:39 +00:00
Jatin Bhateja
4be88d5482 8275047: Optimize existing fill stubs for AVX-512 target
Reviewed-by: kvn, redestad
2021-10-26 12:34:56 +00:00
vamsi-parasa
af7c56b85b 8275167: x86 intrinsic for unsignedMultiplyHigh
Reviewed-by: kvn, sviswanathan
2021-10-20 22:40:51 +00:00
Nick Gasson
333c4692d8 8275262: [BACKOUT] AArch64: Implement string_compare intrinsic in SVE
Reviewed-by: dholmes, tschatzl
2021-10-14 09:35:48 +00:00
TatWai Chong
8b1b6f9fb3 8269559: AArch64: Implement string_compare intrinsic in SVE
Reviewed-by: ngasson, aph
2021-10-14 05:27:12 +00:00
Sergey Tsypanov
df7b0c7077 8274715: Implement forEach in Collections.CopiesList
Reviewed-by: martin
2021-10-05 22:19:35 +00:00
Peter Levart
7ad74d82d7 8274299: Make Method/Constructor/Field accessors @Stable
Reviewed-by: redestad, mchung
2021-10-05 14:16:20 +00:00
Claes Redestad
aaa36cc006 8274242: Implement fast-path for ASCII-compatible CharsetEncoders on x86
Reviewed-by: naoto, thartmann
2021-09-29 12:58:14 +00:00
Kartik Ohri
2f8c2211c8 8273681: Add Vector API vs Arrays.mismatch intrinsic benchmark
Reviewed-by: psandoz
2021-09-17 15:12:34 +00:00
Sandhya Viswanathan
5aaa20f898 8272861: Add a micro benchmark for vector api
Reviewed-by: psandoz
2021-08-30 16:48:28 +00:00
Marcus G K Williams
87d2761f1b 8271883: Math CopySign optimization for x86
Reviewed-by: jbhateja, sviswanathan, kvn
2021-08-14 00:34:51 +00:00
Jatin Bhateja
020aec5318 8271366: [REDO] JDK-8266054 VectorAPI rotate operation optimization
Reviewed-by: sviswanathan, psandoz
2021-08-13 04:33:53 +00:00
Sergey Tsypanov
b29fbad940 8267844: Replace Integer/Long.valueOf() with Integer/Long.parse*() where applicable
Reviewed-by: redestad
2021-08-12 10:03:52 +00:00
Claes Redestad
a15b659278 8271732: Regression in StringBuilder.charAt bounds checking
Reviewed-by: alanb, naoto
2021-08-12 07:01:53 +00:00
Claes Redestad
55bd52a142 8271840: Add simple Integer.toString microbenchmarks
Reviewed-by: shade
2021-08-05 14:46:38 +00:00
Andrew Haley
6c68ce2d39 8270947: AArch64: C1: use zero_words to initialize all objects
Reviewed-by: ngasson, adinn
2021-07-30 18:02:11 +00:00
Vladimir Kozlov
d7b5cb6889 8271368: [BACKOUT] JDK-8266054 VectorAPI rotate operation optimization
Reviewed-by: dholmes, iklam
2021-07-28 06:58:36 +00:00
Jatin Bhateja
d994b93e21 8266054: VectorAPI rotate operation optimization
Reviewed-by: psandoz, sviswanathan
2021-07-28 02:18:17 +00:00
Clive Verghese
e627caec84 8270317: Large Allocation in CipherSuite
Reviewed-by: xuelei, simonis
2021-07-24 10:14:53 +00:00
Rado Smogura
1f51e13ea7 8270147: Increase stride size allowing unrolling more loops
Reviewed-by: kvn, iveresov
2021-07-21 05:05:13 +00:00
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
Anthony Scarpino
5832882492 8269827: JMH tests for AES/GCM byte[] and bytebuffers
Reviewed-by: ecaspole, weijun
2021-07-08 17:19:46 +00:00
Jesper Wilhelmsson
b0e186792e Merge 2021-07-02 01:07:50 +00:00
Roland Westrelin
c67a7b039d 8269230: C2: main loop in micro benchmark never executed
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: kvn, iveresov
2021-07-01 07:41:22 +00:00
Dongbo He
3b83bc1bc3 8268427: Improve AlgorithmConstraints:checkAlgorithm performance
Co-authored-by: GaofengZhang <zhanggaofeng9@huawei.com>
Reviewed-by: xuelei, ascarpino
2021-06-26 09:54:47 +00:00
Patricio Chilano Mateo
2fd7943ec1 8256425: Obsolete Biased Locking in JDK 18
Reviewed-by: kvn, dholmes, dcubed, rrich
2021-06-24 18:54:41 +00:00
Jatin Bhateja
b05c40ca3b 8266951: Partial in-lining for vectorized mismatch operation using AVX512 masked instructions
Reviewed-by: psandoz, vlivanov
2021-06-05 18:07:14 +00:00
Yi Yang
4e6748c543 8267687: ModXNode::Ideal optimization is better than Parse::do_irem
Reviewed-by: neliasso, kvn
2021-06-04 23:29:35 +00:00
Maurizio Cimadamore
59a539fef1 8268129: LibraryLookup::ofDefault leaks symbols from loaded libraries
Reviewed-by: jvernee, psandoz
2021-06-04 12:53:17 +00:00
Valerie Peng
136badb1f7 8248268: Support KWP in addition to KW
Reviewed-by: xuelei
2021-06-02 21:31:57 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Maurizio Cimadamore
a223189b06 8264774: Implementation of Foreign Function and Memory API (Incubator)
Co-authored-by: Paul Sandoz <psandoz@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Co-authored-by: Athijegannathan Sundararajan <sundar@openjdk.org>
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Reviewed-by: psandoz, chegar, mchung, vlivanov
2021-06-02 10:53:06 +00:00
Tagir F. Valeev
0c9daa7ed5 8265029: Preserve SIZED characteristics on slice operations (skip, limit)
Reviewed-by: psandoz
2021-05-28 01:56:38 +00:00
Jorn Vernee
3623abb7f6 8263087: Add a MethodHandle combinator that switches over a set of MethodHandles
Reviewed-by: redestad
2021-05-27 12:28:10 +00:00
Dongbo He
85f616522b 8267817: [TEST] Remove unnecessary init in test/micro/org/openjdk/bench/javax/crypto/full/AESGCMBench:setup
Reviewed-by: redestad
2021-05-27 11:49:25 +00:00
Xubo Zhang
8e3549fc73 8266332: Adler32 intrinsic for x86 64-bit platforms
Co-authored-by: Xubo Zhang <xubo.zhang@intel.com>
Co-authored-by: Greg B Tucker <greg.b.tucker@intel.com>
Co-authored-by: Pengfei Li <pli@openjdk.org>
Reviewed-by: sviswanathan, jbhateja, kvn, neliasso
2021-05-19 23:44:23 +00:00
Jatin Bhateja
88b114235c 8267357: build breaks with -Werror option on micro benchmark added for JDK-8256973
Reviewed-by: jiefu, neliasso, thartmann
2021-05-19 09:58:48 +00:00
Jatin Bhateja
7aa65685b8 8256973: Intrinsic creation for VectorMask query (lastTrue,firstTrue,trueCount) APIs
Reviewed-by: psandoz, vlivanov
2021-05-19 05:22:02 +00:00
Wang Huang
599d07c0db 8263006: Add optimization for Max(*)Node and Min(*)Node
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Wu Yan <wuyan34@huawei.com>
Reviewed-by: kvn
2021-05-14 17:16:28 +00:00
Harold Seigel
e14b026841 8243287: Removal of Unsafe::defineAnonymousClass
Reviewed-by: iklam, mchung, alanb, dholmes
2021-05-13 12:46:54 +00:00
Jason Zaugg
0a12605df8 8265448: (zipfs): Reduce read contention in ZipFileSystem
Reviewed-by: alanb, lancea
2021-05-11 18:06:37 +00:00
Brian Burkhalter
7a0a57cd56 8266820: micro java/nio/SelectorWakeup.java has wrong copyright header
Reviewed-by: chegar, alanb, michaelm, iris
2021-05-11 16:12:36 +00:00
Alan Bateman
be4f25b0c8 8266369: (se) Add wepoll based Selector
Reviewed-by: chegar, michaelm, vtewari, dfuchs, bpb
2021-05-08 07:14:36 +00:00
Marcus G K Williams
ff65920cd1 8265491: Math Signum optimization for x86
Reviewed-by: jiefu, jbhateja, neliasso
2021-05-03 16:28:14 +00:00
Hamlin Li
15d4787724 8265496: improve null check in DeflaterOutputStream/InflaterInputStream
Reviewed-by: lancea, naoto
2021-04-27 01:06:56 +00:00
Peter Levart
98cb81b381 8265237: String.join and StringJoiner can be improved further
Reviewed-by: rriggs, redestad
2021-04-21 10:32:03 +00:00
Jie Fu
b64a3fb946 8265325: Optimize StubRoutines::dpow() for Math.pow(x, 0.5)
Reviewed-by: kvn, neliasso
2021-04-19 10:45:20 +00:00
Dong Bo
77b16739ab 8256245: AArch64: Implement Base64 decoding intrinsic
Reviewed-by: aph, ngasson
2021-04-09 01:28:11 +00:00
Jorn Vernee
b7baca7f32 8264288: Performance issue with MethodHandle.asCollector
Reviewed-by: jrose, vlivanov
2021-04-05 20:05:07 +00:00
Jie Fu
c04a743bd4 8264557: Incorrect copyright year for test/micro/org/openjdk/bench/java/lang/MathBench.java after JDK-8264054
Reviewed-by: neliasso
2021-04-01 15:12:22 +00:00
Sandhya Viswanathan
52d8a22943 8264054: Bad XMM performance on java.lang.MathBench.sqrtDouble
Co-authored-by: Eric Caspole <ecaspole@openjdk.org>
Co-authored-by: Charlie Hunt <huntch@openjdk.org>
Reviewed-by: neliasso, kvn, vlivanov
2021-04-01 00:34:00 +00:00
Eric Caspole
6225ae636e 8264466: Cut-paste error in InterfaceCalls JMH
Reviewed-by: shade, thartmann
2021-03-31 15:20:05 +00:00
Claes Redestad
e152cc0312 8263677: Improve Character.isLowerCase/isUpperCase lookups
Reviewed-by: erikj, ihse, naoto, rriggs
2021-03-17 15:22:06 +00:00
Sergey Tsypanov
000012a3b0 8148937: (str) Adapt StringJoiner for Compact Strings
Reviewed-by: redestad, chegar
2021-03-17 13:34:58 +00:00
Claes Redestad
f71b21b0e7 8263038: Optimize String.format for simple specifiers
Reviewed-by: rriggs, naoto
2021-03-08 23:13:45 +00:00
Claes Redestad
13625bebd0 8263090: Avoid reading volatile fields twice in Locale.getDefault(Category)
Reviewed-by: rriggs, naoto, serb
2021-03-08 10:32:55 +00:00
djelinski
18fc35053c 8259886: Improve SSL session cache performance and scalability
Reviewed-by: erikj, xuelei
2021-03-07 01:13:24 +00:00
Eric Liu
382e38dd24 8256438: AArch64: Implement match rules with ROR shift register value
Reviewed-by: aph, roland
2021-02-24 09:49:53 +00:00
Claes Redestad
433096a45e 8261744: Implement CharsetDecoder ASCII and latin-1 fast-paths
Reviewed-by: naoto, alanb
2021-02-19 15:05:25 +00:00
Claes Redestad
8b6ab31d31 8261418: Reduce decoder creation overheads for sun.nio.cs.ext Charsets
Reviewed-by: naoto
2021-02-11 10:43:56 +00:00
Claes Redestad
2f893c2b83 8260337: Optimize ImageReader lookup, used by Class.getResource
Reviewed-by: jlaskey, sundar
2021-02-09 15:32:36 +00:00
Martin Buchholz
351d788809 8259074: regex benchmarks and tests
Reviewed-by: redestad
2021-02-08 18:09:59 +00:00
Claes Redestad
07918995da 8261154: Memory leak in Java_java_lang_ClassLoader_defineClass0 with long class names
Reviewed-by: stuefe, chegar, mchung
2021-02-05 08:58:32 +00:00
Sergey Bylokhov
f279ff9d2f 8261010: Delete the Netbeans "default" license header
Reviewed-by: iris, psadhukhan
2021-02-03 23:13:12 +00:00