Commit Graph

167 Commits

Author SHA1 Message Date
Claes Redestad
e83b4b236e 8335182: Consolidate and streamline String concat code shapes
Reviewed-by: liach, jvernee
2024-07-23 11:50:57 +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
Sean Gwizdak
8ba9bc6f17 8332249: Micro-optimize Method.hashCode
Reviewed-by: liach
2024-07-12 21:49:51 +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
Hamlin Li
cae94b268d 8334397: RISC-V: verify perf of ReverseBytesS/US
Reviewed-by: fyang, luhenry
2024-06-25 14:06: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
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
Claes Redestad
0b0445be28 8331724: Refactor j.l.constant implementation to internal package
Reviewed-by: liach, asotona
2024-05-17 09:49:44 +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
Per Minborg
e923dfe4c5 8314592: Add shortcut to SymbolLookup::find
Reviewed-by: jvernee, prr
2024-04-24 11:56:44 +00:00
Scott Gibbons
bd67ac69a2 8329331: Intrinsify Unsafe::setMemory
Reviewed-by: sviswanathan, jbhateja, kvn
2024-04-21 23:24:46 +00:00
Maurizio Cimadamore
03e84178eb 8329948: Remove string template feature
Reviewed-by: jlahoda
2024-04-17 14:10:28 +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
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
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
Claes Redestad
3e19bf88d5 8323529: Relativize test image dependencies in microbenchmarks
Reviewed-by: mcimadamore, jvernee, erikj
2024-01-12 10:00:37 +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
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
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
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
Martin Doerr
99efcded6c 8317545: AIX PPC64: Implementation of Foreign Function & Memory API
Reviewed-by: jvernee
2023-11-02 13:13:46 +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
Aleksey Shipilev
6fc3514231 8318363: Foreign benchmarks fail to build on some platforms
Reviewed-by: jvernee, mcimadamore
2023-10-18 10:30:45 +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
Swati Sharma
b438cffdb9 8314085: Fixing scope from benchmark to thread for JMH tests having shared state
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: sviswanathan, ecaspole
2023-10-03 16:01:36 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Mandy Chung
d75d9774c8 8285447: StackWalker minimal batch size should be optimized for getCallerClass
Reviewed-by: simonis
2023-09-12 16:24:16 +00:00
Mandy Chung
111ecdbaf5 8268829: Provide an optimized way to walk the stack with Class object only
8210375: StackWalker::getCallerClass throws UnsupportedOperationException

Reviewed-by: coleenp, dfuchs, bchristi
2023-09-07 21:37:40 +00:00
Jorn Vernee
509f80bb04 8313889: Fix -Wconversion warnings in foreign benchmarks
Reviewed-by: pminborg, mcimadamore
2023-08-08 13:59:35 +00:00
Chen Liang
201e3bcf52 8291065: Creating a VarHandle for a static field triggers class initialization
Reviewed-by: mchung, psandoz
2023-07-18 00:58:25 +00:00
Swati Sharma
a03a3a43bb 8311178: JMH tests don't scale well when sharing output buffers
Co-authored-by: Vladimir Ivanov <vaivanov@openjdk.org>
Reviewed-by: ecaspole, sviswanathan, mli
2023-07-11 16:14:33 +00:00
Alan Bateman
f1c7afcc3f 8306647: Implementation of Structured Concurrency (Preview)
8306572: Implementation of Scoped Values (Preview)

Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: psandoz, dfuchs, mchung
2023-06-07 06:41:09 +00:00
Chen Liang
38cef2adbd 8309413: Improve the performance of MethodTypeDesc::descriptorString
8304932: MethodTypeDescImpl can be mutated by argument passed to MethodTypeDesc.of

Reviewed-by: mchung
2023-06-06 15:56:36 +00:00