Re: RFR: JDK-8309032: jpackage does not work for module projects unless --module-path is specified

2023-07-19 Thread airsquared
On Tue, 11 Jul 2023 23:47:30 GMT, airsquared wrote: > [JDK-8309032](https://bugs.openjdk.org/browse/JDK-8309032), > [JDK-8306488](https://bugs.openjdk.org/browse/JDK-8306488) This also resolved [JDK-8306488](https://bugs.openjdk.org/browse/JDK-8306488), if someone can mark it as such.

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v6]

2023-07-19 Thread David Holmes
On Wed, 19 Jul 2023 10:58:58 GMT, Jaikiran Pai wrote: >> Can I please get a review of this change which proposes to deprecate for >> removal the `-Xdebug` option and `-debug` option of the `java` command? >> This addresses https://bugs.openjdk.org/browse/JDK-8227229. >> >> As noted in the

[jdk21] RFR: 8309032: jpackage does not work for module projects unless --module-path is specified

2023-07-19 Thread airsquared
8309032: jpackage does not work for module projects unless --module-path is specified - Commit messages: - Backport dfe764e3f85784752d69fd51306644732e808d38 Changes: https://git.openjdk.org/jdk21/pull/140/files Webrev: https://webrevs.openjdk.org/?repo=jdk21=140=00 Issue:

Re: RFR: 8312424: 80% throughput decrease in Arrays.hashCode(Object[]) after JDK-8312164

