Commit Graph

555 Commits

Author SHA1 Message Date
fabioromano1
367e0a6556 8334755: Asymptotically faster implementation of square root algorithm
Reviewed-by: rgiulietti
2024-08-03 13:08:54 +00:00
Chen Liang
93c19ac73c 8337219: AccessFlags factories do not require necessary arguments
Reviewed-by: asotona
2024-07-30 17:41:49 +00:00
Shaojin Wen
8081f8702a 8334342: Add MergeStore JMH benchmarks
Reviewed-by: epeter, thartmann
2024-07-25 09:16:32 +00:00
Shaojin Wen
0898ab7f74 8336741: Optimize LocalTime.toString with StringBuilder.repeat
Reviewed-by: liach, rriggs, naoto
2024-07-24 22:39:49 +00:00
Claes Redestad
e83b4b236e 8335182: Consolidate and streamline String concat code shapes
Reviewed-by: liach, jvernee
2024-07-23 11:50:57 +00:00
lingjun.cg
4da9915875 8333396: Use StringBuilder internally for java.text.Format.* formatting
Reviewed-by: naoto, liach, jlu
2024-07-22 02:01:08 +00:00
Jorn Vernee
7bf5313244 8335480: Only deoptimize threads if needed when closing shared arena
Reviewed-by: mcimadamore, kvn, uschindler, vlivanov, eosterlund
2024-07-18 11:00:39 +00:00
Chen Liang
a9f5e76a65 8335905: CompoundElement API cleanup
Reviewed-by: asotona
2024-07-14 15:01:51 +00:00
Sean Gwizdak
8ba9bc6f17 8332249: Micro-optimize Method.hashCode
Reviewed-by: liach
2024-07-12 21:49:51 +00:00
Chen Liang
0db9bc57de 8335290: Rename ClassFile::transform to ClassFile::transformClass
Reviewed-by: asotona
2024-07-03 05:03:56 +00:00
Shaojin Wen
9d20b58f40 8334328: Reduce object allocation for FloatToDecimal and DoubleToDecimal
Reviewed-by: redestad, rgiulietti
2024-06-27 05:13:30 +00:00
Emanuel Peter
8374d16504 8335006: C2 SuperWord: add JMH benchmark VectorLoadToStoreForwarding.java
Reviewed-by: shade, kvn, sviswanathan
2024-06-26 14:12:44 +00:00
Quan Anh Mai
933eababf2 8334629: [BACKOUT] PhaseIdealLoop::conditional_move is too conservative
Reviewed-by: epeter, thartmann, jkarthikeyan
2024-06-25 17:10:20 +00:00
Hamlin Li
cae94b268d 8334397: RISC-V: verify perf of ReverseBytesS/US
Reviewed-by: fyang, luhenry
2024-06-25 14:06:03 +00:00
Amit Kumar
5a8a9fdfa5 8333382: [s390x] Enhance popcnt Instruction to use Z15 facilities
Reviewed-by: lucy, aph
2024-06-12 13:24:58 +00:00
Kuai Wei
2a242db01e 8325821: [REDO] use "dmb.ishst+dmb.ishld" for release barrier
Reviewed-by: shade, aph
2024-06-10 12:57:03 +00:00
Scott Gibbons
8e72d7cf8e 8320448: Accelerate IndexOf using AVX2
Reviewed-by: epeter, kvn, sviswanathan
2024-06-07 17:02:14 +00:00
Adam Sotona
d85b0ca5cd 8332457: Examine startup overheads from JDK-8294961
8229959: Convert proxy class to use constant dynamic

