Re: RFR: 8352088: Call of com.sun.jdi.ThreadReference.threadGroups() can lock up target VM [v6]

2025-03-28 Thread Serguei Spitsyn
On Fri, 28 Mar 2025 21:02:21 GMT, Chris Plummer wrote: >> Calling ThreadGroupReference.groups() from an event handler can cause a >> deadlock. Details in first comment. Tested with :jdk_lang on all supported >> platforms and tier1, tier2, tier3, and tier5 svc testing. > > Chris Plummer has upda

Re: RFR: 8352088: Call of com.sun.jdi.ThreadReference.threadGroups() can lock up target VM [v6]

2025-03-28 Thread Jaikiran Pai
On Fri, 28 Mar 2025 21:02:21 GMT, Chris Plummer wrote: >> Calling ThreadGroupReference.groups() from an event handler can cause a >> deadlock. Details in first comment. Tested with :jdk_lang on all supported >> platforms and tier1, tier2, tier3, and tier5 svc testing. > > Chris Plummer has upda

Re: RFR: 8352088: Call of com.sun.jdi.ThreadReference.threadGroups() can lock up target VM [v6]

2025-03-28 Thread Chris Plummer
> Calling ThreadGroupReference.groups() from an event handler can cause a > deadlock. Details in first comment. Tested with :jdk_lang on all supported > platforms and tier1, tier2, tier3, and tier5 svc testing. Chris Plummer has updated the pull request incrementally with one additional commit

Re: RFR: 8341491: Reserve and commit memory operations should be protected by NMT lock

2025-03-28 Thread Thomas Stuefe
On Thu, 27 Mar 2025 13:51:51 GMT, Robert Toyonaga wrote: > > > > > > I don't understand why we don't treat that as a fatal error OR make > > > > > > sure that all call-sites handles that error, which they don't do > > > > > > today. > > > > > > > > > > > > > > > I think release/uncommit failu

Re: RFR: 8344671: Few JFR streaming tests fail with application not alive error on MacOS 15 [v4]

2025-03-28 Thread Larry Cable
> on both Linux and MacOS libattach utilizes UNIX signal (QUIT) to cause a > target JVM (attachee) to create the socket file used as transport for > subsequent jcmds (and other attach based interactions) and to listen upon > that for such. > > it should be noted that the default behavior for QU

Re: RFR: 8344671: Few JFR streaming tests fail with application not alive error on MacOS 15 [v3]

2025-03-28 Thread Serguei Spitsyn
On Thu, 27 Mar 2025 22:27:05 GMT, Larry Cable wrote: >> on both Linux and MacOS libattach utilizes UNIX signal (QUIT) to cause a >> target JVM (attachee) to create the socket file used as transport for >> subsequent jcmds (and other attach based interactions) and to listen upon >> that for suc

Re: RFR: 8352392: AIX: implement attach API v2 and streaming output [v2]

2025-03-28 Thread Varada M
> AIX changes for attach API to support arbitrary length arguments and the > streaming output support. > serviceability/attach/AttachAPIv2/StreamingOutputTest.java test passes > > tier1, tier2 and tier3 testing is successful with fastdebug level > > JBS Issue : [JDK-8352392](https://bugs.openjd

Re: RFR: 8352392: AIX: implement attach API v2 and streaming output [v3]

2025-03-28 Thread Varada M
> AIX changes for attach API to support arbitrary length arguments and the > streaming output support. > serviceability/attach/AttachAPIv2/StreamingOutputTest.java test passes > > tier1, tier2 and tier3 testing is successful with fastdebug level > > JBS Issue : [JDK-8352392](https://bugs.openjd

Re: RFR: 8344671: Few JFR streaming tests fail with application not alive error on MacOS 15 [v3]

2025-03-28 Thread Jaikiran Pai
On Thu, 27 Mar 2025 22:13:17 GMT, Larry Cable wrote: >> src/jdk.attach/macosx/native/libattach/VirtualMachineImpl.c line 157: >> >>> 155: snprintf(msg, sizeof(msg), "pid: %d, state is not ready to >>> participate in attach handshake!", (int)pid); >>> 156: >>> 157: JNU_T

Re: RFR: 8352392: AIX: implement attach API v2 and streaming output [v3]

2025-03-28 Thread Alex Menkov
On Fri, 28 Mar 2025 09:01:26 GMT, Varada M wrote: >> AIX changes for attach API to support arbitrary length arguments and the >> streaming output support. >> serviceability/attach/AttachAPIv2/StreamingOutputTest.java test passes >> >> tier1, tier2 and tier3 testing is successful with fastdebug

Re: RFR: 8344671: Few JFR streaming tests fail with application not alive error on MacOS 15 [v3]

2025-03-28 Thread Larry Cable
On Fri, 28 Mar 2025 05:39:27 GMT, David Holmes wrote: >> Larry Cable has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Merge branch 'JDK-8344671' of github.com:larry-cable/jdk into JDK-8344671 >> - JDK-8344671: removed JFR tests from pr

Re: RFR: 8349638: Build libjdwp with SIZE optimization

2025-03-28 Thread Matthias Baesken
On Tue, 11 Feb 2025 15:56:39 GMT, Matthias Baesken wrote: > The libjdwp is currently built with LOW optimization level, it could be built > with SIZE optimization to lower the lib size by ~ 10 % on UNIX. > On Windows LOW and SIZE currently translate to the same O1 optimization flag > so no diff

Re: RFR: 8344671: Few JFR streaming tests fail with application not alive error on MacOS 15 [v3]

2025-03-28 Thread Larry Cable
On Fri, 28 Mar 2025 06:09:53 GMT, Serguei Spitsyn wrote: >> Larry Cable has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - Merge branch 'JDK-8344671' of github.com:larry-cable/jdk into JDK-8344671 >> - JDK-8344671: removed JFR tests from

Re: RFR: 8352392: AIX: implement attach API v2 and streaming output

2025-03-28 Thread Varada M
On Thu, 27 Mar 2025 21:01:29 GMT, Alex Menkov wrote: >> AIX changes for attach API to support arbitrary length arguments and the >> streaming output support. >> serviceability/attach/AttachAPIv2/StreamingOutputTest.java test passes >> >> tier1, tier2 and tier3 testing is successful with fastde