Integrated: 8286176: Add JNI_VERSION_19 to jni.h and JNI spec

2022-06-16 Thread Alan Bateman
On Sat, 11 Jun 2022 15:42:34 GMT, Alan Bateman wrote: > JNI is updated in Java 19 so we need to define JNI_VERSION_19 and change > GetVersion to return this version. > > test/hotspot/jtreg/native_sanity/JniVersion.java is updated to check that > JNI_VERSION_19 is returned. The native library i

Re: RFR: 8244681: Add a warning for possibly lossy conversion in compound assignments [v12]

2022-06-16 Thread Adam Sotona
> Please review this patch adding new lint option, **lossy-conversions**, to > javac to warn about type casts in compound assignments with possible lossy > conversions. > > The new lint warning is shown if the type of the right-hand operand of a > compound assignment is not assignment compatibl

Re: RFR: 8288599: com/sun/management/OperatingSystemMXBean/TestTotalSwap.java: Expected total swap size ... but getTotalSwapSpaceSize returned ...

2022-06-16 Thread Serguei Spitsyn
On Thu, 16 Jun 2022 00:23:27 GMT, Leonid Mesnik wrote: > The failure is very intermittent and I wasn't able to reproduce it. > > I suspect that the swap might be changed during test execution so I add the > corresponding check. > > If test still fails after fix we should at least exclude this

Re: Fwd: jdwp documentation for Java 9+

2022-06-16 Thread S A
Alright, thanks for the infos! On Thu, 16 Jun 2022 at 18:37, Chris Plummer wrote: > > On 6/16/22 3:07 AM, S A wrote: > > Hi all, > > > > where can I find jwdp documentation (including list of arguments) for > > Java 9+? > > > > Background: > > > > A colleague of mine ran into this issue: > > htt

Re: Fwd: jdwp documentation for Java 9+

2022-06-16 Thread Chris Plummer
On 6/16/22 3:07 AM, S A wrote: Hi all, where can I find jwdp documentation (including list of arguments) for Java 9+? Background: A colleague of mine ran into this issue: https://bugs.openjdk.org/browse/JDK-8175050 I've since read that with Java 9+ also the hostname should be specified

Re: Fwd: jdwp documentation for Java 9+

2022-06-16 Thread Chris Plummer
On 6/16/22 6:12 AM, David Holmes wrote: On 16/06/2022 8:07 pm, S A wrote: Hi all, where can I find jwdp documentation (including list of arguments) for Java 9+? Unfortunately we seem to be missing links to all of the specs in the JDK 9, 10 and 11, documentation bundles online. They reappe

Re: RFR: 8244681: Add a warning for possibly lossy conversion in compound assignments [v11]

2022-06-16 Thread Adam Sotona
> Please review this patch adding new lint option, **lossy-conversions**, to > javac to warn about type casts in compound assignments with possible lossy > conversions. > > The new lint warning is shown if the type of the right-hand operand of a > compound assignment is not assignment compatibl

Re: Fwd: jdwp documentation for Java 9+

2022-06-16 Thread David Holmes
On 16/06/2022 8:07 pm, S A wrote: Hi all, where can I find jwdp documentation (including list of arguments) for Java 9+? Unfortunately we seem to be missing links to all of the specs in the JDK 9, 10 and 11, documentation bundles online. They reappear again with Java 12: https://docs.orac

Re: RFR: 8288064: Class initialization locking [v3]

2022-06-16 Thread Coleen Phillimore
On Wed, 15 Jun 2022 13:44:53 GMT, Coleen Phillimore wrote: >> Use a native JVM monitor and state for mutual exclusion for class linking >> and initialization. See CR for more details. >> Tested with tier1-8. tiers 1-4 on Oracle supported platforms and 5-8 on >> linux-x64-debug. There isn't an

Integrated: 8288064: Class initialization locking

2022-06-16 Thread Coleen Phillimore
On Mon, 13 Jun 2022 17:02:44 GMT, Coleen Phillimore wrote: > Use a native JVM monitor and state for mutual exclusion for class linking and > initialization. See CR for more details. > Tested with tier1-8. tiers 1-4 on Oracle supported platforms and 5-8 on > linux-x64-debug. There isn't any pl

Integrated: Merge jdk19

2022-06-16 Thread Jesper Wilhelmsson
On Thu, 16 Jun 2022 07:00:53 GMT, Jesper Wilhelmsson wrote: > Forwardport JDK 19 -> JDK 20 This pull request has now been integrated. Changeset: 3d12c022 Author:Jesper Wilhelmsson URL: https://git.openjdk.org/jdk/commit/3d12c0225b31bb359bec70aac6befd879cd0c934 Stats: 254 lines

Re: Fwd: jdwp documentation for Java 9+

2022-06-16 Thread Alan Bateman
On 16/06/2022 11:07, S A wrote: Hi all, where can I find jwdp documentation (including list of arguments) for Java 9+? I think you are looking for the "Connection and Invocation Details" page. Here's the link to the page in the JDK 18 docs: https://docs.oracle.com/en/java/javase/18/docs

Fwd: jdwp documentation for Java 9+

2022-06-16 Thread S A
Hi all, where can I find jwdp documentation (including list of arguments) for Java 9+? Background: A colleague of mine ran into this issue: https://bugs.openjdk.org/browse/JDK-8175050 I've since read that with Java 9+ also the hostname should be specified, to ensure remote debugging is possible

RFR: Merge jdk19

2022-06-16 Thread Jesper Wilhelmsson
Forwardport JDK 19 -> JDK 20 - Commit messages: - Merge - 8288533: Missing @param tags in com.sun.source classes - 8288526: ProblemList gc/stress/TestStressG1Humongous.java on windows-x64 - 8288414: Long::compress/expand samples are not correct - 8288289: Preview APIs in jdk.jdi,