Re: RFR: JDK-8318636: Add jcmd to print annotated process memory map [v9]

2023-11-08 Thread David Holmes
On Thu, 9 Nov 2023 07:26:46 GMT, David Holmes wrote: >> Thomas Stuefe has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix another windows error > > src/hotspot/share/services/diagnosticCommand.cpp line 1159: > >> 1157: } >> 1158: >>

Re: RFR: JDK-8318636: Add jcmd to print annotated process memory map [v9]

2023-11-08 Thread David Holmes
On Thu, 2 Nov 2023 17:42:29 GMT, Thomas Stuefe wrote: >> Analysts and supporters often use /proc/xx/maps to make sense of the memory >> footprint of a process. >> >> Interpreting the memory map correctly can help when used as a complement to >> other tools (e.g. NMT). There even exist tools

Re: RFR: JDK-8318636: Add jcmd to print annotated process memory map [v9]

2023-11-08 Thread Thomas Stuefe
On Thu, 9 Nov 2023 07:03:34 GMT, David Holmes wrote: > > > > As this adds a JCmd, doesn't this need both a CSR and a manual entry? > > > > > > > > > ``` > > > * CSR: not sure; there are precedences for going with CSR and without > > > CSR. Since we get awfully close to JDK22 freeze, I would

Re: RFR: JDK-8318636: Add jcmd to print annotated process memory map [v9]

2023-11-08 Thread David Holmes
On Wed, 8 Nov 2023 11:40:35 GMT, Johan Sjölen wrote: > > > As this adds a JCmd, doesn't this need both a CSR and a manual entry? > > > > > > ``` > > * CSR: not sure; there are precedences for going with CSR and without CSR. > > Since we get awfully close to JDK22 freeze, I would prefer for a

Re: RFR: 8315149: Add hsperf counters for CPU time of internal GC threads [v40]

2023-11-08 Thread Jonathan Joo
> 8315149: Add hsperf counters for CPU time of internal GC threads Jonathan Joo has updated the pull request incrementally with one additional commit since the last revision: Add missing cpuTimeCounters files - Changes: - all: https://git.openjdk.org/jdk/pull/15082/files -

Re: RFR: 8318895: Deoptimization results in incorrect lightweight locking stack

2023-11-08 Thread Dean Long
On Wed, 8 Nov 2023 19:00:53 GMT, Roman Kennke wrote: > See JBS issue for details. > > I basically: > - took the test-modification and turned it into its own test-case > - added test runners for lightweight- and legacy-locking, so that we keep > testing both, no matter what is the default >

Re: RFR: 8315149: Add hsperf counters for CPU time of internal GC threads [v39]

2023-11-08 Thread Jonathan Joo
> 8315149: Add hsperf counters for CPU time of internal GC threads Jonathan Joo has updated the pull request incrementally with one additional commit since the last revision: Refactor changes to counters, successful build - Changes: - all:

Re: RFR: JDK-8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case

2023-11-08 Thread Alex Menkov
On Wed, 8 Nov 2023 14:37:29 GMT, Matthias Baesken wrote: > In parseAllowedMask (file socketTransport.c) , prefixLen of mask is compared > with a maxValue (32 for IPv4, 128 otherwise). This fails on AIX if it is > larger than 32, because getaddrinfo seems to often (always ?) detect IPv4 >

RFR: 8318895: Deoptimization results in incorrect lightweight locking stack

2023-11-08 Thread Roman Kennke
See JBS issue for details. I basically: - took the test-modification and turned it into its own test-case - added test runners for lightweight- and legacy-locking, so that we keep testing both, no matter what is the default - added Axels fix (mentioned in the JBS issue) with the modification

Re: RFR: JDK-8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case

2023-11-08 Thread Chris Plummer
On Wed, 8 Nov 2023 14:37:29 GMT, Matthias Baesken wrote: > In parseAllowedMask (file socketTransport.c) , prefixLen of mask is compared > with a maxValue (32 for IPv4, 128 otherwise). This fails on AIX if it is > larger than 32, because getaddrinfo seems to often (always ?) detect IPv4 >

Re: RFR: 8319703: Serial: Remove generationSpec

2023-11-08 Thread Chris Plummer
On Wed, 8 Nov 2023 10:51:19 GMT, Albert Mingkun Yang wrote: > Simple cleanup of removing an unnecessary indirection. The real change is > only 11 LOC, using the global variables directly for young/old gen. SA changes look good. - Marked as reviewed by cjplummer (Reviewer). PR

Re: RFR: JDK-8319375: test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java runs into OutOfMemoryError: Metaspace on AIX

2023-11-08 Thread Lutz Schmidt
On Wed, 8 Nov 2023 08:29:52 GMT, Matthias Baesken wrote: > On AIX the test > test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java > runs into this error: > > java.lang.RuntimeException: java.lang.OutOfMemoryError: Metaspace > at >

Re: RFR: 8319244: implement JVMTI handshakes support for virtual threads [v4]

2023-11-08 Thread Serguei Spitsyn
On Tue, 7 Nov 2023 14:44:52 GMT, Patricio Chilano Mateo wrote: >> Serguei Spitsyn has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review: get rid of the VM_HandshakeUnmountedVirtualThread > > src/hotspot/share/prims/jvmtiEnvBase.cpp

Re: RFR: 8319244: implement JVMTI handshakes support for virtual threads [v4]

2023-11-08 Thread Serguei Spitsyn
On Tue, 7 Nov 2023 14:23:34 GMT, Patricio Chilano Mateo wrote: >> Serguei Spitsyn has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review: get rid of the VM_HandshakeUnmountedVirtualThread > > src/hotspot/share/prims/jvmtiEnvBase.cpp