Reviewed-by: liach, redestad
2024-06-05 15:33:03 +00:00
John Engebretson
27af19d921 8332586: Avoid cloning empty arrays in java.lang.reflect.{Method,Constructor}
Reviewed-by: shade, rriggs, liach
2024-06-03 13:38:48 +00:00
Alan Bateman
707154235b 8331189: Implementation of Scoped Values (Third Preview)
Reviewed-by: aph, jpai, mcimadamore
2024-05-30 15:41:56 +00:00
Martin Doerr
9ac8d05a25 8332228: TypePollution.java: Unrecognized VM option 'UseSecondarySuperCache'
Reviewed-by: chagedorn, kvn
2024-05-28 20:00:14 +00:00
Alan Bateman
0f3e2cc334 8331670: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal
Reviewed-by: mcimadamore, jpai, pminborg
2024-05-28 15:05:54 +00:00
Claes Redestad
2581935b47 8332528: Generate code in SwitchBootstraps.generateTypeSwitch that require fewer adaptations
Reviewed-by: liach, jlahoda
2024-05-23 12:26:19 +00:00
Jaikiran Pai
98f6a80852 8332490: JMH org.openjdk.bench.java.util.zip.InflaterInputStreams.inflaterInputStreamRead OOM
Reviewed-by: aturbanov, redestad
2024-05-23 01:03:19 +00:00
Volodymyr Paprotski
afed7d0b05 8329538: Accelerate P256 on x86_64 using Montgomery intrinsic
Reviewed-by: ihse, ascarpino, sviswanathan
2024-05-22 16:27:27 +00:00
Claes Redestad
0b0445be28 8331724: Refactor j.l.constant implementation to internal package
Reviewed-by: liach, asotona
2024-05-17 09:49:44 +00:00
Daniel Jeliński
beea5305b0 8331907: BigInteger and BigDecimal should use optimized division
Reviewed-by: rgiulietti, bpb
2024-05-14 05:01:51 +00:00
Maurizio Cimadamore
1c5f1501ac 8331734: Atomic MemorySegment VarHandle operations fails for element layouts
Reviewed-by: pminborg, psandoz
2024-05-10 16:22:28 +00:00
Chen Liang
784b8fce7a 8331744: java.lang.classfile.TypeKind improvements
Reviewed-by: asotona, redestad
2024-05-10 10:50:51 +00:00
Adam Sotona
ae82405ff7 8323058: Revisit j.l.classfile.CodeBuilder API surface
Reviewed-by: briangoetz, psandoz
2024-05-02 10:08:29 +00:00
Tobias Hartmann
d3bf52628e 8331518: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: dholmes
2024-05-02 07:49:12 +00:00
Claes Redestad
c3372c4555 8331134: Port SimpleStringBuilderStrategy to use ClassFile API
Reviewed-by: mchung
2024-04-27 12:13:53 +00:00
Claes Redestad
a078b5e611 8331114: Further improve performance of MethodTypeDesc::descriptorString
Reviewed-by: mchung, liach
2024-04-27 12:12:51 +00:00
Claes Redestad
8bbd7251a5 8331187: Optimize MethodTypeDesc and ClassDesc.ofDescriptor for primitive types
Reviewed-by: jvernee, liach
2024-04-26 14:06:53 +00:00
Claes Redestad
5e2ced4b9e 8327247: C2 uses up to 2GB of RAM to compile complex string concat in extreme cases
Reviewed-by: mchung, shade
2024-04-26 12:36:55 +00:00
Adam Sotona
ef745a6c6e 8331097: Tests build is broken after pr/18914
Reviewed-by: alanb
2024-04-25 08:09:52 +00:00
Joshua Cao
1d06170758 8300148: Consider using a StoreStore barrier instead of Release barrier on ctor exit
Reviewed-by: shade, kvn, dlong
2024-04-24 17:06:45 +00:00
Per Minborg
e923dfe4c5 8314592: Add shortcut to SymbolLookup::find
Reviewed-by: jvernee, prr
2024-04-24 11:56:44 +00:00
Emanuel Peter
3ccb64c021 8318446: C2: optimize stores into primitive arrays by combining values into larger store
Reviewed-by: kvn, thartmann
2024-04-24 06:44:14 +00:00
Scott Gibbons
bd67ac69a2 8329331: Intrinsify Unsafe::setMemory
Reviewed-by: sviswanathan, jbhateja, kvn
2024-04-21 23:24:46 +00:00
Jatin Bhateja
185e711bfe 8318650: Optimized subword gather for x86 targets.
Reviewed-by: sviswanathan, epeter, psandoz
2024-04-21 23:21:17 +00:00
Maurizio Cimadamore
03e84178eb 8329948: Remove string template feature
Reviewed-by: jlahoda
2024-04-17 14:10:28 +00:00
Andrew Haley
f11a496de6 8180450: secondary_super_cache does not scale well
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org>
Reviewed-by: kvn, vlivanov, dlong
2024-04-16 14:21:48 +00:00
Viktor Klang
8a5b86c529 8196106: Support nested infinite or recursive flat mapped streams
Reviewed-by: psandoz
2024-04-16 11:09:59 +00:00
Cesar Soares Lucas
a887fd2144 8316991: Reduce nullable allocation merges
Reviewed-by: kvn, vlivanov
2024-04-08 23:13:38 +00:00
vamsi-parasa
7e5ef79f95 8323116: [REDO] Computational test more than 2x slower when AVX instructions are used
Reviewed-by: sviswanathan, kvn
2024-04-08 18:41:32 +00:00
Jasmine Karthikeyan
9f920b9bbf 8324655: Identify integer minimum and maximum patterns created with if statements
Reviewed-by: epeter, qamai
2024-03-25 06:23:11 +00:00
Afshin Zafari
71f9c4e7fd 8320534: fatal error for the NMTBenchmark test run for the mainline build
Reviewed-by: stuefe, aboldtch
2024-03-15 14:52:15 +00:00
Magnus Ihse Bursie
cc9a8aba67 8327460: Compile tests with the same visibility rules as product code
Reviewed-by: erikj, jvernee, dholmes, alanb
2024-03-13 08:09:22 +00:00
vamsi-parasa
7c5e6e74c8 8327147: Improve performance of Math ceil, floor, and rint for x86
Reviewed-by: jbhateja, sviswanathan, dlong
2024-03-07 21:44:46 +00:00
Adam Sotona
0583f73574 8323183: ClassFile API performance improvements
Reviewed-by: redestad
2024-03-04 15:26:27 +00:00
Claes Redestad
9a9cfbe0ba 8325340: Add ASCII fast-path to Data-/ObjectInputStream.readUTF
Reviewed-by: rgiulietti, bpb, rriggs
2024-02-26 16:05:18 +00:00
Claes Redestad
5f16f342d9 8326370: Remove redundant and misplaced micros from StringBuffers
Reviewed-by: shade
2024-02-21 11:19:37 +00:00
Claes Redestad
d2590c69b4 8325730: StringBuilder.toString allocation for the empty String
Reviewed-by: jlaskey, shade
2024-02-20 20:28:55 +00:00
Afshin Zafari
3d851033e9 8316813: NMT: Using WhiteBox API, virtual memory tracking should also be stressed in JMH tests
Reviewed-by: jsjolen, gziemski, stuefe
2024-02-16 08:27:19 +00:00
Stefan Johansson
130f429c6f 8325403: Add SystemGC JMH benchmarks
Reviewed-by: ecaspole, ayang, tschatzl
2024-02-14 14:59:34 +00:00
Tobias Hartmann
ea98de63f7 8325449: [BACKOUT] use "dmb.ishst+dmb.ishld" for release barrier
Reviewed-by: chagedorn
2024-02-14 07:34:28 +00:00
Oli Gillespie
8ef918d667 8324646: Avoid Class.forName in SecureRandom constructor
Reviewed-by: shade, weijun
2024-02-09 14:38:09 +00:00
Shaojin Wen
50b17d9846 8316704: Regex-free parsing of Formatter and FormatProcessor specifiers
Reviewed-by: redestad, rgiulietti
2024-02-06 15:16:40 +00:00
Claes Redestad
19e92201b4 8325169: Reduce String::indexOf overheads
Reviewed-by: rriggs, rgiulietti, mli
2024-02-05 16:30:05 +00:00
Mark Powers
38c01971ff 8318105: [jmh] the test java.security.HSS failed with 2 active threads
Reviewed-by: ascarpino
2024-02-02 16:30:46 +00:00
Aggelos Biboudis
1733d2ea24 8303374: Implement JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview)
Co-authored-by: Jan Lahoda <jlahoda@openjdk.org>
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Gavin Bierman <gbierman@openjdk.org>
Co-authored-by: Brian Goetz <briangoetz@openjdk.org>
Co-authored-by: Raffaello Giulietti <rgiulietti@openjdk.org>
Co-authored-by: Aggelos Biboudis <abimpoudis@openjdk.org>
Reviewed-by: vromero, jlahoda
2024-01-31 14:18:13 +00:00
Kuai Wei
628348d3e9 8324186: Use "dmb.ishst+dmb.ishld" for release barrier
Reviewed-by: fyang, aph
2024-01-29 09:33:22 +00:00
Jatin Bhateja
6d36eb78ad 8322768: Optimize non-subword vector compress and expand APIs for AVX2 target.
Reviewed-by: epeter, sviswanathan
2024-01-25 10:07:50 +00:00
Joshua Cao
c432dc008b 8322149: ConcurrentHashMap smarter presizing for copy constructor and putAll
Reviewed-by: shade, simonis
2024-01-24 18:52:38 +00:00
Claes Redestad
3e19bf88d5 8323529: Relativize test image dependencies in microbenchmarks
Reviewed-by: mcimadamore, jvernee, erikj
2024-01-12 10:00:37 +00:00
Pavel Rappo
49e6121347 8310813: Simplify and modernize equals, hashCode, and compareTo for BigInteger
Reviewed-by: rriggs, redestad, rgiulietti
2024-01-11 21:48:58 +00:00
Tobias Hartmann
ed9f3243f0 8322985: [BACKOUT] 8318562: Computational test more than 2x slower when AVX instructions are used
Reviewed-by: chagedorn, shade
2024-01-05 15:40:32 +00:00
John Jiang
06dd735342 8322766: Micro bench SSLHandshake should use default algorithms
Reviewed-by: djelinski
2024-01-03 08:27:42 +00:00
Quan Anh Mai
ac968c36d7 8319451: PhaseIdealLoop::conditional_move is too conservative
Reviewed-by: redestad, thartmann, kvn
2023-12-19 10:39:50 +00:00
Sergey Tsypanov
8a0a6f8c25 8321279: Implement hashCode() in Heap-X-Buffer.java.template
Reviewed-by: alanb, bpb
2023-12-13 09:10:11 +00:00
Anthony Scarpino
dc9c77bebe 8318756: Create better internal buffer for AEADs
Reviewed-by: djelinski
2023-12-06 18:09:10 +00:00
Jatin Bhateja
2678e4cd94 8319111: Mismatched MemorySegment heap access is not consistently intrinsified
Reviewed-by: sviswanathan, psandoz, thartmann
2023-12-06 09:58:06 +00:00
Roger Riggs
155abc576a 8311906: Improve robustness of String constructors with mutable array inputs
Co-authored-by: Damon Fenacci <dfenacci@openjdk.org>
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Co-authored-by: Amit Kumar <amitkumar@openjdk.org>
Co-authored-by: Martin Doerr <mdoerr@openjdk.org>
Reviewed-by: rgiulietti, thartmann, redestad, dfenacci
2023-12-04 18:28:59 +00:00
Eric Liu
9b8eaa2fc3 8319872: AArch64: [vectorapi] Implementation of unsigned (zero extended) casts
Reviewed-by: aph, xgong
2023-12-04 08:14:57 +00:00
Adam Sotona
2b00ac0d02 8308753: Class-File API transition to Preview
Reviewed-by: ihse, mchung, vromero
2023-12-04 07:07:57 +00:00
Jorn Vernee
3b30095a63 8321130: Microbenchmarks do not build any more after 8254693 on 32 bit platforms
Reviewed-by: mcimadamore, tschatzl
2023-12-01 13:11:07 +00:00
Viktor Klang
33b26f79a9 8319123: Implement JEP 461: Stream Gatherers (Preview)
Reviewed-by: tvaleev, alanb, psandoz
2023-11-30 14:45:23 +00:00
Jorn Vernee
a5ccd3beaf 8267532: C2: Profile and prune untaken exception handlers
8310011: Arena with try-with-resources is slower than it should be