2023-07-19 Thread Glavo
On Thu, 20 Jul 2023 02:04:53 GMT, Chen Liang wrote: >>> A similar performance decrease have been discussed here: [#14752 >>> (comment)](https://github.com/openjdk/jdk/pull/14752#discussion_r1250888931) >>> >>> Can you check whether adding `@ForceInline` on `Objects.equals` help with >>> JIT?

Re: RFR: JDK-8309032: jpackage does not work for module projects unless --module-path is specified

2023-07-19 Thread Alexander Matveev
On Thu, 20 Jul 2023 02:04:53 GMT, Alexey Semenyuk wrote: >> [JDK-8309032](https://bugs.openjdk.org/browse/JDK-8309032), >> [JDK-8306488](https://bugs.openjdk.org/browse/JDK-8306488) > > @sashamatveev would you like to review the change before I sponsor it? @alexeysemenyukoracle Looks good.

Integrated: JDK-8309032: jpackage does not work for module projects unless --module-path is specified

2023-07-19 Thread airsquared
On Tue, 11 Jul 2023 23:47:30 GMT, airsquared wrote: > [JDK-8309032](https://bugs.openjdk.org/browse/JDK-8309032), > [JDK-8306488](https://bugs.openjdk.org/browse/JDK-8306488) This pull request has now been integrated. Changeset: dfe764e3 Author:airsquared

Re: RFR: JDK-8309032: jpackage does not work for module projects unless --module-path is specified

2023-07-19 Thread Alexander Matveev
On Tue, 11 Jul 2023 23:47:30 GMT, airsquared wrote: > [JDK-8309032](https://bugs.openjdk.org/browse/JDK-8309032), > [JDK-8306488](https://bugs.openjdk.org/browse/JDK-8306488) Marked as reviewed by almatvee (Reviewer). - PR Review:

Re: RFR: 8312424: 80% throughput decrease in Arrays.hashCode(Object[]) after JDK-8312164

2023-07-19 Thread Chen Liang
On Thu, 20 Jul 2023 01:27:41 GMT, Glavo wrote: >> The changes to `Arrays.hashCode(Object[])` in JDK-8312164 caused its >> performance is reduced by about 80%. >> >> This PR reverts this change. > >> A similar performance decrease have been discussed here: [#14752 >>

Re: RFR: JDK-8309032: jpackage does not work for module projects unless --module-path is specified

2023-07-19 Thread Alexey Semenyuk
On Tue, 11 Jul 2023 23:47:30 GMT, airsquared wrote: > [JDK-8309032](https://bugs.openjdk.org/browse/JDK-8309032), > [JDK-8306488](https://bugs.openjdk.org/browse/JDK-8306488) @sashamatveev would you like to review the change before I sponsor it? - PR Comment:

Re: RFR: 8312424: 80% throughput decrease in Arrays.hashCode(Object[]) after JDK-8312164

2023-07-19 Thread Glavo
On Thu, 20 Jul 2023 01:11:43 GMT, Glavo wrote: > The changes to `Arrays.hashCode(Object[])` in JDK-8312164 caused its > performance is reduced by about 80%. > > This PR reverts this change. JMH Benchmark: public class HashCode { @Param({"1", "10", "100", "1"}) private int size;

RFR: 8312424: 80% throughput decrease in Arrays.hashCode(Object[]) after JDK-8312164

2023-07-19 Thread Glavo
The changes to `Arrays.hashCode(Object[])` in JDK-8312164 caused its performance is reduced by about 80%. This PR reverts this change. - Commit messages: - Add benchmark - Revert changes to Arrays.hashCode(Object[]) in JDK-8312164 Changes:

Re: RFR: 8312424: 80% throughput decrease in Arrays.hashCode(Object[]) after JDK-8312164

2023-07-19 Thread Chen Liang
On Thu, 20 Jul 2023 01:11:43 GMT, Glavo wrote: > The changes to `Arrays.hashCode(Object[])` in JDK-8312164 caused its > performance is reduced by about 80%. > > This PR reverts this change. A similar performance decrease have been discussed here:

Re: RFR: 6983726: Reimplement MethodHandleProxies.asInterfaceInstance [v26]

2023-07-19 Thread Mandy Chung
On Tue, 18 Jul 2023 01:57:56 GMT, Chen Liang wrote: >> As John Rose has pointed out in this issue, the current j.l.r.Proxy based >> implementation of MethodHandleProxies.asInterface has a few issues: >> 1. Exposes too much information via Proxy supertype (and WrapperInstance >> interface) >>

Re: RFR: 8199149: Improve the exception message thrown by VarHandle of unsupported operation [v4]

2023-07-19 Thread Mandy Chung
> `VarForm::getMemberName` currently throws UOE with no information if the > requested access mode is unsupported. To provide the var handle > information, move the access mode check to `VarHandle` so that the exception > message can include the var handle information. Changes include: > >

Re: RFR: 8312164: Refactor Arrays.hashCode for long, boolean, double, float, and Object arrays [v3]

2023-07-19 Thread Glavo
On Wed, 19 Jul 2023 13:14:23 GMT, Pavel Rappo wrote: >> Please review this PR to refactor Arrays.hashCode for long[], boolean[], and >> Object[]. I've been told elsewhere that it shouldn't have significant >> performance implications. > > Pavel Rappo has updated the pull request incrementally

Re: RFR: 8199149: Improve the exception message thrown by VarHandle of unsupported operation [v3]

2023-07-19 Thread Chen Liang
On Wed, 19 Jul 2023 23:48:03 GMT, Mandy Chung wrote: >> `VarForm::getMemberName` currently throws UOE with no information if the >> requested access mode is unsupported. To provide the var handle >> information, move the access mode check to `VarHandle` so that the exception >> message can

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals [v2]

2023-07-19 Thread Martin Buchholz
On Wed, 19 Jul 2023 22:08:04 GMT, Pavel Rappo wrote: >> Please review this PR to use modern APIs and language features to simplify >> equals for BitSet. >> >> I couldn't see how to refactor hashCode using Arrays utility methods in a >> way that preserves its specification. So, aside from

Re: RFR: 6983726: Reimplement MethodHandleProxies.asInterfaceInstance [v26]

2023-07-19 Thread Chen Liang
On Tue, 18 Jul 2023 01:57:56 GMT, Chen Liang wrote: >> As John Rose has pointed out in this issue, the current j.l.r.Proxy based >> implementation of MethodHandleProxies.asInterface has a few issues: >> 1. Exposes too much information via Proxy supertype (and WrapperInstance >> interface) >>

Re: RFR: 8199149: Improve the exception message thrown by VarHandle of unsupported operation [v3]

2023-07-19 Thread Chen Liang
On Wed, 19 Jul 2023 23:48:03 GMT, Mandy Chung wrote: >> `VarForm::getMemberName` currently throws UOE with no information if the >> requested access mode is unsupported. To provide the var handle >> information, move the access mode check to `VarHandle` so that the exception >> message can

Re: RFR: JDK-8309032: jpackage does not work for module projects unless --module-path is specified

2023-07-19 Thread airsquared
On Tue, 18 Jul 2023 15:33:46 GMT, Alexey Semenyuk wrote: >> [JDK-8309032](https://bugs.openjdk.org/browse/JDK-8309032), >> [JDK-8306488](https://bugs.openjdk.org/browse/JDK-8306488) > > Marked as reviewed by asemenyuk (Reviewer). @alexeysemenyukoracle would you be able to sponsor this change?

Re: RFR: 8199149: Improve the exception message thrown by VarHandle of unsupported operation [v2]

2023-07-19 Thread Mandy Chung
On Wed, 19 Jul 2023 02:19:58 GMT, Mandy Chung wrote: >> `VarForm::getMemberName` currently throws UOE with no information if the >> requested access mode is unsupported. To provide the var handle >> information, move the access mode check to `VarHandle` so that the exception >> message can

Re: RFR: 8199149: Improve the exception message thrown by VarHandle of unsupported operation [v2]

2023-07-19 Thread Chen Liang
On Wed, 19 Jul 2023 23:37:41 GMT, Jorn Vernee wrote: > Note that `IndirectVarHandle` calls `super.checkAccessModeThenIsDirect`, so > it ends up doing the check any way, I think? In the initial patch, it was distinct; it was migrated to call `isAccessModeSupported` in a subsequent change, so

Re: RFR: 8199149: Improve the exception message thrown by VarHandle of unsupported operation [v2]

2023-07-19 Thread Chen Liang
On Wed, 19 Jul 2023 02:19:58 GMT, Mandy Chung wrote: >> `VarForm::getMemberName` currently throws UOE with no information if the >> requested access mode is unsupported. To provide the var handle >> information, move the access mode check to `VarHandle` so that the exception >> message can

Re: RFR: 8199149: Improve the exception message thrown by VarHandle of unsupported operation [v2]

2023-07-19 Thread Jorn Vernee
On Wed, 19 Jul 2023 02:19:58 GMT, Mandy Chung wrote: >> `VarForm::getMemberName` currently throws UOE with no information if the >> requested access mode is unsupported. To provide the var handle >> information, move the access mode check to `VarHandle` so that the exception >> message can

Re: RFR: 8199149: Improve the exception message thrown by VarHandle of unsupported operation [v3]

2023-07-19 Thread Mandy Chung
> `VarForm::getMemberName` currently throws UOE with no information if the > requested access mode is unsupported. To provide the var handle > information, move the access mode check to `VarHandle` so that the exception > message can include the var handle information. Changes include: > >

Re: RFR: 8310843: Reimplement ByteArray and ByteArrayLittleEndian with Unsafe [v10]

2023-07-19 Thread Chen Liang
On Thu, 13 Jul 2023 23:05:48 GMT, Glavo wrote: >> `ByteArray` and `ByteArrayLittleEndian` are very useful tool classes that >> can be used in many places to performance tuning. >> >> Currently they are implemented by `VarHandle`, so using them may have some >> impact on startup time. >> >>

Re: RFR: 8310813: Simplify and modernize equals, hashCode, and compareTo for BigInteger [v2]

2023-07-19 Thread Pavel Rappo
On Mon, 10 Jul 2023 18:29:36 GMT, Pavel Rappo wrote: > I suggest we introduce the required utility method (i.e. hashOfRange) in > ArraysSupport first. Introducing such a method might take a while. Let me push a commit that restores hash code values, while still using modern utilities to

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals [v2]

2023-07-19 Thread Pavel Rappo
> Please review this PR to use modern APIs and language features to simplify > equals for BitSet. > > I couldn't see how to refactor hashCode using Arrays utility methods in a way > that preserves its specification. So, aside from refactoring its doc comment > and annotating it with

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Roger Riggs
On Thu, 13 Jul 2023 10:50:30 GMT, Pavel Rappo wrote: > Please review this PR to use modern APIs and language features to simplify > equals for BitSet. > > I couldn't see how to refactor hashCode using Arrays utility methods in a way > that preserves its specification. So, aside from

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Martin Buchholz
On Thu, 13 Jul 2023 10:50:30 GMT, Pavel Rappo wrote: > Please review this PR to use modern APIs and language features to simplify > equals for BitSet. > > I couldn't see how to refactor hashCode using Arrays utility methods in a way > that preserves its specification. So, aside from

Re: RFR: 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList

2023-07-19 Thread Xue-Lei Andrew Fan
On Wed, 19 Jul 2023 12:58:43 GMT, Matthew Donovan wrote: > This PR removes javax/rmi/ssl/SSLSocketParametersTest.sh from the > ProblemList. The script was removed in JDK-8298939 and the Java code > refactored to be a jtreg test. Marked as reviewed by xuelei (Reviewer). - PR

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Martin Buchholz
On Thu, 13 Jul 2023 10:50:30 GMT, Pavel Rappo wrote: > Please review this PR to use modern APIs and language features to simplify > equals for BitSet. > > I couldn't see how to refactor hashCode using Arrays utility methods in a way > that preserves its specification. So, aside from

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Pavel Rappo
On Thu, 13 Jul 2023 14:50:55 GMT, Roger Riggs wrote: >> Please review this PR to use modern APIs and language features to simplify >> equals for BitSet. >> >> I couldn't see how to refactor hashCode using Arrays utility methods in a >> way that preserves its specification. So, aside from

Integrated: 8311663: Additional refactoring of Locale tests to JUnit

2023-07-19 Thread Justin Lu
On Thu, 13 Jul 2023 23:23:42 GMT, Justin Lu wrote: > Please review this PR which refactors more java.util.Locale tests to JUnit > with some minor cleanup as well. > > Although some of the files could benefit from being renamed bugNNN to > something more descriptive, this makes reviewing

Re: RFR: 8310843: Reimplement ByteArray and ByteArrayLittleEndian with Unsafe [v10]

2023-07-19 Thread Roger Riggs
On Thu, 13 Jul 2023 23:05:48 GMT, Glavo wrote: >> `ByteArray` and `ByteArrayLittleEndian` are very useful tool classes that >> can be used in many places to performance tuning. >> >> Currently they are implemented by `VarHandle`, so using them may have some >> impact on startup time. >> >>

Re: RFR: 8039165: [Doc] MessageFormat null locale generates NullPointerException [v4]

2023-07-19 Thread Naoto Sato
On Wed, 19 Jul 2023 19:41:57 GMT, Justin Lu wrote: >> Please review this PR and [CSR](https://bugs.openjdk.org/browse/JDK-8312197) >> which updates the javadoc for the constructor of MessageFormat regarding a >> `null` locale, >> >> `MessageFormat` when created with a `null` locale may throw

Re: RFR: 8039165: [Doc] MessageFormat null locale generates NullPointerException [v4]

2023-07-19 Thread Justin Lu
> Please review this PR and [CSR](https://bugs.openjdk.org/browse/JDK-8312197) > which updates the javadoc for the constructor of MessageFormat regarding a > `null` locale, > > `MessageFormat` when created with a `null` locale may throw a > `NullPointerException` either during the object

Re: RFR: 8312414: Make java.util.ServiceLoader.LANG_ACCESS final

2023-07-19 Thread Alan Bateman
On Tue, 18 Jul 2023 20:06:56 GMT, Andrey Turbanov wrote: > Found opportunity to make static `ServiceLoader.LANG_ACCESS` field `final`. src/java.base/share/classes/java/util/ServiceLoader.java line 426: > 424: > 425: private static final JavaLangAccess LANG_ACCESS = > 426:

RFR: 8312414: Make java.util.ServiceLoader.LANG_ACCESS final

2023-07-19 Thread Andrey Turbanov
Found opportunity to make static `ServiceLoader.LANG_ACCESS` field `final`. - Commit messages: - 8312414: Make java.util.ServiceLoader.LANG_ACCESS final - [PATCH] Make java.util.ServiceLoader.LANG_ACCESS final Changes: https://git.openjdk.org/jdk/pull/14926/files Webrev:

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v6]

2023-07-19 Thread Chris Plummer
On Wed, 19 Jul 2023 10:58:58 GMT, Jaikiran Pai wrote: >> Can I please get a review of this change which proposes to deprecate for >> removal the `-Xdebug` option and `-debug` option of the `java` command? >> This addresses https://bugs.openjdk.org/browse/JDK-8227229. >> >> As noted in the

Re: RFR: 8310843: Reimplement ByteArray and ByteArrayLittleEndian with Unsafe [v10]

2023-07-19 Thread Jim Laskey
On Thu, 13 Jul 2023 23:05:48 GMT, Glavo wrote: >> `ByteArray` and `ByteArrayLittleEndian` are very useful tool classes that >> can be used in many places to performance tuning. >> >> Currently they are implemented by `VarHandle`, so using them may have some >> impact on startup time. >> >>

Re: RFR: 8039165: [Doc] MessageFormat null locale generates NullPointerException [v3]

2023-07-19 Thread Justin Lu
> Please review this PR and [CSR](https://bugs.openjdk.org/browse/JDK-8312197) > which updates the javadoc for the constructor of MessageFormat regarding a > `null` locale, > > `MessageFormat` when created with a `null` locale may throw a > `NullPointerException` either during the object

Re: RFR: 8039165: [Doc] MessageFormat null locale generates NullPointerException [v2]

2023-07-19 Thread Justin Lu
On Tue, 18 Jul 2023 22:09:48 GMT, Naoto Sato wrote: >> Justin Lu has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Slight wording adjustment >> - Review: Explicitly declare when NPE thrown instead of 'may' > >

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Pavel Rappo
On Wed, 19 Jul 2023 17:15:34 GMT, Martin Buchholz wrote: > > > BitSet#equals > > > > > > Did you mean BitSet#hashCode? > > No. BitSet#equals uses the private fields and methods of its argument, which > OO purists would never allow. If the other is a subclass with a different > private

RFR: 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList

2023-07-19 Thread Matthew Donovan
This PR removes javax/rmi/ssl/SSLSocketParametersTest.sh from the ProblemList. The script was removed in JDK-8298939 and the Java code refactored to be a jtreg test. - Commit messages: - 8312320: Remove javax/rmi/ssl/SSLSocketParametersTest.sh from ProblemList Changes:

Integrated: 8312164: Refactor Arrays.hashCode for long, boolean, double, float, and Object arrays

2023-07-19 Thread Pavel Rappo
On Mon, 17 Jul 2023 09:36:35 GMT, Pavel Rappo wrote: > Please review this PR to refactor Arrays.hashCode for long[], boolean[], and > Object[]. I've been told elsewhere that it shouldn't have significant > performance implications. This pull request has now been integrated. Changeset:

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Martin Buchholz
On Wed, 19 Jul 2023 15:10:45 GMT, Pavel Rappo wrote: > > BitSet#equals > > Did you mean BitSet#hashCode? No. BitSet#equals uses the private fields and methods of its argument, which OO purists would never allow. If the other is a subclass with a different private representation, this code

Integrated: 8302987: Add uniform and spatially equidistributed bounded double streams to RandomGenerator

2023-07-19 Thread Raffaello Giulietti
On Wed, 22 Feb 2023 15:23:13 GMT, Raffaello Giulietti wrote: > The `default` method `nextDouble(double origin, double bound)` in > `java.util.random.RandomGenerator` aims at generating a uniformly and > spatially equidistributed random `double` in the left-closed and right-open > range

Re: RFR: 8301341: LinkedTransferQueue does not respect timeout for poll() [v7]

2023-07-19 Thread Doug Lea
> This now uses Thread.isVirtual to distinguish spin vs immediate block cases, > enabling re-introduction of spin control from the previous version, removing > anomalies like this one. Doug Lea has updated the pull request with a new target base due to a merge or a rebase. The incremental

Re: RFR: JDK-8310913 Move ReferencedKeyMap to jdk.internal so it may be shared [v9]

2023-07-19 Thread Roger Riggs
On Wed, 19 Jul 2023 14:04:59 GMT, Jim Laskey wrote: >> java.lang.runtime.ReferencedKeyMap was introduced to provide a concurrent >> caching scheme for Carrier objects. The technique used is generally useful >> for a variety of caching schemes and is being moved to be shared in other >> parts

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Pavel Rappo
On Wed, 19 Jul 2023 15:05:06 GMT, Martin Buchholz wrote: > BitSet#equals Did you mean BitSet#hashCode? - PR Comment: https://git.openjdk.org/jdk/pull/14868#issuecomment-1642274647

Re: RFR: JDK-8310913 Move ReferencedKeyMap to jdk.internal so it may be shared [v9]

2023-07-19 Thread Chen Liang
On Wed, 19 Jul 2023 14:04:59 GMT, Jim Laskey wrote: >> java.lang.runtime.ReferencedKeyMap was introduced to provide a concurrent >> caching scheme for Carrier objects. The technique used is generally useful >> for a variety of caching schemes and is being moved to be shared in other >> parts

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Martin Buchholz
On Thu, 13 Jul 2023 10:50:30 GMT, Pavel Rappo wrote: > Please review this PR to use modern APIs and language features to simplify > equals for BitSet. > > I couldn't see how to refactor hashCode using Arrays utility methods in a way > that preserves its specification. So, aside from

Re: RFR: 8312019: Simplify and modernize java.util.BitSet.equals

2023-07-19 Thread Martin Buchholz
On Thu, 13 Jul 2023 10:50:30 GMT, Pavel Rappo wrote: > Please review this PR to use modern APIs and language features to simplify > equals for BitSet. > > I couldn't see how to refactor hashCode using Arrays utility methods in a way > that preserves its specification. So, aside from

Re: RFR: JDK-8310913 Move ReferencedKeyMap to jdk.internal so it may be shared [v9]

2023-07-19 Thread Jim Laskey
> java.lang.runtime.ReferencedKeyMap was introduced to provide a concurrent > caching scheme for Carrier objects. The technique used is generally useful > for a variety of caching schemes and is being moved to be shared in other > parts of the jdk. The MethodType interning case is one example.

Re: RFR: JDK-8310913 Move ReferencedKeyMap to jdk.internal so it may be shared [v8]

2023-07-19 Thread Jim Laskey
On Tue, 18 Jul 2023 14:56:53 GMT, Chen Liang wrote: >> Jim Laskey has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update test to check for gc. > > src/java.base/share/classes/jdk/internal/util/ReferencedKeyMap.java line 354: > >> 352:

Re: RFR: 8305734: BitSet.get(int, int) always returns the empty BitSet when the Integer.MAX VALUE is set

2023-07-19 Thread Andy-Tatman
On Fri, 14 Apr 2023 15:53:41 GMT, Alan Bateman wrote: >> @AlanBateman >> It is a known issue that size() may return a negative integer, see >> [JDK-8230557](https://bugs.openjdk.org/browse/JDK-8230557), and the accepted >> workaround is to interpret the returned integer as an unsigned value

Re: RFR: 8312164: Refactor Arrays.hashCode for long, boolean, and Object arrays [v3]

2023-07-19 Thread Roger Riggs
On Wed, 19 Jul 2023 13:14:23 GMT, Pavel Rappo wrote: >> Please review this PR to refactor Arrays.hashCode for long[], boolean[], and >> Object[]. I've been told elsewhere that it shouldn't have significant >> performance implications. > > Pavel Rappo has updated the pull request incrementally

Re: RFR: 8312164: Refactor Arrays.hashCode for long, boolean, and Object arrays [v2]

2023-07-19 Thread Pavel Rappo
On Wed, 19 Jul 2023 13:07:01 GMT, Pavel Rappo wrote: >> Please review this PR to refactor Arrays.hashCode for long[], boolean[], and >> Object[]. I've been told elsewhere that it shouldn't have significant >> performance implications. > > Pavel Rappo has updated the pull request incrementally

Re: RFR: 8312164: Refactor Arrays.hashCode for long, boolean, and Object arrays [v3]

2023-07-19 Thread Pavel Rappo
> Please review this PR to refactor Arrays.hashCode for long[], boolean[], and > Object[]. I've been told elsewhere that it shouldn't have significant > performance implications. Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision: Fix

Re: RFR: 8312164: Refactor Arrays.hashCode for long, boolean, and Object arrays [v2]

2023-07-19 Thread Pavel Rappo
> Please review this PR to refactor Arrays.hashCode for long[], boolean[], and > Object[]. I've been told elsewhere that it shouldn't have significant > performance implications. Pavel Rappo has updated the pull request incrementally with two additional commits since the last revision: - Fix

RFR: 8303525: Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java

2023-07-19 Thread Matthew Donovan
This PR refactors the SSLSocketParametersTest by removing redundant/unnecessary classes and cleans up the logic around expected exceptions. - Commit messages: - added javadocs to new methods - 8303525: Refactor/cleanup open/test/jdk/javax/rmi/ssl/SSLSocketParametersTest.java

Re: RFR: JDK-8310913 Move ReferencedKeyMap to jdk.internal so it may be shared [v8]

2023-07-19 Thread Jim Laskey
On Tue, 18 Jul 2023 14:53:09 GMT, Chen Liang wrote: >> Jim Laskey has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update test to check for gc. > > src/java.base/share/classes/jdk/internal/util/ReferencedKeySet.java line 97: > >> 95:

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v6]

2023-07-19 Thread Jaikiran Pai
> Can I please get a review of this change which proposes to deprecate for > removal the `-Xdebug` option and `-debug` option of the `java` command? This > addresses https://bugs.openjdk.org/browse/JDK-8227229. > > As noted in the JBS issue this option is currently a no-op and has been there

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v4]

2023-07-19 Thread Alan Bateman
On Wed, 19 Jul 2023 07:05:45 GMT, Jaikiran Pai wrote: > I had initially considered that but had noticed that there's a small > difference between the generic warning message "Warning: %s option is > deprecated and may be removed in a future release." printed by the launcher > and the one

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v5]

2023-07-19 Thread Alan Bateman
On Wed, 19 Jul 2023 07:05:51 GMT, Jaikiran Pai wrote: >> Can I please get a review of this change which proposes to deprecate for >> removal the `-Xdebug` option and `-debug` option of the `java` command? >> This addresses https://bugs.openjdk.org/browse/JDK-8227229. >> >> As noted in the

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v5]

2023-07-19 Thread Alan Bateman
On Wed, 19 Jul 2023 07:07:40 GMT, Jaikiran Pai wrote: > I would like inputs on the > test/hotspot/jtreg/runtime/6294277/SourceDebugExtension.java test. That test > launches java passing it the -Xdebug option and was introduced as part of > https://bugs.openjdk.org/browse/JDK-6294277. -Xdebug

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v5]

2023-07-19 Thread Jaikiran Pai
On Wed, 19 Jul 2023 07:05:51 GMT, Jaikiran Pai wrote: >> Can I please get a review of this change which proposes to deprecate for >> removal the `-Xdebug` option and `-debug` option of the `java` command? >> This addresses https://bugs.openjdk.org/browse/JDK-8227229. >> >> As noted in the

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v4]

2023-07-19 Thread Jaikiran Pai
On Tue, 18 Jul 2023 12:41:32 GMT, Jaikiran Pai wrote: >> Can I please get a review of this change which proposes to deprecate for >> removal the `-Xdebug` option and `-debug` option of the `java` command? >> This addresses https://bugs.openjdk.org/browse/JDK-8227229. >> >> As noted in the

Re: RFR: 8227229: Deprecate the launcher -Xdebug/-debug flags that have not done anything since Java 6 [v5]

2023-07-19 Thread Jaikiran Pai
> Can I please get a review of this change which proposes to deprecate for > removal the `-Xdebug` option and `-debug` option of the `java` command? This > addresses https://bugs.openjdk.org/browse/JDK-8227229. > > As noted in the JBS issue this option is currently a no-op and has been there