Commit graph

1264 commits

Author SHA1 Message Date
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
Jonathan Gibbons
10eb1cb639 8331879: Clean up non-standard use of /// comments in java.base
Reviewed-by: naoto, iris, darcy
2024-05-31 22:16:35 +00:00
Brent Christian
2cae9a0397 8314480: Memory ordering spec updates in java.lang.ref
Reviewed-by: dholmes, alanb, darcy
2024-05-31 21:29:30 +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
Erik Gahlin
4a20691e9b 8331876: JFR: Move file read and write events to java.base
Reviewed-by: mgronlun, alanb
2024-05-30 13:32:57 +00:00
Chen Liang
f608918df3 8332614: Type-checked ConstantPool.entryByIndex and ClassReader.readEntryOrNull
Reviewed-by: asotona
2024-05-30 11:51:49 +00:00
Pavel Rappo
3cff588a31 8332826: Make hashCode methods in ArraysSupport friendlier
Reviewed-by: redestad, liach
2024-05-30 09:33:30 +00:00
Adam Sotona
579cf705ff 8332597: Remove redundant methods from j.l.classfile.ClassReader API
Reviewed-by: liach, jlahoda
2024-05-30 06:12:50 +00:00
Maurizio Cimadamore
c003c1207f 8331865: Consolidate size and alignment checks in LayoutPath
Reviewed-by: psandoz, jvernee
2024-05-29 11:12:30 +00:00
Vicente Romero
7bf1989f59 8320575: generic type information lost on mandated parameters of record's compact constructors
Co-authored-by: Chen Liang <liach@openjdk.org>
Reviewed-by: jlahoda
2024-05-24 20:43:23 +00:00
Adam Sotona
cfdc64fcb4 8331291: java.lang.classfile.Attributes class performs a lot of static initializations
Reviewed-by: liach, redestad, vromero
2024-05-24 15:58:34 +00:00
Per Minborg
0a9d1f8c89 8332749: Broken link in MemorySegment.Scope.html
Reviewed-by: iris
2024-05-23 18:13:23 +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
Chen Liang
414a7fdc5e 8311175: Move BufWriter::asByteBuffer to BufWriterImpl
Reviewed-by: asotona
2024-05-21 08:02:18 +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
30bb066b19 8332003: Clarify javadoc for MemoryLayout::offsetHandle
Reviewed-by: psandoz
2024-05-15 14:39:51 +00:00
Chen Liang
adaa509b6e 8327499: MethodHandleStatics.traceLambdaForm includes methods that cannot be generated
Reviewed-by: redestad, iklam
2024-05-13 09:11:49 +00:00
Alan Bateman
32c7681cf3 8332029: Provide access to initial value of stderr via JavaLangAccess
Reviewed-by: jpai, bpb, mcimadamore
2024-05-11 07:36:52 +00:00
Chen Liang
784b8fce7a 8331744: java.lang.classfile.TypeKind improvements
Reviewed-by: asotona, redestad
2024-05-10 10:50:51 +00:00
Nizar Benalla
3b8227ba24 8326836: Incorrect @since tags for ClassSignature methods
Reviewed-by: asotona
2024-05-07 05:28:45 +00:00
Chen Liang
c60474b122 8323707: Adjust Classfile API's type arg model to better represent the embodied type
Reviewed-by: asotona
2024-05-03 11:08:33 +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
Claes Redestad
0630bb02eb 8331264: Reduce java.lang.constant initialization overhead
Reviewed-by: liach, mchung
2024-04-30 08:27:38 +00:00
Joe Darcy
4e5c25ee43 8331108: Unused Math.abs call in java.lang.FdLibm.Expm1#compute
Reviewed-by: naoto, bpb, rgiulietti
2024-04-28 22:55:44 +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
ea06129851 8322847: java.lang.classfile.BufWriter should specify @throws for its writeXXX methods
Reviewed-by: psandoz
2024-04-26 07:02:45 +00:00
Per Minborg
e923dfe4c5 8314592: Add shortcut to SymbolLookup::find
Reviewed-by: jvernee, prr
2024-04-24 11:56:44 +00:00
Jonathan Gibbons
9cc163a999 8330178: Clean up non-standard use of /** comments in java.base
Reviewed-by: darcy, iris, dfuchs, aivanov, naoto
2024-04-23 18:43:36 +00:00
Alan Bateman
412e306d81 8329593: Drop adjustments to target parallelism when virtual threads do I/O on files opened for buffered I/O
Reviewed-by: bpb, jpai
2024-04-23 16:10:13 +00:00
Claes Redestad
35b30c81e0 8330595: Invoke ObjectMethods::bootstrap method exactly
Reviewed-by: mchung
2024-04-22 08:55:46 +00:00
Claes Redestad
3d62bbf4f2 8330681: Explicit hashCode and equals for java.lang.runtime.SwitchBootstraps$TypePairs
Reviewed-by: jlahoda, mchung
2024-04-22 08:54:29 +00:00
Joe Darcy
235ba9a702 8330458: Add missing @since tag to ClassFile.JAVA_23_VERSION
Reviewed-by: jjg, iris, asotona
2024-04-18 16:12:50 +00:00
Per Minborg
b648ed0a08 8329997: Add provisions for checking memory segment alignment constraints
Reviewed-by: jvernee, mcimadamore
2024-04-18 11:22:47 +00:00
Adam Sotona
706b421cca 8330467: NoClassDefFoundError when lambda is in a hidden class
Reviewed-by: psandoz, mchung
2024-04-18 05:50:24 +00:00
Maurizio Cimadamore
03e84178eb 8329948: Remove string template feature
Reviewed-by: jlahoda
2024-04-17 14:10:28 +00:00
Per Minborg
e4021adb28 8330272: Wrong javadoc for ValueLayout.JAVA_LONG/JAVA_DOUBLE on x86 32bit
Reviewed-by: mcimadamore, jvernee
2024-04-17 09:26:26 +00:00
Adam Sotona
97c180892b 8329099: Undocumented exception thrown by Instruction factory methods accepting Opcode
Reviewed-by: briangoetz
2024-04-16 08:23:31 +00:00
Per Minborg
60d88b7ae2 8330176: Typo in Linker javadoc
Reviewed-by: mcimadamore
2024-04-15 12:42:31 +00:00
Adam Sotona
f9bc2db9a9 8325371: Missing ClassFile.Option in package summary
Reviewed-by: briangoetz
2024-04-09 14:41:39 +00:00
Adam Sotona
71c5bbcec7 8329527: Opcode.IFNONNULL.primaryTypeKind() is not ReferenceType
Reviewed-by: jlahoda
2024-04-09 09:35:07 +00:00
Roger Riggs
212a253697 8329623: NegativeArraySizeException encoding large String to UTF-8
Reviewed-by: naoto, rgiulietti
2024-04-08 17:58:21 +00:00
Naoto Sato
8a0ef811ed 8326627: Document Double/Float.valueOf(String) behavior for numeric strings with non-ASCII digits
Reviewed-by: iris, jlu
2024-03-29 17:55:57 +00:00
Weijun Wang
d32746ef4a 8296244: Alternate implementation of user-based authorization Subject APIs that doesn’t depend on Security Manager APIs
Reviewed-by: mullan
2024-03-20 21:25:41 +00:00
Per Minborg
c59c41aa6e 8326941: Remove StringUTF16::isBigEndian
Reviewed-by: rriggs
2024-03-19 08:46:51 +00:00
Aggelos Biboudis
fb390d202c 8327839: Crash with unboxing and widening primitive conversion in switch
Reviewed-by: jlahoda
2024-03-18 13:16:29 +00:00
Calvin Cheung
41450e9405 8314250: CDS dump error message: Invoker type parameter must start and end with Object: L3I_L
Reviewed-by: iklam, matsaave
2024-03-11 20:49:20 +00:00
Ioi Lam
761ed250ec 8327138: Clean up status management in cdsConfig.hpp and CDS.java
Reviewed-by: ccheung, matsaave
2024-03-09 03:48:38 +00:00