3214 Commits

Author SHA1 Message Date
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
Chen Liang
22914e0774 8335938: Review XxxBuilder.original and XxxModel.parent
Reviewed-by: asotona
2024-07-23 04:59:58 +00:00
Chen Liang
aabec4a947 8335922: Incorrect @Stable usage of LambdaForm$Name.index
Reviewed-by: jvernee, shade
2024-07-22 22:54:36 +00:00
Liam Miller-Cushon
8438c5853f 8336844: ZipConstants64 defines duplicate constants EXTID_ZIP64 and ZIP64_EXTID
Reviewed-by: jpai, vtewari, lancea
2024-07-22 17:20:58 +00:00
Naoto Sato
c1c9704268 8336479: Provide Process.waitFor(Duration)
Reviewed-by: liach, jpai, rriggs
2024-07-22 17:17:46 +00:00
Weijun Wang
c3226aaeb8 8334394: Race condition in Class::protectionDomain
Reviewed-by: liach, jpai, rriggs, alanb
2024-07-22 13:43:55 +00:00
Nizar Benalla
92de2b2d5f 8336039: Doccheck: HTML warnings, broken links and missing files in java.base documentation
Reviewed-by: liach, djelinski
2024-07-22 13:27:12 +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
Aleksei Efimov
b21cb44e38 8329398: Links in InetAddress class description show "#format"
Reviewed-by: jpai
2024-07-20 16:48:30 +00:00
Shaojin Wen
491b9f5efc 8336706: Optimize LocalDate.toString with StringBuilder.repeat
Reviewed-by: liach, rriggs
2024-07-20 06:54:19 +00:00
Shaojin Wen
e3acf4c627 8336792: DateTimeFormatterBuilder append zeros based on StringBuilder.repeat
Reviewed-by: liach, rriggs, naoto
2024-07-19 22:06:23 +00:00
Chen Liang
39f4476813 8334772: Change Class::signers to an explicit field
Reviewed-by: dholmes, alanb, rriggs, coleenp
2024-07-18 22:22:59 +00:00
Joe Darcy
bbc79a5e01 8333768: Minor doc updates to java.lang.{Float, Double}
Reviewed-by: rgiulietti
2024-07-18 16:33:48 +00:00
Naoto Sato
10186ff48f 8336300: DateFormatSymbols#getInstanceRef returns non-cached instance
Reviewed-by: joehw, iris, jlu, aturbanov
2024-07-17 16:25:36 +00:00
Chen Liang
a253e0ff4b 8335642: Hide Transform implementation for Class-File API
Reviewed-by: asotona
2024-07-15 12:11:53 +00:00
Chen Liang
a9f5e76a65 8335905: CompoundElement API cleanup
Reviewed-by: asotona
2024-07-14 15:01:51 +00:00
Nizar Benalla
5bc86f3329 8336259: Wrong link to stylesheet.css in JavaDoc API documentation
Reviewed-by: jjg, liach
2024-07-12 21:50:51 +00:00