Re: RFR: 8319244: implement JVMTI handshakes support for virtual threads [v4]

2023-11-08 Thread Serguei Spitsyn
On Tue, 7 Nov 2023 14:54:05 GMT, Patricio Chilano Mateo wrote: > Hi Serguei, > Looks good to me, nice code consolidation. Hi Patricio, thank you a lot for reviewing this! > src/hotspot/share/prims/jvmtiEnvBase.cpp line 1978: > >> 1976: } >> 1977: if (target_jt == nullptr) {//

Re: RFR: 8319376: ParallelGC: Forwarded objects found during heap inspection [v6]

2023-11-08 Thread Roman Kennke
On Tue, 7 Nov 2023 18:12:45 GMT, Roman Kennke wrote: >> See JBS issue for details. >> >> Testing: >> - [x] gc/logging/TestUnifiedLoggingSwitchStress.java -XX:+UseParallelGC >> - [x] tier1 -XX:+UseParallelGC >> - [x] tier2 -XX:+UseParallelGC >> - [x] hotspot_gc > > Roman Kennke has updated

Integrated: 8319376: ParallelGC: Forwarded objects found during heap inspection

2023-11-08 Thread Roman Kennke
On Fri, 3 Nov 2023 12:42:46 GMT, Roman Kennke wrote: > See JBS issue for details. > > Testing: > - [x] gc/logging/TestUnifiedLoggingSwitchStress.java -XX:+UseParallelGC > - [x] tier1 -XX:+UseParallelGC > - [x] tier2 -XX:+UseParallelGC > - [x] hotspot_gc This pull request has now been

Re: RFR: 8318706: Implement JEP 423: Region Pinning for G1 [v9]

2023-11-08 Thread Stefan Johansson
On Fri, 3 Nov 2023 14:14:36 GMT, Albert Mingkun Yang wrote: >> Parsing the separate components is easier :) Not sure if these tags in any >> way ever indicated some level of abstraction. >> >> I do not have a strong opinion here. The combinations >> >> (Pinned) >> (Allocation Failure) >>

RFR: JDK-8319382: com/sun/jdi/JdwpAllowTest.java shows failures on AIX if prefixLen of mask is larger than 32 in IPv6 case

2023-11-08 Thread Matthias Baesken
In parseAllowedMask (file socketTransport.c) , prefixLen of mask is compared with a maxValue (32 for IPv4, 128 otherwise). This fails on AIX if it is larger than 32, because getaddrinfo seems to often (always ?) detect IPv4 family, even for IPv6 addresses, so we take the wrong maxValue.

Re: RFR: JDK-8319375: test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java runs into OutOfMemoryError: Metaspace on AIX

2023-11-08 Thread Kevin Walls
On Wed, 8 Nov 2023 08:29:52 GMT, Matthias Baesken wrote: > On AIX the test > test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java > runs into this error: > > java.lang.RuntimeException: java.lang.OutOfMemoryError: Metaspace > at >

Re: RFR: 8319376: ParallelGC: Forwarded objects found during heap inspection [v6]

2023-11-08 Thread Thomas Schatzl
On Tue, 7 Nov 2023 18:12:45 GMT, Roman Kennke wrote: >> See JBS issue for details. >> >> Testing: >> - [x] gc/logging/TestUnifiedLoggingSwitchStress.java -XX:+UseParallelGC >> - [x] tier1 -XX:+UseParallelGC >> - [x] tier2 -XX:+UseParallelGC >> - [x] hotspot_gc > > Roman Kennke has updated

Re: RFR: JDK-8318636: Add jcmd to print annotated process memory map [v9]

2023-11-08 Thread Johan Sjölen
On Wed, 8 Nov 2023 11:24:43 GMT, Thomas Stuefe wrote: > > As this adds a JCmd, doesn't this need both a CSR and a manual entry? > > * CSR: not sure; there are precedences for going with CSR and without > CSR. Since we get awfully close to JDK22 freeze, I would prefer for a CSR not > to be

Re: RFR: JDK-8318636: Add jcmd to print annotated process memory map [v9]

2023-11-08 Thread Thomas Stuefe
On Wed, 8 Nov 2023 09:51:12 GMT, Johan Sjölen wrote: > As this adds a JCmd, doesn't this need both a CSR and a manual entry? - CSR: not sure; there are precedences for going with CSR and without CSR. Since we get awfully close to JDK22 freeze, I would prefer for a CSR not to be needed. Also

RFR: 8319703: Serial: Remove generationSpec

2023-11-08 Thread Albert Mingkun Yang
Simple cleanup of removing an unnecessary indirection. The real change is only 11 LOC, using the global variables directly for young/old gen. - Commit messages: - s1-remove-gen-spec Changes: https://git.openjdk.org/jdk/pull/16554/files Webrev:

Re: RFR: JDK-8318636: Add jcmd to print annotated process memory map [v9]

2023-11-08 Thread Johan Sjölen
On Thu, 2 Nov 2023 17:42:29 GMT, Thomas Stuefe wrote: >> Analysts and supporters often use /proc/xx/maps to make sense of the memory >> footprint of a process. >> >> Interpreting the memory map correctly can help when used as a complement to >> other tools (e.g. NMT). There even exist tools

RFR: JDK-8319375: test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java runs into OutOfMemoryError: Metaspace on AIX

2023-11-08 Thread Matthias Baesken
On AIX the test test/hotspot/jtreg/serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java runs into this error: java.lang.RuntimeException: java.lang.OutOfMemoryError: Metaspace at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.invocationHelper(JavacTaskImpl.java:168) at