Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v5]

2022-08-26 Thread Alan Bateman
On Fri, 26 Aug 2022 20:59:57 GMT, Сергей Цыпанов wrote: >> Currently some operations of RandomAccessFile are implemented with multiple >> read() invocations: >> >> public final int readInt() throws IOException { >> int ch1 = this.read(); >> int ch2 = this.read(); >> int ch3 = this.r

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v4]

2022-08-26 Thread Jaikiran Pai
On Fri, 26 Aug 2022 15:06:16 GMT, Aleksey Shipilev wrote: >> Look at implementation and figure out what happens if you do: >> >> >> computeHash("SHA-1") = someHash; >> computeHash("SHA-256") = ...? >> >> >> The caching method should actually check the algorithms match. >> >> Not a bug at t

Re: RFR: 8289797: tools/launcher/I18NArgTest.java fails on Japanese Windows enviromnent [v3]

2022-08-26 Thread Naoto Sato
On Fri, 26 Aug 2022 06:32:35 GMT, KIRIYAMA Takuya wrote: >> I removed a section of via JDK_JAVA_OPTIONS because including main class is >> not allowed in the specification. >> This behavior is added in JDK-8170832, which add JAVA_OPTIONS environment >> variable. At this time, this test is misma

Re: RFR: 8289797: tools/launcher/I18NArgTest.java fails on Japanese Windows enviromnent [v3]

2022-08-26 Thread Naoto Sato
On Fri, 26 Aug 2022 06:32:35 GMT, KIRIYAMA Takuya wrote: >> I removed a section of via JDK_JAVA_OPTIONS because including main class is >> not allowed in the specification. >> This behavior is added in JDK-8170832, which add JAVA_OPTIONS environment >> variable. At this time, this test is misma

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

