3230 Commits

Author SHA1 Message Date
Shaojin Wen
5ecbecfbca 8338936: StringConcatFactory optimize the construction of MethodType and MethodTypeDesc
Reviewed-by: redestad, liach
2024-08-26 20:26:17 +00:00
Claes Redestad
3f00da84b3 8338906: Avoid passing EnumDescs and extra classes to type switch methods that don't use them
Reviewed-by: liach, jlahoda
2024-08-26 15:58:25 +00:00
Maurizio Cimadamore
20d8f58c92 8331671: Implement JEP 472: Prepare to Restrict the Use of JNI
Reviewed-by: jpai, prr, ihse, kcr, alanb
2024-08-26 09:17:45 +00:00
Chen Liang
a461369f16 8338700: AttributeMapper type parameter should be bounded by Attribute
Reviewed-by: asotona
2024-08-23 15:16:44 +00:00
Claes Redestad
47c8a6a8db 8333265: De-duplicate method references in java.util.stream.FindOps
Reviewed-by: liach
2024-08-21 22:10:06 +00:00
Doug Lea
ab8071d280 8338146: Improve Exchanger performance with VirtualThreads
Reviewed-by: alanb
2024-08-21 18:22:24 +00:00
Maurizio Cimadamore
0e8fe3550b 8338677: Improve startup of memory access var handles by simplifying combinator chains
Reviewed-by: redestad
2024-08-21 15:11:32 +00:00
Shaojin Wen
3aeb6733f9 8338532: Speed up the ClassFile API MethodTypeDesc#ofDescriptor
Reviewed-by: redestad, liach
2024-08-21 14:56:30 +00:00
Chen Liang
80adea8e0a 8338545: Functional interface implementations for common pre-boot ClassFile operations
Reviewed-by: asotona
2024-08-21 11:58:21 +00:00
Chen Liang
88ccbb6091 8336934: Clean up JavaLangReflectAccess
Reviewed-by: rriggs, darcy
2024-08-21 01:05:41 +00:00
Chen Liang
1ebf2cf639 8336756: Improve ClassFile Annotation writing
Reviewed-by: asotona
2024-08-20 19:02:38 +00:00
Mark Reinhold
0267284c52 8338611: java.lang.module specification wording not aligned with JEP 261
Reviewed-by: alanb
2024-08-20 18:50:17 +00:00
Jaikiran Pai
686eb233d5 8336817: Several methods on DatagramSocket and MulticastSocket do not specify behaviour when already closed or connected
Reviewed-by: dfuchs, alanb
2024-08-20 12:28:56 +00:00
Chen Liang
68d1f5c33b 8338543: ClassBuilder withMethod builders should cache the method type symbol
Reviewed-by: asotona
2024-08-20 05:43:04 +00:00
Chen Liang
961e944fa7 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
Co-authored-by: Alex Buckley <abuckley@openjdk.org>
Reviewed-by: asotona
2024-08-16 15:48:54 +00:00
Pavel Rappo
07352c6744 8338398: Trivially fix grammar and typos
Reviewed-by: aivanov
2024-08-16 14:06:10 +00:00
Shaojin Wen
5022109b2a 8336856: Efficient hidden class-based string concatenation strategy
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad, liach
2024-08-16 13:18:02 +00:00
Andrey Turbanov
60c9b5cd9f 8337839: Make a few fields in MergeCollation static
Reviewed-by: jpai, naoto
2024-08-16 08:49:18 +00:00
Shaojin Wen
74066bcca8 8338409: Use record to simplify code
Reviewed-by: redestad, liach
2024-08-15 22:57:33 +00:00
Sonia Zaldana Calles
56dec215b0 8338014: Improve usage of @jvms tags in class file API
Reviewed-by: darcy, liach, asotona
2024-08-15 13:28:25 +00:00
John Engebretson
a5d948fb98 8332842: Optimize empty CopyOnWriteArrayList allocations
Reviewed-by: shade, alanb
2024-08-14 14:11:53 +00:00
Chen Liang
6af1d6ff21 8335927: Revisit AnnotationConstantValueEntry and AnnotationValue.OfConstant
Reviewed-by: asotona
2024-08-13 15:14:06 +00:00
Viktor Klang
fbe4cc96e2 8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors
Reviewed-by: alanb
2024-08-13 09:51:08 +00:00
Andrey Turbanov
82d5768c1b 8337840: Remove redundant null check in ObjectOutputStream.writeProxyDesc
Reviewed-by: rriggs
2024-08-09 07:20:01 +00:00
Joe Darcy
78773b1769 8338015: Fix "Java Java" typo in package info file of java.lang.classfile
Reviewed-by: jiefu, jpai, liach
2024-08-08 15:52:17 +00:00
Turkhan Badalov
1846a65e32 8337205: Typo in Stack vs Deque Method table in Deque specification
Reviewed-by: liach
2024-08-08 05:34:32 +00:00
Jan Lahoda
958786b28f 8332522: SwitchBootstraps::mappedEnumLookup constructs unused array
Reviewed-by: liach, redestad
2024-08-06 09:07:44 +00:00
Per Minborg
219e1eb13a 8337712: Wrong javadoc in java.util.Date#toString(): "61" and right parenthesis
Reviewed-by: rgiulietti
2024-08-05 15:06:38 +00:00
Viktor Klang
d3e7b0c12a 8336462: ConcurrentSkipListSet Javadoc incorrectly warns about size method complexity
Reviewed-by: jpai
2024-08-05 10:56:21 +00:00
Brian Burkhalter
8bd3cd5156 8337716: ByteBuffer hashCode implementations are inconsistent
Reviewed-by: alanb, liach
2024-08-04 15:42:51 +00:00
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
Chen Liang
6154a2129b 8336032: Enforce immutability of Lists used by ClassFile API
Reviewed-by: asotona
2024-07-30 17:41:38 +00:00
Chen Liang
ab27090aa0 8337225: Demote maxStack and maxLocals from CodeModel to CodeAttribute
Reviewed-by: asotona
2024-07-29 21:58:08 +00:00
Justin Lu
bd36b6ae5d 8337285: Examine java.text.DecimalFormat API for api/implXxx tag usage
Reviewed-by: naoto, liach
2024-07-29 19:28:14 +00:00
Shaojin Wen
2fbdbacad7 8337245: Fix wrong comment of StringConcatHelper
Reviewed-by: phh, redestad
2024-07-27 22:54:47 +00:00
Shaojin Wen
5ff7c57f9f 8337168: Optimize LocalDateTime.toString
Reviewed-by: liach, naoto
2024-07-26 12:10:21 +00:00
Shaojin Wen
7f11935461 8337167: StringSize deduplication
Reviewed-by: liach, rriggs
2024-07-26 07:08:33 +00:00
Alan Bateman
6e228ce382 8336254: Virtual thread implementation + test updates
Reviewed-by: sspitsyn, kevinw
2024-07-25 04:59:01 +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
Andrey Turbanov
e716f5ed53 8336755: Remove unused UNALIGNED field from view buffers
Reviewed-by: alanb, liach, bpb
2024-07-24 20:26:11 +00:00
Justin Lu
5a8861a3a1 8336847: Use pattern match switch in NumberFormat classes
Reviewed-by: liach, naoto
2024-07-24 20:14:00 +00:00
Justin Lu
9e8e359513 8336787: Examine java.text.Format API for implSpec usage
Reviewed-by: liach
2024-07-24 20:08:13 +00:00
Naoto Sato
4ea4d7c684 8336679: Add @implSpec for the default implementations in Process.waitFor()
Reviewed-by: bpb, jlu, liach
2024-07-24 16:48:34 +00:00
Jaikiran Pai
04e8cb8641 8336815: Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
Reviewed-by: alanb
2024-07-24 15:43:53 +00:00
Shaojin Wen
476d2ae69d 8336831: Optimize StringConcatHelper.simpleConcat
Reviewed-by: liach, redestad, rriggs
2024-07-23 20:21:08 +00:00
Chen Liang
a2a236f904 8335939: Hide element writing across the ClassFile API
Reviewed-by: asotona
2024-07-23 12:11:47 +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
Raffaello Giulietti
4c7b3e7fc3 8334758: Incorrect note in Javadoc for a few RandomGenerator methods
Reviewed-by: bpb
2024-07-23 07:43:57 +00:00
Alan Bateman
9f03f68755 8336339: (se) SelectionKey.interestOps(int) should not throw ClosedSelectorException
Reviewed-by: jpai, bpb
2024-07-23 05:13:49 +00:00