Re: RFR: 8305622: Remove Permission details from jcmd man page

2023-04-05 Thread Alan Bateman
On Wed, 5 Apr 2023 21:00:55 GMT, Kevin Walls wrote: > Removal of the Permission information from the jcmd man page. > > This information is not useful in the way it is presented, and is not used in > connection with jcmd, so should be removed from that man page. > > The Permissions can be rele

Re: RFR: 8305209: JDWP exit error AGENT_ERROR_INVALID_THREAD(203): missing entry in running thread table [v3]

2023-04-05 Thread Serguei Spitsyn
On Thu, 6 Apr 2023 03:35:17 GMT, Chris Plummer wrote: >> The real purpose of this PR is to add virtual thread support to >> ThreadMemoryLeakTest.java, but this exposed bugs in both the debug agent and >> in TestScaffold, so those are being fixed also (and the debug agent bug is >> the CR being

Re: RFR: 8291555: Implement alternative fast-locking scheme [v55]

2023-04-05 Thread Fei Yang
On Wed, 5 Apr 2023 16:17:44 GMT, Roman Kennke wrote: >> This change adds a fast-locking scheme as an alternative to the current >> stack-locking implementation. It retains the advantages of stack-locking >> (namely fast locking in uncontended code-paths), while avoiding the overload >> of the

Re: RFR: 8291555: Implement alternative fast-locking scheme [v54]

2023-04-05 Thread Thomas Stuefe
On Wed, 5 Apr 2023 10:40:54 GMT, Roman Kennke wrote: >> This change adds a fast-locking scheme as an alternative to the current >> stack-locking implementation. It retains the advantages of stack-locking >> (namely fast locking in uncontended code-paths), while avoiding the overload >> of the

Re: RFR: 8305209: JDWP exit error AGENT_ERROR_INVALID_THREAD(203): missing entry in running thread table [v3]

2023-04-05 Thread Leonid Mesnik
On Thu, 6 Apr 2023 03:35:17 GMT, Chris Plummer wrote: >> The real purpose of this PR is to add virtual thread support to >> ThreadMemoryLeakTest.java, but this exposed bugs in both the debug agent and >> in TestScaffold, so those are being fixed also (and the debug agent bug is >> the CR being

Integrated: 8305607: Remove some unused test parameters in com/sun/jdi tests

2023-04-05 Thread Leonid Mesnik
On Tue, 4 Apr 2023 20:15:41 GMT, Leonid Mesnik wrote: > Some tests set debugee name which is set by startUp() method. > > The test/jdk/com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java set > classpath which is not required. This pull request has now been integrated. Changeset: 35d22930 A

Re: RFR: 8305209: JDWP exit error AGENT_ERROR_INVALID_THREAD(203): missing entry in running thread table [v3]

2023-04-05 Thread Chris Plummer
> The real purpose of this PR is to add virtual thread support to > ThreadMemoryLeakTest.java, but this exposed bugs in both the debug agent and > in TestScaffold, so those are being fixed also (and the debug agent bug is > the CR being used). > > The debug agent bug is due to a race condition

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread ExE Boss
On Wed, 5 Apr 2023 21:36:57 GMT, Glavo wrote: >> src/java.base/share/classes/jdk/internal/util/Architecture.java line 77: >> >>> 75: */ >>> 76: @ForceInline >>> 77: public static boolean isARM() { >> >> It should define what’s the difference to aarch64 for example will aarch64 >>

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread ExE Boss
On Wed, 5 Apr 2023 19:20:08 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X8

Re: RFR: 8305607: Remove some unused test parameters in com/sun/jdi tests [v2]

2023-04-05 Thread Leonid Mesnik
> Some tests set debugee name which is set by startUp() method. > > The test/jdk/com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java set > classpath which is not required. Leonid Mesnik has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev exc

Re: RFR: 8305622: Remove Permission details from jcmd man page

2023-04-05 Thread David Holmes
On Wed, 5 Apr 2023 22:48:45 GMT, Chris Plummer wrote: >> Removal of the Permission information from the jcmd man page. >> >> This information is not useful in the way it is presented, and is not used >> in connection with jcmd, so should be removed from that man page. >> >> The Permissions can

Integrated: 8303563: GetCurrentThreadCpuTime and GetThreadCpuTime need further clarification for virtual threads

2023-04-05 Thread Serguei Spitsyn
On Tue, 4 Apr 2023 20:33:46 GMT, Serguei Spitsyn wrote: > This is a follow-up to > [JDK-8302615](https://bugs.openjdk.org/browse/JDK-8302615) where > GetCurrentThreadCpuTime and GetThreadCpuTime were changed from being not > supported to optional, when called from/with a virtual thread. There

Re: RFR: 8305608: Change VMConnection to use "test.class.path"instead of "test.classes" [v2]

2023-04-05 Thread Serguei Spitsyn
On Thu, 6 Apr 2023 00:01:05 GMT, Leonid Mesnik wrote: >> Currently, VMConnection run debugee using "test.classes" as a classpath. It >> cause test failures when virtual thread factory (wrapper) is enabled and >> test is not located the same directory as TestScaffold. > > Leonid Mesnik has updat

Re: RFR: 8305608: Change VMConnection to use "test.class.path"instead of "test.classes" [v2]

2023-04-05 Thread Chris Plummer
On Thu, 6 Apr 2023 00:01:05 GMT, Leonid Mesnik wrote: >> Currently, VMConnection run debugee using "test.classes" as a classpath. It >> cause test failures when virtual thread factory (wrapper) is enabled and >> test is not located the same directory as TestScaffold. > > Leonid Mesnik has updat

Re: RFR: 8305608: Change VMConnection to use "test.class.path"instead of "test.classes" [v2]

2023-04-05 Thread Leonid Mesnik
> Currently, VMConnection run debugee using "test.classes" as a classpath. It > cause test failures when virtual thread factory (wrapper) is enabled and test > is not located the same directory as TestScaffold. Leonid Mesnik has updated the pull request incrementally with one additional commit

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread Jorn Vernee
On Wed, 5 Apr 2023 21:18:43 GMT, Glavo wrote: >> There should be no difference; I was hesitant to drop the ADDRESS_SIZE check >> without knowing more about the foreign api dependencies. ADDRESS_SIZE is >> computed (I think) from `UNSAFE.ADDRESS_SIZE * 8`. >> But I can't think of how it can be

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread Jorn Vernee
On Wed, 5 Apr 2023 19:20:08 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X8

Re: RFR: 8305622: Remove Permission details from jcmd man page

2023-04-05 Thread Chris Plummer
On Wed, 5 Apr 2023 21:00:55 GMT, Kevin Walls wrote: > Removal of the Permission information from the jcmd man page. > > This information is not useful in the way it is presented, and is not used in > connection with jcmd, so should be removed from that man page. > > The Permissions can be rele

Re: RFR: 8305622: Remove Permission details from jcmd man page

2023-04-05 Thread Kevin Walls
On Wed, 5 Apr 2023 21:00:55 GMT, Kevin Walls wrote: > Removal of the Permission information from the jcmd man page. > > This information is not useful in the way it is presented, and is not used in > connection with jcmd, so should be removed from that man page. > > The Permissions can be rele

Re: RFR: 8305622: Remove Permission details from jcmd man page

2023-04-05 Thread Chris Plummer
On Wed, 5 Apr 2023 21:00:55 GMT, Kevin Walls wrote: > Removal of the Permission information from the jcmd man page. > > This information is not useful in the way it is presented, and is not used in > connection with jcmd, so should be removed from that man page. > > The Permissions can be rele

Re: RFR: 8305608: Change VMConnection to use "test.class.path"instead of "test.classes"

2023-04-05 Thread Chris Plummer
On Wed, 5 Apr 2023 21:37:46 GMT, Leonid Mesnik wrote: >> I think the CR should explain this test.classes vs test.class.path >> difference, and also explain why the classpath requirements are different >> when using virtual threads. You say that "TestScaffold should be also in >> classpath", bu

Re: RFR: 8305607: Remove some unused test parameters in com/sun/jdi tests

2023-04-05 Thread Chris Plummer
On Tue, 4 Apr 2023 20:15:41 GMT, Leonid Mesnik wrote: > Some tests set debugee name which is set by startUp() method. > > The test/jdk/com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java set > classpath which is not required. Marked as reviewed by cjplummer (Reviewer). - PR Re

Re: RFR: 8305608: Change VMConnection to use "test.class.path"instead of "test.classes"

2023-04-05 Thread Leonid Mesnik
On Wed, 5 Apr 2023 20:09:38 GMT, Chris Plummer wrote: >> I'd prefer to always use the "test.class.path" as it is a complete classpath >> required to run test. >> >>> The better comment would be >>> // When we run jtreg with plugin, the full classpath including testlibrary >>> is required to us

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread Glavo
On Wed, 5 Apr 2023 20:28:17 GMT, Bernd wrote: > It should define what’s the difference to aarch64 for example will aarch64 > also be arm, but arm32 wont? (Or remove) I think x86 and ARM are a bit confusing in this regard, as they can refer to 32-bit architectures in a narrow sense and 32-bit o

Re: RFR: 8305622: Remove Permission details from jcmd man page

2023-04-05 Thread Kevin Walls
On Wed, 5 Apr 2023 21:24:16 GMT, Chris Plummer wrote: > What about the permissions references in the jcmd help output: > > ``` > $ jcmd 32228 help VM.version > 32228: > VM.version > Print JVM version information. > > Impact: Low > > Permission: java.util.PropertyPermission(java.vm.version, rea

Re: RFR: 8305607: Remove some unused test parameters in com/sun/jdi tests

2023-04-05 Thread Leonid Mesnik
On Wed, 5 Apr 2023 19:51:00 GMT, Chris Plummer wrote: > Do I understand correctly that this bug just caused the debuggee to appear > twice in the arguments, leading to output like the following: > > [2ms] run args: [RefTypes, RefTypes] > > In this case it was harmless because the 2nd "RefTypes

Integrated: 8305678: ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp

2023-04-05 Thread Daniel D . Daugherty
On Wed, 5 Apr 2023 21:12:14 GMT, Daniel D. Daugherty wrote: > Trivial fixes to ProblemList a couple of tests: > [JDK-8305678](https://bugs.openjdk.org/browse/JDK-8305678) ProblemList > serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp > [JDK-8305679](https://bugs.openjdk.org/browse/JD

Re: Integrated: 8305678: ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp

2023-04-05 Thread Daniel D . Daugherty
On Wed, 5 Apr 2023 21:18:28 GMT, Mikael Vidstedt wrote: >> Trivial fixes to ProblemList a couple of tests: >> [JDK-8305678](https://bugs.openjdk.org/browse/JDK-8305678) ProblemList >> serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp >> [JDK-8305679](https://bugs.openjdk.org/browse/JD

Re: Integrated: 8305678: ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp

2023-04-05 Thread Mikael Vidstedt
On Wed, 5 Apr 2023 21:12:14 GMT, Daniel D. Daugherty wrote: > Trivial fixes to ProblemList a couple of tests: > [JDK-8305678](https://bugs.openjdk.org/browse/JDK-8305678) ProblemList > serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp > [JDK-8305679](https://bugs.openjdk.org/browse/JD

Integrated: 8305678: ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp

2023-04-05 Thread Daniel D . Daugherty
Trivial fixes to ProblemList a couple of tests: [JDK-8305678](https://bugs.openjdk.org/browse/JDK-8305678) ProblemList serviceability/sa/ClhsdbInspect.java on windows-x64 in Xcomp [JDK-8305679](https://bugs.openjdk.org/browse/JDK-8305679) ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java

Re: RFR: 8305622: Remove Permission details from jcmd man page

2023-04-05 Thread Chris Plummer
On Wed, 5 Apr 2023 21:00:55 GMT, Kevin Walls wrote: > Removal of the Permission information from the jcmd man page. > > This information is not useful in the way it is presented, and is not used in > connection with jcmd, so should be removed from that man page. > > The Permissions can be rele

Re: RFR: 8305607: Remove some unused test parameters in com/sun/jdi tests

2023-04-05 Thread Alex Menkov
On Tue, 4 Apr 2023 20:15:41 GMT, Leonid Mesnik wrote: > Some tests set debugee name which is set by startUp() method. > > The test/jdk/com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java set > classpath which is not required. Marked as reviewed by amenkov (Reviewer). - PR Revi

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread Glavo
On Wed, 5 Apr 2023 20:40:32 GMT, Roger Riggs wrote: >> src/java.base/share/classes/jdk/internal/foreign/CABI.java line 48: >> >>> 46: // might be running in a 32-bit VM on a 64-bit platform. >>> 47: // addressSize will be correctly 32 >>> 48: if (Architecture.isX64() && A

RFR: 8305622: Remove Permission details from jcmd man page

2023-04-05 Thread Kevin Walls
Removal of the Permission information from the jcmd man page. This information is not useful in the way it is presented, and is not used in connection with jcmd, so should be removed from that man page. The Permissions can be relevant when connecting remotely to JMX with a Security Manager in p

Re: RFR: 8299414: JVMTI FollowReferences should support references from VirtualThread stack [v2]

2023-04-05 Thread Alex Menkov
On Wed, 5 Apr 2023 20:25:39 GMT, Chris Plummer wrote: >> Alex Menkov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> aree -> are > > test/hotspot/jtreg/serviceability/jvmti/vthread/FollowReferences/VThreadStackRefTest.java > line 43: >

Re: RFR: 8299414: JVMTI FollowReferences should support references from VirtualThread stack [v2]

2023-04-05 Thread Alex Menkov
> The fix updates JVMTI FollowReferences implementation to report references > from virtual threads: > - added heap scanning to report unmounted vthreads; > - stacks of mounted vthreads are splitted into 2 parts (vittual thread stack > and carrier thread stack), references are reported with corre

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread Roger Riggs
On Wed, 5 Apr 2023 20:31:43 GMT, Bernd wrote: >> Roger Riggs has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Correct spelling of isAARCH64 in WIndows AttachProviderImpl > > test/jdk/jdk/internal/util/ArchTest.java line 58: > >> 56:

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread Roger Riggs
On Wed, 5 Apr 2023 20:25:43 GMT, Bernd wrote: >> Roger Riggs has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Correct spelling of isAARCH64 in WIndows AttachProviderImpl > > src/java.base/share/classes/jdk/internal/foreign/CABI.java line

Re: RFR: 8291555: Implement alternative fast-locking scheme [v55]

2023-04-05 Thread Daniel D . Daugherty
On Wed, 5 Apr 2023 16:17:44 GMT, Roman Kennke wrote: >> This change adds a fast-locking scheme as an alternative to the current >> stack-locking implementation. It retains the advantages of stack-locking >> (namely fast locking in uncontended code-paths), while avoiding the overload >> of the

Re: RFR: 8299414: JVMTI FollowReferences should support references from VirtualThread stack

2023-04-05 Thread Chris Plummer
On Thu, 30 Mar 2023 22:58:12 GMT, Alex Menkov wrote: > The fix updates JVMTI FollowReferences implementation to report references > from virtual threads: > - added heap scanning to report unmounted vthreads; > - stacks of mounted vthreads are splitted into 2 parts (vittual thread stack > and ca

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread Bernd
On Wed, 5 Apr 2023 19:20:08 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X8

Re: RFR: 8299414: JVMTI FollowReferences should support references from VirtualThread stack

2023-04-05 Thread Alex Menkov
On Mon, 3 Apr 2023 23:11:49 GMT, Chris Plummer wrote: >> The fix updates JVMTI FollowReferences implementation to report references >> from virtual threads: >> - added heap scanning to report unmounted vthreads; >> - stacks of mounted vthreads are splitted into 2 parts (vittual thread stack >>

Re: RFR: 8299414: JVMTI FollowReferences should support references from VirtualThread stack

2023-04-05 Thread Chris Plummer
On Thu, 30 Mar 2023 22:58:12 GMT, Alex Menkov wrote: > The fix updates JVMTI FollowReferences implementation to report references > from virtual threads: > - added heap scanning to report unmounted vthreads; > - stacks of mounted vthreads are splitted into 2 parts (vittual thread stack > and ca

RFR: 8299414: JVMTI FollowReferences should support references from VirtualThread stack

2023-04-05 Thread Alex Menkov
The fix updates JVMTI FollowReferences implementation to report references from virtual threads: - added heap scanning to report unmounted vthreads; - stacks of mounted vthreads are splitted into 2 parts (vittual thread stack and carrier thread stack), references are reported with correct thread

Re: RFR: 8305608: Change VMConnection to use "test.class.path"instead of "test.classes"

2023-04-05 Thread Chris Plummer
On Wed, 5 Apr 2023 01:05:44 GMT, Serguei Spitsyn wrote: >> The "test.class.path" is complete classpath required to run test. It >> included test.classes as well as testlibrary and some other classes. The >> tests located in com/sun/jdi/ uses 'com/sun/jdi' as a >> testlibrary. >> The better com

Re: RFR: 8305607: Remove some unused test parameters in com/sun/jdi tests

2023-04-05 Thread Chris Plummer
On Tue, 4 Apr 2023 20:15:41 GMT, Leonid Mesnik wrote: > Some tests set debugee name which is set by startUp() method. > > The test/jdk/com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java set > classpath which is not required. Do I understand correctly that this bug just caused the debuggee

Re: RFR: 8291555: Implement alternative fast-locking scheme [v55]

2023-04-05 Thread Daniel D . Daugherty
On Wed, 5 Apr 2023 16:17:44 GMT, Roman Kennke wrote: >> This change adds a fast-locking scheme as an alternative to the current >> stack-locking implementation. It retains the advantages of stack-locking >> (namely fast locking in uncontended code-paths), while avoiding the overload >> of the

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v4]

2023-04-05 Thread Roger Riggs
> Define an internal jdk.internal.util.Architecture enumeration and static > methods to replace uses of the system property `os.arch`. > The enumeration values are defined to match those used in the build. > The initial values are: `X64, X86, IA64, ARM, AARCH64, RISCV64, S390X, > PPC64LE` > Note

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v3]

2023-04-05 Thread Roger Riggs
> Define an internal jdk.internal.util.Architecture enumeration and static > methods to replace uses of the system property `os.arch`. > The enumeration values are defined to match those used in the build. > The initial values are: `X64, X86, IA64, ARM, AARCH64, RISCV64, S390X, > PPC64LE` > Note

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v2]

2023-04-05 Thread Glavo
On Wed, 5 Apr 2023 18:53:12 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X8

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v2]

2023-04-05 Thread Roger Riggs
> Define an internal jdk.internal.util.Architecture enumeration and static > methods to replace uses of the system property `os.arch`. > The enumeration values are defined to match those used in the build. > The initial values are: `X64, X86, IA64, ARM, AARCH64, RISCV64, S390X, > PPC64LE` > Note

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply

2023-04-05 Thread Glavo
On Wed, 5 Apr 2023 17:15:13 GMT, Roger Riggs wrote: > Yes, the capitalization names should be disciplined. In the enum, there are > all uppercase, following the style of manifest constants and enums. In the > build they are always lower case. Camel case is usually used for method > names. Usin

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply

2023-04-05 Thread Roger Riggs
On Wed, 5 Apr 2023 16:23:08 GMT, Glavo wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X86, IA6

RFR: 8304915: Create jdk.internal.util.Architecture enum and apply

2023-04-05 Thread Roger Riggs
Define an internal jdk.internal.util.Architecture enumeration and static methods to replace uses of the system property `os.arch`. The enumeration values are defined to match those used in the build. The initial values are: `X64, X86, IA64, ARM, AARCH64, RISCV64, S390X, PPC64LE` Note that `amd64`

Re: RFR: 8291555: Implement alternative fast-locking scheme [v55]

2023-04-05 Thread Daniel D . Daugherty
On Wed, 5 Apr 2023 16:17:44 GMT, Roman Kennke wrote: >> This change adds a fast-locking scheme as an alternative to the current >> stack-locking implementation. It retains the advantages of stack-locking >> (namely fast locking in uncontended code-paths), while avoiding the overload >> of the

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply

2023-04-05 Thread Erik Joelsson
On Wed, 5 Apr 2023 15:58:08 GMT, Roger Riggs wrote: > Define an internal jdk.internal.util.Architecture enumeration and static > methods to replace uses of the system property `os.arch`. > The enumeration values are defined to match those used in the build. > The initial values are: `X64, X86, I

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply

2023-04-05 Thread Glavo
On Wed, 5 Apr 2023 15:58:08 GMT, Roger Riggs wrote: > Define an internal jdk.internal.util.Architecture enumeration and static > methods to replace uses of the system property `os.arch`. > The enumeration values are defined to match those used in the build. > The initial values are: `X64, X86, I

Re: RFR: 8291555: Implement alternative fast-locking scheme [v55]

2023-04-05 Thread Roman Kennke
> This change adds a fast-locking scheme as an alternative to the current > stack-locking implementation. It retains the advantages of stack-locking > (namely fast locking in uncontended code-paths), while avoiding the overload > of the mark word. That overloading causes massive problems with Li

Re: RFR: 8291555: Implement alternative fast-locking scheme [v54]

2023-04-05 Thread Daniel D . Daugherty
On Wed, 5 Apr 2023 10:40:54 GMT, Roman Kennke wrote: >> This change adds a fast-locking scheme as an alternative to the current >> stack-locking implementation. It retains the advantages of stack-locking >> (namely fast locking in uncontended code-paths), while avoiding the overload >> of the

Integrated: 8305659: ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual threads

2023-04-05 Thread Daniel D . Daugherty
A trivial fix to ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual threads. - Commit messages: - Fix the bugID to the proper one. - 8305659: ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual threads Changes: https://git.openjdk.org/jdk/pull/13351/files Webrev: h

Re: Integrated: 8305659: ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual threads

2023-04-05 Thread Tobias Hartmann
On Wed, 5 Apr 2023 13:51:59 GMT, Daniel D. Daugherty wrote: > A trivial fix to ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual > threads. Looks good with now updated bug id. - Marked as reviewed by thartmann (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/13351

Re: Integrated: 8305659: ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual threads

2023-04-05 Thread Daniel D . Daugherty
On Wed, 5 Apr 2023 14:00:25 GMT, Tobias Hartmann wrote: >> A trivial fix to ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual >> threads. > > Looks good with now updated bug id. @TobiHartmann - Thanks for the fast review! - PR Comment: https://git.openjdk.org/jdk/pull/133

Integrated: 8305659: ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual threads

2023-04-05 Thread Daniel D . Daugherty
On Wed, 5 Apr 2023 13:51:59 GMT, Daniel D. Daugherty wrote: > A trivial fix to ProblemList com/sun/jdi/PopAndInvokeTest.java with virtual > threads. This pull request has now been integrated. Changeset: 2e59d21e Author:Daniel D. Daugherty URL: https://git.openjdk.org/jdk/commit/2e5

Integrated: 8305490: CommandProcessor command "dumpclass" produces classes with invalid field descriptors

2023-04-05 Thread Adam Sotona
On Tue, 4 Apr 2023 07:44:40 GMT, Adam Sotona wrote: > CommandProcessor command "dumpclass" produces classes with invalid field > descriptors. > > Proposed patch fixes > `sun.jvm.hotspot.oops.InstanceKlass::getFieldSignatureIndex` to return > correct `getSignatureIndex` instead of invalid `ge

Re: RFR: 8291555: Implement alternative fast-locking scheme [v54]

2023-04-05 Thread Roman Kennke
> This change adds a fast-locking scheme as an alternative to the current > stack-locking implementation. It retains the advantages of stack-locking > (namely fast locking in uncontended code-paths), while avoiding the overload > of the mark word. That overloading causes massive problems with Li

Re: RFR: 8257967: JFR: Events for loaded agents [v16]

2023-04-05 Thread Markus Grönlund
On Wed, 5 Apr 2023 01:48:19 GMT, David Holmes wrote: > Renamings look good to me. Thank you for your review! - PR Comment: https://git.openjdk.org/jdk/pull/12923#issuecomment-1497209787

Re: RFR: 8257967: JFR: Events for loaded agents [v15]

2023-04-05 Thread Markus Grönlund
On Wed, 5 Apr 2023 06:55:16 GMT, Serguei Spitsyn wrote: >> I changed the names because I found it very hard to understand what the old >> names represented: "AgentLibrary" vs "Library"? "add_init_agent" vs >> "add_instrumentation_agent", or even "add_loaded_agent"? Also a bit >> confusing that

Re: RFR: 8305341: Alignment should be enforced by alignas instead of compiler specific attributes [v2]

2023-04-05 Thread Julian Waters
> C11 has been stable for a long time on all platforms, so native code can use > the standard alignas operator for alignment requirements Julian Waters 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 i

Re: RFR: 8305341: Alignment should be enforced by alignas instead of compiler specific attributes

2023-04-05 Thread Julian Waters
On Fri, 31 Mar 2023 06:07:39 GMT, Julian Waters wrote: > C11 has been stable for a long time on all platforms, so native code can use > the standard alignas operator for alignment requirements Hmm, right I'll link that issue into this one as well then - PR Comment: https://git.ope

Re: RFR: 8303563: GetCurrentThreadCpuTime and GetThreadCpuTime need further clarification for virtual threads

2023-04-05 Thread Serguei Spitsyn
On Tue, 4 Apr 2023 20:33:46 GMT, Serguei Spitsyn wrote: > This is a follow-up to > [JDK-8302615](https://bugs.openjdk.org/browse/JDK-8302615) where > GetCurrentThreadCpuTime and GetThreadCpuTime were changed from being not > supported to optional, when called from/with a virtual thread. There

Re: RFR: 8305511: Remove ignore from com/sun/jdi/PopAndInvokeTest.java

2023-04-05 Thread David Holmes
On Tue, 4 Apr 2023 03:18:37 GMT, Leonid Mesnik wrote: > Test com/sun/jdi/PopAndInvokeTest.java has > @ignore 6951287 > bug 6951287 is closed as a dup for 6417053 which is closed as not reproduced. The test fails in tier5 in our CI. - PR Comment: https://git.openjdk.org/jdk/pull/13

Re: RFR: 8257967: JFR: Events for loaded agents [v15]

2023-04-05 Thread Serguei Spitsyn
On Mon, 3 Apr 2023 12:59:12 GMT, Markus Grönlund wrote: >> src/hotspot/share/prims/agentList.cpp line 204: >> >>> 202: >>> 203: // Invokes Agent_OnAttach for agents loaded dynamically during runtime. >>> 204: jint AgentList::load_agent(const char* agent_name, const char* >>> absParam, >> >> I