2022-08-26 Thread Stuart Marks
> 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`, and > in the `System` and `Thread` classes. The changes here sho

Re: RFR: JDK-8289949 Improve test coverage for XPath: operators [v2]

2022-08-26 Thread Joe Wang
On Fri, 26 Aug 2022 21:48:19 GMT, Bill Huang wrote: >> Provided coverage for XPath operators. Operators include: >> * Boolean operators: or, and, =, !=, <, <=, >, >= >> * Number operators: +, -, *, div, mod >> * Union operator: | > > Bill Huang has updated the pull request incrementally with one

Re: RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available [v8]

2022-08-26 Thread Brian Burkhalter
On Wed, 3 Aug 2022 17:14:13 GMT, Brian Burkhalter wrote: >> Modify native multi-byte read-write code used by the `java.io` classes to >> limit the size of the allocated native buffer thereby decreasing off-heap >> memory footprint and increasing throughput. > > Brian Burkhalter has updated the

Re: RFR: 6478546: FileInputStream.read() throws OutOfMemoryError when there is plenty available [v9]

2022-08-26 Thread Brian Burkhalter
> Modify native multi-byte read-write code used by the `java.io` classes to > limit the size of the allocated native buffer thereby decreasing off-heap > memory footprint and increasing throughput. Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase.

Re: RFR: JDK-8289949 Improve test coverage for XPath: operators [v2]

2022-08-26 Thread Bill Huang
> Provided coverage for XPath operators. Operators include: > * Boolean operators: or, and, =, !=, <, <=, >, >= > * Number operators: +, -, *, div, mod > * Union operator: | Bill Huang has updated the pull request incrementally with one additional commit since the last revision: Implemented re

Re: RFR: 8291660: Grapheme support in BreakIterator [v3]

2022-08-26 Thread Naoto Sato
On Fri, 26 Aug 2022 20:57:05 GMT, Stuart Marks wrote: >> Naoto Sato has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Reverting the fix to BreakIterator.isBoundary() > > src/java.base/share/classes/java/text/BreakIterator.java line 107: >

Re: RFR: 8291660: Grapheme support in BreakIterator [v4]

2022-08-26 Thread Naoto Sato
> This is to enhance the character break analysis in `java.text.BreakIterator` > to conform to the extended grapheme cluster boundaries defined in > https://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries. A > corresponding CSR has also been drafted, as there will be behavioral changes

Re: Proposal: Collection mutability marker interfaces

2022-08-26 Thread John Hendrikx
On 26/08/2022 18:54, Ethan McCue wrote: If the collections would decide whether or not to copy, I don't think just requesting an immutable reference would be enough.     static List listCopy(Collection coll) {         if (coll instanceof List12 || (coll instanceof ListN && ! ((ListN)coll).al

Re: RFR: 8291660: Grapheme support in BreakIterator [v3]

2022-08-26 Thread Stuart Marks
On Fri, 26 Aug 2022 18:12:04 GMT, Naoto Sato wrote: >> This is to enhance the character break analysis in `java.text.BreakIterator` >> to conform to the extended grapheme cluster boundaries defined in >> https://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries. A >> corresponding CSR

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v5]

2022-08-26 Thread Сергей Цыпанов
> Currently some operations of RandomAccessFile are implemented with multiple > read() invocations: > > public final int readInt() throws IOException { > int ch1 = this.read(); > int ch2 = this.read(); > int ch3 = this.read(); > int ch4 = this.read(); > if ((ch1 | ch2 | ch3 |

Re: RFR: 8065554: MatchResult should provide values of named-capturing groups [v3]

2022-08-26 Thread Stuart Marks
On Fri, 26 Aug 2022 10:36:41 GMT, Raffaello Giulietti wrote: >> Add support for named groups to java.util.regex.MatchResult > > Raffaello Giulietti has updated the pull request incrementally with one > additional commit since the last revision: > > 8065554: MatchResult should provide values o

Re: RFR: JDK-8289949 Improve test coverage for XPath: operators

2022-08-26 Thread Joe Wang
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: | Looks good. A few minor comments below. test/jaxp/javax/xml/jaxp/unit

RFR: 8291651: CleanerTest.java fails with "Cleanable was cleaned"

2022-08-26 Thread Roger Riggs
CleanerTest is failing intermittently on Aarch64, with -Xcomp, and using a VirtualThread for the Cleaner in the test. The extensively relies on references processing and invokes GC on a very short cycle. The existing 10ms delay between GC requests is too short for the changes to reference states

Integrated: 8291760: PipelineLeaksFD.java still fails: More or fewer pipes than expected

2022-08-26 Thread Roger Riggs
On Wed, 17 Aug 2022 15:31:14 GMT, Roger Riggs wrote: > Revised test to check and close all of the streams used in the pipeline. > > The test now checks the content length and closes each stdout and stderr > stream. > > The previous technique to redirect stderr to stdout was ineffective because

Re: RFR: 8292899: CustomTzIDCheckDST.java testcase failed on AIX platform

2022-08-26 Thread Naoto Sato
On Fri, 26 Aug 2022 07:26:46 GMT, Ichiroh Takiguchi wrote: > After `test/jdk/java/util/TimeZone/CustomTzIDCheckDST.java` testcase was > integrated, it failed on the AIX platform. > > Error output > > STDERR: > stdout: []; > stderr: [Exception in thread "main" java.lang.RuntimeException: Got

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v2]

2022-08-26 Thread Roger Riggs
On Fri, 26 Aug 2022 17:02:36 GMT, Сергей Цыпанов wrote: >> src/java.base/share/native/libjava/io_util.c line 82: >> >>> 80:((*(buf + 1) & 0xFF) << 16) + >>> 81:((*(buf + 2) & 0xFF) << 8) + >>> 82:((*(buf + 3) & 0xFF)); >> >> What if the native byt

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v4]

2022-08-26 Thread Сергей Цыпанов
> Currently some operations of RandomAccessFile are implemented with multiple > read() invocations: > > public final int readInt() throws IOException { > int ch1 = this.read(); > int ch2 = this.read(); > int ch3 = this.read(); > int ch4 = this.read(); > if ((ch1 | ch2 | ch3 |

Re: RFR: 8291660: Grapheme support in BreakIterator [v3]

2022-08-26 Thread Naoto Sato
On Fri, 26 Aug 2022 18:12:04 GMT, Naoto Sato wrote: >> This is to enhance the character break analysis in `java.text.BreakIterator` >> to conform to the extended grapheme cluster boundaries defined in >> https://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries. A >> corresponding CSR

Re: RFR: 8291660: Grapheme support in BreakIterator [v3]

2022-08-26 Thread Naoto Sato
> This is to enhance the character break analysis in `java.text.BreakIterator` > to conform to the extended grapheme cluster boundaries defined in > https://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries. A > corresponding CSR has also been drafted, as there will be behavioral changes

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v2]

2022-08-26 Thread Сергей Цыпанов
On Fri, 26 Aug 2022 16:39:01 GMT, Brian Burkhalter wrote: >> Сергей Цыпанов has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8292937: Move logic into VM side > > src/java.base/share/native/libjava/io_util.c line 82: > >> 80:

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v3]

2022-08-26 Thread Сергей Цыпанов
> Currently some operations of RandomAccessFile are implemented with multiple > read() invocations: > > public final int readInt() throws IOException { > int ch1 = this.read(); > int ch2 = this.read(); > int ch3 = this.read(); > int ch4 = this.read(); > if ((ch1 | ch2 | ch3 |

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

2022-08-26 Thread Bill Huang
Provided coverage for XPath operators. Operators include: * Boolean operators: or, and, =, !=, <, <=, >, >= * Number operators: +, -, *, div, mod * Union operator: | - Commit messages: - Created XPathOperatorExpTest.java Changes: https://git.openjdk.org/jdk/pull/10047/files Webrev:

Re: Proposal: Collection mutability marker interfaces

2022-08-26 Thread Ethan McCue
If the collections would decide whether or not to copy, I don't think just requesting an immutable reference would be enough. static List listCopy(Collection coll) { if (coll instanceof List12 || (coll instanceof ListN && ! ((ListN)coll).allowNulls)) { return (List)coll;

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v2]

2022-08-26 Thread Brian Burkhalter
On Fri, 26 Aug 2022 12:10:58 GMT, Сергей Цыпанов wrote: >> Currently some operations of RandomAccessFile are implemented with multiple >> read() invocations: >> >> public final int readInt() throws IOException { >> int ch1 = this.read(); >> int ch2 = this.read(); >> int ch3 = this.r

Re: RFR: 8291660: Grapheme support in BreakIterator [v2]

2022-08-26 Thread Naoto Sato
> This is to enhance the character break analysis in `java.text.BreakIterator` > to conform to the extended grapheme cluster boundaries defined in > https://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries. A > corresponding CSR has also been drafted, as there will be behavioral changes

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v4]

2022-08-26 Thread Mandy Chung
On Fri, 26 Aug 2022 15:06:16 GMT, Aleksey Shipilev wrote: >> Look at implementation and figure out what happens if you do: >> >> >> computeHash("SHA-1") = someHash; >> computeHash("SHA-256") = ...? >> >> >> The caching method should actually check the algorithms match. >> >> Not a bug at t

Integrated: 8292541: [Metrics] Reported memory limit may exceed physical machine memory

2022-08-26 Thread Jonathan Dowland
On Thu, 25 Aug 2022 09:50:44 GMT, Jonathan Dowland wrote: > When the container memory exceeds the physical host's memory, the Java > metrics reporting is wrong. > > https://bugs.openjdk.org/browse/JDK-8292541 > > This is the equivalent core-libs fix for Hotspot's > [JDK-8292083](https://bugs.

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v4]

2022-08-26 Thread Alan Bateman
On Fri, 26 Aug 2022 15:06:16 GMT, Aleksey Shipilev wrote: >> Look at implementation and figure out what happens if you do: >> >> >> computeHash("SHA-1") = someHash; >> computeHash("SHA-256") = ...? >> >> >> The caching method should actually check the algorithms match. >> >> Not a bug at t

Re: Proposal: Collection mutability marker interfaces

2022-08-26 Thread John Hendrikx
On 24/08/2022 15:38, Ethan McCue wrote: A use case that doesn't cover is adding to a collection. Say as part of a method's contract you state that you take ownership of a List. You aren't going to copy even if the list is mutable. Later on, you may want to add to the list. Add is supported on

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v3]

2022-08-26 Thread Aleksey Shipilev
On Fri, 26 Aug 2022 14:54:22 GMT, Alan Bateman wrote: >> Aleksey Shipilev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review comments > > src/java.base/share/classes/jdk/internal/module/ModuleReferenceImpl.java line > 69: > >> 67:

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v4]

2022-08-26 Thread Aleksey Shipilev
> Look at implementation and figure out what happens if you do: > > > computeHash("SHA-1") = someHash; > computeHash("SHA-256") = ...? > > > The caching method should actually check the algorithms match. > > Not a bug at this point, since only use SHA-256 today, but this is a landmine > rea

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v3]

2022-08-26 Thread Alan Bateman
On Fri, 26 Aug 2022 14:23:04 GMT, Aleksey Shipilev wrote: >> Look at implementation and figure out what happens if you do: >> >> >> computeHash("SHA-1") = someHash; >> computeHash("SHA-256") = ...? >> >> >> The caching method should actually check the algorithms match. >> >> Not a bug at t

Re: Proposal: Collection mutability marker interfaces

2022-08-26 Thread Ethan McCue
All trivial collection operations scream stream api and all stream api operations imply a full copy or at least a full scan. > so having trouble to write this kind of code is more a feature than an issue :) I love all Java code equally On Wed, Aug 24, 2022 at 11:21 AM wrote: > > >

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v3]

2022-08-26 Thread Aleksey Shipilev
On Fri, 26 Aug 2022 14:33:33 GMT, Alan Bateman wrote: > Can you make sure that you run all jar, jmod and jlink tests? Module hashes > are generated at packaging time, then checked when generating the > configuration in early startup. `java/util/jar`, `jdk/tools/jmod`, `jdk/tools/jlink` -- all

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v3]

2022-08-26 Thread Alan Bateman
On Fri, 26 Aug 2022 14:23:04 GMT, Aleksey Shipilev wrote: >> Look at implementation and figure out what happens if you do: >> >> >> computeHash("SHA-1") = someHash; >> computeHash("SHA-256") = ...? >> >> >> The caching method should actually check the algorithms match. >> >> Not a bug at t

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v3]

2022-08-26 Thread Aleksey Shipilev
On Fri, 26 Aug 2022 14:06:21 GMT, Alan Bateman wrote: >> Aleksey Shipilev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Review comments > > src/java.base/share/classes/jdk/internal/module/ModuleReferenceImpl.java line > 75: > >> 73:

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v2]

2022-08-26 Thread Aleksey Shipilev
On Fri, 26 Aug 2022 14:14:12 GMT, Alan Bateman wrote: >> Aleksey Shipilev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Touchups > > src/java.base/share/classes/jdk/internal/module/ModuleReferenceImpl.java line > 70: > >> 68: //

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v3]

2022-08-26 Thread Aleksey Shipilev
> Look at implementation and figure out what happens if you do: > > > computeHash("SHA-1") = someHash; > computeHash("SHA-256") = ...? > > > The caching method should actually check the algorithms match. > > Not a bug at this point, since only use SHA-256 today, but this is a landmine > rea

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v2]

2022-08-26 Thread Aleksey Shipilev
On Fri, 26 Aug 2022 14:06:30 GMT, Alan Bateman wrote: >> Aleksey Shipilev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Touchups > > src/java.base/share/classes/jdk/internal/module/ModuleReferenceImpl.java line > 154: > >> 152:

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v2]

2022-08-26 Thread Alan Bateman
On Fri, 26 Aug 2022 14:14:13 GMT, Aleksey Shipilev wrote: >> Look at implementation and figure out what happens if you do: >> >> >> computeHash("SHA-1") = someHash; >> computeHash("SHA-256") = ...? >> >> >> The caching method should actually check the algorithms match. >> >> Not a bug at t

Re: RFR: 8292983: ModuleReferenceImpl.computeHash should record algorithm for cache checks [v2]

2022-08-26 Thread Aleksey Shipilev
> Look at implementation and figure out what happens if you do: > > > computeHash("SHA-1") = someHash; > computeHash("SHA-256") = ...? > > > The caching method should actually check the algorithms match. > > Not a bug at this point, since only use SHA-256 today, but this is a landmine > rea

Re: RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v7]

2022-08-26 Thread Severin Gehwolf
On Fri, 26 Aug 2022 14:06:16 GMT, Jonathan Dowland wrote: >> When the container memory exceeds the physical host's memory, the Java >> metrics reporting is wrong. >> >> https://bugs.openjdk.org/browse/JDK-8292541 >> >> This is the equivalent core-libs fix for Hotspot's >> [JDK-8292083](https:

Re: RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v6]

2022-08-26 Thread Jonathan Dowland
On Fri, 26 Aug 2022 13:32:35 GMT, Severin Gehwolf wrote: >> Jonathan Dowland has updated the pull request with a new target base due to >> a merge or a rebase. The pull request now contains ten commits: >> >> - Rework testContainerMemExceedsPhysical to use common hostMaxMem >> >>For 82

Re: RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v7]

2022-08-26 Thread Jonathan Dowland
> When the container memory exceeds the physical host's memory, the Java > metrics reporting is wrong. > > https://bugs.openjdk.org/browse/JDK-8292541 > > This is the equivalent core-libs fix for Hotspot's > [JDK-8292083](https://bugs.openjdk.org/browse/JDK-8292083) > (https://github.com/openjd

RFR: 8292983: ModuleReferenceImpl.computeHash ignores the algorithm for cache checks

2022-08-26 Thread Aleksey Shipilev
Look at implementation and figure out what happens if you do: computeHash("SHA-1") = someHash; computeHash("SHA-256") = ...? The caching method should actually check the algorithms match. Does not seem to be a problem at this point, since we seem to be only calling that methods with "SHA-25

Re: RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v6]

2022-08-26 Thread Severin Gehwolf
On Fri, 26 Aug 2022 13:20:58 GMT, Jonathan Dowland wrote: >> When the container memory exceeds the physical host's memory, the Java >> metrics reporting is wrong. >> >> https://bugs.openjdk.org/browse/JDK-8292541 >> >> This is the equivalent core-libs fix for Hotspot's >> [JDK-8292083](https:

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v2]

2022-08-26 Thread Сергей Цыпанов
On Fri, 26 Aug 2022 12:56:50 GMT, Alan Bateman wrote: >> Сергей Цыпанов has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8292937: Move logic into VM side > > src/java.base/share/native/libjava/io_util.c line 71: > >> 69: jint nread =

Re: RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v6]

2022-08-26 Thread Jonathan Dowland
> When the container memory exceeds the physical host's memory, the Java > metrics reporting is wrong. > > https://bugs.openjdk.org/browse/JDK-8292541 > > This is the equivalent core-libs fix for Hotspot's > [JDK-8292083](https://bugs.openjdk.org/browse/JDK-8292083) > (https://github.com/openjd

Re: RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v5]

2022-08-26 Thread Jonathan Dowland
On Thu, 25 Aug 2022 16:15:53 GMT, Jonathan Dowland wrote: >> When the container memory exceeds the physical host's memory, the Java >> metrics reporting is wrong. >> >> https://bugs.openjdk.org/browse/JDK-8292541 >> >> This is the equivalent core-libs fix for Hotspot's >> [JDK-8292083](https:

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v2]

2022-08-26 Thread Alan Bateman
On Fri, 26 Aug 2022 12:10:58 GMT, Сергей Цыпанов wrote: >> Currently some operations of RandomAccessFile are implemented with multiple >> read() invocations: >> >> public final int readInt() throws IOException { >> int ch1 = this.read(); >> int ch2 = this.read(); >> int ch3 = this.r

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile

2022-08-26 Thread Сергей Цыпанов
On Fri, 26 Aug 2022 01:49:06 GMT, Quan Anh Mai wrote: >>> Maybe you can modify the read0 method to receive a width parameter >>> additionally. >> >> @merykitty sorry, I don't get it. We already have `readBytes0()` returning >> array. Why do we need to add a new param to `read0`? > > @stsypanov

Re: RFR: 8292937: Improve performance of some read operations of RandomAccessFile [v2]

2022-08-26 Thread Сергей Цыпанов
> Currently some operations of RandomAccessFile are implemented with multiple > read() invocations: > > public final int readInt() throws IOException { > int ch1 = this.read(); > int ch2 = this.read(); > int ch3 = this.read(); > int ch4 = this.read(); > if ((ch1 | ch2 | ch3 |

Re: RFR: 8065554: MatchResult should provide values of named-capturing groups [v3]

2022-08-26 Thread Raffaello Giulietti
> Add support for named groups to java.util.regex.MatchResult Raffaello Giulietti has updated the pull request incrementally with one additional commit since the last revision: 8065554: MatchResult should provide values of named-capturing groups - Changes: - all: https://git.op

Re: RFR: 8065554: MatchResult should provide values of named-capturing groups [v2]

2022-08-26 Thread Raffaello Giulietti
On Thu, 25 Aug 2022 09:24:20 GMT, Raffaello Giulietti wrote: >> Add support for named groups to java.util.regex.MatchResult > > Raffaello Giulietti has updated the pull request incrementally with one > additional commit since the last revision: > > 8065554: MatchResult should provide values o

Re: RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v5]

2022-08-26 Thread Jonathan Dowland
On Fri, 26 Aug 2022 09:46:16 GMT, Severin Gehwolf wrote: >> Jonathan Dowland has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Add a log-line for total physical memory >> >> This is relied upon for tests in >> test/hotspot/jtreg/con

Re: RFR: 8292541: [Metrics] Reported memory limit may exceed physical machine memory [v5]

2022-08-26 Thread Severin Gehwolf
On Thu, 25 Aug 2022 16:15:53 GMT, Jonathan Dowland wrote: >> When the container memory exceeds the physical host's memory, the Java >> metrics reporting is wrong. >> >> https://bugs.openjdk.org/browse/JDK-8292541 >> >> This is the equivalent core-libs fix for Hotspot's >> [JDK-8292083](https:

Re: RFR: 8289834: Add SBCS and DBCS Only EBCDIC charsets

2022-08-26 Thread Alan Bateman
On Wed, 6 Jul 2022 14:05:39 GMT, Ichiroh Takiguchi wrote: > OpenJDK supports "Japanese EBCDIC - Katakana" and "Korean EBCDIC" SBCS and > DBCS Only charsets. > |Charset|Mix|SBCS|DBCS| > | -- | -- | -- | -- | > | Japanese EBCDIC - Katakana | Cp930 | Cp290 | Cp300 | > | Korean | Cp933 | Cp833 | Cp

RFR: 8292899: CustomTzIDCheckDST.java testcase failed on AIX platform

2022-08-26 Thread Ichiroh Takiguchi
After `test/jdk/java/util/TimeZone/CustomTzIDCheckDST.java` testcase was integrated, it failed on the AIX platform. Error output STDERR: stdout: []; stderr: [Exception in thread "main" java.lang.RuntimeException: Got unexpected timezone information: Thu Aug 25 09:29:10 CEST 2022 at Cu

Re: RFR: 8289834: Add SBCS and DBCS Only EBCDIC charsets

2022-08-26 Thread Ichiroh Takiguchi
On Mon, 8 Aug 2022 09:22:32 GMT, Alan Bateman wrote: >> Hello @AlanBateman . >> Sorry I'm late. >> I got some responses from ICU. >> [ICU-22091](https://unicode-org.atlassian.net/browse/ICU-22091) >> I'm not sure if they're interested in the new charset... >> >> As you know `sun.nio.cs.ArrayDec