Reviewed-by: thartmann, vlivanov
2023-11-28 10:17:58 +00:00
steveatgh
82967f45db 8310159: Bulk copy with Unsafe::arrayCopy is slower compared to memcpy
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: thartmann, jbhateja, sviswanathan
2023-11-27 17:35:39 +00:00
Sandhya Viswanathan
0881f2b0c4 8318562: Computational test more than 2x slower when AVX instructions are used
Reviewed-by: kvn
2023-11-17 20:10:17 +00:00
Jorn Vernee
9c98270737 8254693: Add Panama feature to pass heap segments to native code
Reviewed-by: mcimadamore, lucy, vlivanov
2023-11-14 11:19:30 +00:00
Daniel Jeliński
1535528cb1 8318479: [jmh] the test security.CacheBench failed for multiple threads run
Reviewed-by: redestad
2023-11-14 09:53:23 +00:00
Claes Redestad
7d25f1c6cb 8319423: Improve Year.isLeap by checking divisibility by 16
Reviewed-by: naoto, rriggs
2023-11-08 15:18:53 +00:00
Per Minborg
ac0ee20a38 8319613: Complier error in benchmark TestLoadSegmentVarious
Reviewed-by: jpai, stefank
2023-11-07 11:04:43 +00:00
Per Minborg
74f1889b58 8318678: Vector access on heap MemorySegments only works for byte[]
Reviewed-by: chegar, mcimadamore, psandoz
2023-11-07 09:46:45 +00:00
Martin Doerr
99efcded6c 8317545: AIX PPC64: Implementation of Foreign Function & Memory API
Reviewed-by: jvernee
2023-11-02 13:13:46 +00:00
Viktor Klang
e05cafda78 8318467: [jmh] tests concurrent.Queues and concurrent.ProducerConsumer hang with 101+ threads
Reviewed-by: alanb
2023-10-31 11:14:08 +00:00
Sean Coffey
8d9a4b43f4 8317678: Fix up hashCode() for ZipFile.Source.Key
Reviewed-by: lancea, alanb, jpai
2023-10-23 17:12:41 +00:00
Ilya Gavrilin
5a97411f85 8317971: RISC-V: implement copySignF/D and signumF/D intrinsics
Reviewed-by: fyang, vkempik
2023-10-20 14:31:41 +00:00
Maurizio Cimadamore
848ecc1621 8318538: Add a way to obtain a strided var handle from a layout
Reviewed-by: jvernee, pminborg
2023-10-20 10:35:09 +00:00
Afshin Zafari
138437f2cf 8314438: NMT: Performance benchmarks are needed to have a baseline for comparison of improvements
Reviewed-by: gziemski, ihse
2023-10-20 08:33:40 +00:00
Chen Liang
4812cabaa4 8316587: Use ArraysSupport.vectorizedHashCode in Utf8EntryImpl
Reviewed-by: asotona, redestad
2023-10-20 07:36:27 +00:00
Aleksey Shipilev
6fc3514231 8318363: Foreign benchmarks fail to build on some platforms
Reviewed-by: jvernee, mcimadamore
2023-10-18 10:30:45 +00:00
Erik Gahlin
6aa837eee6 8316927: JFR: Move shouldCommit check earlier for socket events
Reviewed-by: alanb, dfuchs, mgronlun
2023-10-17 13:11:52 +00:00
Jasmine Karthikeyan
36993aea9a 8316918: Optimize conversions duplicated across phi nodes
Reviewed-by: thartmann, kvn
2023-10-16 12:52:01 +00:00
Jorn Vernee
b12c471a99 8317837: Leftover FFM implementation-only changes
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: mcimadamore
2023-10-13 19:05:47 +00:00
Jorn Vernee
32ac72c3d3 8312522: Implementation of Foreign Function & Memory API
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: dholmes, psandoz, mcimadamore, alanb
2023-10-12 19:50:08 +00:00
wenshao
935543146b 8316426: Optimization for HexFormat.formatHex
Reviewed-by: liach, rriggs
2023-10-12 13:54:09 +00:00
vamsi-parasa
a4e9168bab 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays)
Reviewed-by: jbhateja, sviswanathan, psandoz, kvn
2023-10-06 20:15:30 +00:00