Re: RFR: 8323621: JDK build should exclude snippet class in java.lang.foreign

2024-01-13 Thread Chen Liang
On Fri, 12 Jan 2024 17:31:55 GMT, Erik Joelsson wrote: >> This PR proposes to remove the snippet files in >> `java/lang/foreign/snippet-files` from the build. > > make/modules/java.base/Java.gmk line 41: > >> 39: java/lang/classfile/snippet-files \ >> 40: java/lang/classfile/components/

Re: RFR: JDK-8319662 ForkJoinPool trims worker threads too slowly [v8]

2024-01-13 Thread kerr
On Fri, 12 Jan 2024 13:41:39 GMT, kerr wrote: >> Doug Lea has updated the pull request with a new target base due to a merge >> or a rebase. The incremental webrev excludes the unrelated changes brought >> in by the merge/rebase. The pull request contains 10 additional commits >> since the las

Is MessageFormat.toPattern() supposed to be reversible?

2024-01-13 Thread Archie Cobbs
Clarification question regarding MessageFormat.toPattern() before I file a bug... Is it supposed to be the case that given a MessageFormat object fmt, new MessageFormat(fmt.toPattern()) is equivalent to the original fmt object? Thanks, -Archie -- Archie L. Cobbs

Re: RFR: 8321620: Optimize JImage decompressors

2024-01-13 Thread Glavo
On Fri, 12 Jan 2024 18:45:39 GMT, Glavo wrote: > I generated runtime images using `jlink --compress 2 --add-modules > java.se,jdk.unsupported,jdk.management` and then ran the following JMH > benchmark: > > > @Warmup(iterations = 10, time = 2) > @Measurement(iterations = 5, time = 3) > @Fork(v

Re: RFR: JDK-8319662 ForkJoinPool trims worker threads too slowly [v8]

2024-01-13 Thread Guoxiong Li
On Fri, 12 Jan 2024 13:41:39 GMT, kerr wrote: >> Doug Lea has updated the pull request with a new target base due to a merge >> or a rebase. The incremental webrev excludes the unrelated changes brought >> in by the merge/rebase. The pull request contains 10 additional commits >> since the las