Re: RFR: 8290036: Define and specify Runtime shutdown sequence [v7]

2022-08-28 Thread David Holmes
On Sat, 27 Aug 2022 08:18:10 GMT, Alan Bateman wrote: >> Stuart Marks has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Minor adjustments > > src/java.base/share/classes/java/lang/Thread.java line 70: > >> 68: * The newly started thread

Re: RFR: 8290036: Define and specify Runtime shutdown sequence [v7]

2022-08-28 Thread David Holmes
On Fri, 26 Aug 2022 23:15:42 GMT, Stuart Marks wrote: >> The concept of the shutdown sequence needs to be specified more clearly. >> This PR adds text for this into the class specification of >> `java.lang.Runtime`. Also includes adjustments to related areas in >> `addShutdownHook`, `halt`,

Re: RFR: JDK-8266431: Dual-Pivot Quicksort improvements (Radix sort) [v16]

2022-08-28 Thread Laurent Bourgès
On Tue, 2 Aug 2022 13:57:03 GMT, iaroslavski wrote: >> Sorting: >> >> - adopt radix sort for sequential and parallel sorts on >> int/long/float/double arrays (almost random and length > 6K) >> - fix tryMergeRuns() to better handle case when the last run is a single >> element >> - minor

Integrated: JDK-8289949 Improve test coverage for XPath: operators

2022-08-28 Thread Bill Huang
On Fri, 26 Aug 2022 16:48:03 GMT, Bill Huang wrote: > Provided coverage for XPath operators. Operators include: > * Boolean operators: or, and, =, !=, <, <=, >, >= > * Number operators: +, -, *, div, mod > * Union operator: | This pull request has now been integrated. Changeset: f6b63601

RFR: 8293009: Remove unused field 'millisPerHour' in DateFormatSymbols

2022-08-28 Thread Andrey Turbanov
Field `java.text.DateFormatSymbols#millisPerHour` is unused. It was unused in initial OpenJDK sources. - Commit messages: - [PATCH] Unused field DateFormatSymbols.millisPerHour Changes: https://git.openjdk.org/jdk/pull/10005/files Webrev:

RFR: 8293008: Replace uses of StringBuffer with StringBuilder in MergeCollation

2022-08-28 Thread Andrey Turbanov
Couple of package-private classes in `java.text` package still use `StringBuffer`: `MergeCollation` and `PatternEntry`. StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance. - Commit messages: -