Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v5]

2023-09-27 Thread David Holmes
On Thu, 28 Sep 2023 06:11:52 GMT, Varada M wrote: >> Similar issue [JDK-8303549](https://bugs.openjdk.org/browse/JDK-8303549) >> where AttachCurrentThread is failing on AIX due t stack size issue. >> Test cases: >> runtime/jni/terminatedThread/TestTerminatedThread.java >> vmTestbase/nsk/jvmti/

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v5]

2023-09-27 Thread Varada M
On Wed, 27 Sep 2023 15:54:15 GMT, Chris Plummer wrote: >> Any test fixed by this PR should be removed from the problem list by this >> PR. If there are any tests problem listed with this CR that still fail after >> it is fixed, then they need to have a new CR filed for them, and the problem >>

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v4]

2023-09-27 Thread Varada M
On Thu, 28 Sep 2023 04:30:16 GMT, David Holmes wrote: >> Varada M has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Added pthread attritubes to libterminatedThread.c > > test/hotspot/jtreg/vmTestbase/nsk/share/native/native_thread.cpp line

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v5]

2023-09-27 Thread Varada M
> Similar issue [JDK-8303549](https://bugs.openjdk.org/browse/JDK-8303549) > where AttachCurrentThread is failing on AIX due t stack size issue. > Test cases: > runtime/jni/terminatedThread/TestTerminatedThread.java > vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.

Re: RFR: 8309599: WeakHandle and OopHandle release should clear obj pointer

2023-09-27 Thread Kim Barrett
On Tue, 26 Sep 2023 12:47:42 GMT, Coleen Phillimore wrote: > This change makes WeakHandle and OopHandle release null out the obj pointer, > at the cost of making the release function non-const and some changes that > propagated from that. This enables ObjectMonitor code to test for null to >

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 20:45:00 GMT, Ashutosh Mehra wrote: > Please review trivial fix to display class name in the output of "where" > command of SA. > > Testing: hotspot_serviceability Okay looks reasonable then. Thanks - Marked as reviewed by dholmes (Reviewer). PR Review: http

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v4]

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 08:40:48 GMT, Varada M wrote: >> Similar issue [JDK-8303549](https://bugs.openjdk.org/browse/JDK-8303549) >> where AttachCurrentThread is failing on AIX due t stack size issue. >> Test cases: >> runtime/jni/terminatedThread/TestTerminatedThread.java >> vmTestbase/nsk/jvmti/

Re: RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads

2023-09-27 Thread Alex Menkov
On Wed, 27 Sep 2023 07:25:50 GMT, Alan Bateman wrote: > > Is there anything to tell you which carrier thread is associated with which > > mounted VThread? > > The carrier and virtual threads are distinct and the HPROF format doesn't > have record types to support associations like this. Howeve

Integrated: 8316658: serviceability/jvmti/RedefineClasses/RedefineLeakThrowable.java fails intermittently

2023-09-27 Thread Jean-Philippe Bempel
On Fri, 22 Sep 2023 08:36:10 GMT, Jean-Philippe Bempel wrote: > increase Metaspace size and loop count to avoid OOME in nominal case This pull request has now been integrated. Changeset: 84390dd0 Author:Jean-Philippe Bempel Committer: David Holmes URL: https://git.openjdk.org/jdk/

Re: RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads [v2]

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 21:51:38 GMT, Alex Menkov wrote: >> test/lib/jdk/test/lib/hprof/model/Root.java line 145: >> >>> 143: >>> 144: public long getReferrerId() { >>> 145: return refererId; >> >> Spelling: `referrerId` > > This is existing field in the class. > There are a number (45

Re: RFR: 8314502: Change the comparator taking version of GrowableArray::find to be a template method [v5]

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 08:48:27 GMT, Afshin Zafari wrote: >> src/hotspot/share/gc/parallel/mutableNUMASpace.hpp line 1: >> >>> 1: /* >> >> This seems an unrelated change. > > This change came after fixing a merge conflict. > In `mutableNUMASpace.cpp`, at lines 163, 182, 202 and 586 the `find` func

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread Ashutosh Mehra
On Thu, 28 Sep 2023 01:57:59 GMT, David Holmes wrote: >> Please review trivial fix to display class name in the output of "where" >> command of SA. >> >> Testing: hotspot_serviceability > > Has the change been tested in the HSDB GUI as requested in the JBS issue? @dholmes-ora thanks for pointi

RFR: JDK-8316778: test hprof lib: invalid array element type from JavaValueArray.elementSize

2023-09-27 Thread Alex Menkov
The change fixes 2 issues in hprof test library. The issue were discovered during test development (logging values of dumped heap objects). - JavaValueArray.elementSize cannot determine size of the array elements and throws RuntimeException: invalid array element type - JavaObject.toString() meth

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 20:45:00 GMT, Ashutosh Mehra wrote: > Please review trivial fix to display class name in the output of "where" > command of SA. > > Testing: hotspot_serviceability Has the change been tested in the HSDB GUI as requested in the JBS issue? - PR Comment: https://

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 23:04:22 GMT, Ashutosh Mehra wrote: >> Can you add to the CR a copy of the `where` output after this fix? Just a >> short snippet equivalent to the broken output already in the CR. thanks. > > @plummercj for some reason the bot refuses to recognize my committer status > in j

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 20:45:00 GMT, Ashutosh Mehra wrote: > Please review trivial fix to display class name in the output of "where" > command of SA. > > Testing: hotspot_serviceability https://wiki.openjdk.org/display/SKARA#Skara-AssociatingyourGitHubaccountandyourOpenJDKusername -

Re: RFR: 8309599: WeakHandle and OopHandle release should clear obj pointer

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 12:19:31 GMT, Coleen Phillimore wrote: > OopHandles and WeakHandles don't have destructors Hmmm okay - it seems fragile to have a psuedo-destructor in `release()`. - PR Comment: https://git.openjdk.org/jdk/pull/15920#issuecomment-1738324423

Re: RFR: 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock" [v2]

2023-09-27 Thread David Holmes
On Wed, 27 Sep 2023 17:54:51 GMT, Roman Kennke wrote: >> The SA can run concurrently with Java threads, SA code that inspects locking >> state should be able to deal with that. On the other hand, the particular >> code is only used in printing routine and is not expected to be precise. >> When

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread Ashutosh Mehra
On Wed, 27 Sep 2023 21:07:18 GMT, Chris Plummer wrote: >> Please review trivial fix to display class name in the output of "where" >> command of SA. >> >> Testing: hotspot_serviceability > > Can you add to the CR a copy of the `where` output after this fix? Just a > short snippet equivalent to

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread Ashutosh Mehra
On Wed, 27 Sep 2023 21:07:18 GMT, Chris Plummer wrote: >> Please review trivial fix to display class name in the output of "where" >> command of SA. >> >> Testing: hotspot_serviceability > > Can you add to the CR a copy of the `where` output after this fix? Just a > short snippet equivalent to

Re: RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads

2023-09-27 Thread Alex Menkov
On Wed, 27 Sep 2023 07:25:50 GMT, Alan Bateman wrote: > Is there anything to tell you which carrier thread is associated with which > mounted VThread? No (at least for now). I'm not sure if we need this information in heap dump (and if we need a way to differentiate platform(carrier)/virtual th

Re: RFR: 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code

2023-09-27 Thread Chris Plummer
On Wed, 27 Sep 2023 20:23:03 GMT, Leonid Mesnik wrote: > The main.wrapper was the first name for jtreg test thread factory plugin. > However, during integration of this feature in jtreg it was decided to use > test.thread.factory name. So this fix just renames "main.wrapper" property to > "te

Re: RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads [v2]

2023-09-27 Thread Alex Menkov
On Wed, 27 Sep 2023 07:11:26 GMT, David Holmes wrote: >> Alex Menkov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> David's feedback > > test/hotspot/jtreg/serviceability/jvmti/vthread/HeapDump/VtreadInHeapDump.java > line 1: > >> 1:

Re: RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads [v2]

2023-09-27 Thread Alex Menkov
> This is subtask of JDK-8299426: Heap dump does not contain virtual Thread > stack references > The change: > - reorganize thread-related code/prepare it to use for unmounted vthreads: > - new ThreadDumper class caches stack frames, thread serial num, frame > serial number (trace serial number

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread Chris Plummer
On Wed, 27 Sep 2023 20:45:00 GMT, Ashutosh Mehra wrote: > Please review trivial fix to display class name in the output of "where" > command of SA. > > Testing: hotspot_serviceability Looks good. Thanks! - Marked as reviewed by cjplummer (Reviewer). PR Review: https://git.openjd

Re: RFR: 8309271: A way to align already compiled methods with compiler directives [v7]

2023-09-27 Thread Dmitry Chuyko
> Compiler Control (https://openjdk.org/jeps/165) provides method-context > dependent control of the JVM compilers (C1 and C2). The active directive > stack is built from the directive files passed with the > `-XX:CompilerDirectivesFile` diagnostic command-line option and the > Compiler.add_dir

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread Ashutosh Mehra
On Wed, 27 Sep 2023 20:45:00 GMT, Ashutosh Mehra wrote: > Please review trivial fix to display class name in the output of "where" > command of SA. > > Testing: hotspot_serviceability Updated CR with the output of `where` command after the fix. - PR Comment: https://git.openjdk.o

Re: RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread Chris Plummer
On Wed, 27 Sep 2023 20:45:00 GMT, Ashutosh Mehra wrote: > Please review trivial fix to display class name in the output of "where" > command of SA. > > Testing: hotspot_serviceability Can you add to the CR a copy of the `where` output after this fix? Just a short snippet equivalent to the bro

RFR: 8313631: SA: stack trace printed using "where" command does not show class name

2023-09-27 Thread Ashutosh Mehra
Please review trivial fix to display class name in the output of "where" command of SA. Testing: hotspot_serviceability - Commit messages: - 8313631: SA: stack trace printed using "where" command does not show class name Changes: https://git.openjdk.org/jdk/pull/15952/files Webr

RFR: 8303773: Replace "main.wrapper" with "test.thread.factory" property in test code

2023-09-27 Thread Leonid Mesnik
The main.wrapper was the first name for jtreg test thread factory plugin. However, during integration of this feature in jtreg it was decided to use test.thread.factory name. So this fix just renames "main.wrapper" property to "test.thread.factory" so it is more compliant with jtreg naming. Als

Re: RFR: 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock" [v2]

2023-09-27 Thread Chris Plummer
On Wed, 27 Sep 2023 17:54:51 GMT, Roman Kennke wrote: >> The SA can run concurrently with Java threads, SA code that inspects locking >> state should be able to deal with that. On the other hand, the particular >> code is only used in printing routine and is not expected to be precise. >> When

Re: RFR: 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock" [v2]

2023-09-27 Thread Roman Kennke
> The SA can run concurrently with Java threads, SA code that inspects locking > state should be able to deal with that. On the other hand, the particular > code is only used in printing routine and is not expected to be precise. When > resolving an anonymous owner, we may not find one, because

Re: RFR: 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"

2023-09-27 Thread Chris Plummer
On Wed, 27 Sep 2023 16:59:17 GMT, Roman Kennke wrote: >> I think given this, issuing a warning is the appropriate thing to do. The >> warning might want to mention that the failure is likely because we are in >> the middle of a GC. That way the user has some context as to why SA info is >> not

Re: RFR: 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"

2023-09-27 Thread Roman Kennke
On Wed, 27 Sep 2023 15:42:51 GMT, Chris Plummer wrote: >> I think you are right @plummercj - I'm adding details to the JBS issue. > > I think given this, issuing a warning is the appropriate thing to do. The > warning might want to mention that the failure is likely because we are in > the midd

Re: RFR: 8299560: Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization

2023-09-27 Thread Kevin Walls
On Wed, 27 Sep 2023 10:36:08 GMT, Kevin Walls wrote: >> What was the cause of all the 0's in the output, and how did you get rid of >> them so you could see the assert message? > > Thanks Leonid! > > On the \u content, I don't see that mess in the console (cygwin) if I > make these asserts

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v4]

2023-09-27 Thread Chris Plummer
On Wed, 27 Sep 2023 15:52:47 GMT, Chris Plummer wrote: >> Is it like we should create separate PR to remove/add tests from ProblemList >> or can I remove those from ProblemList in this PR itself. One of the test >> "TestTerminatedThread.java" still fails so it should be under ProblemList >> it

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v4]

2023-09-27 Thread Chris Plummer
On Wed, 27 Sep 2023 08:13:21 GMT, Varada M wrote: >> test/hotspot/jtreg/ProblemList.txt line 155: >> >>> 153: >>> 154: vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java >>> 8202971 generic-all >>> 155: >>> vmTestbase/nsk/jvmti/scenarios/jni_interception/JI06/ji06t001/TestDesc

Integrated: 8299560: Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization

2023-09-27 Thread Kevin Walls
On Thu, 14 Sep 2023 17:24:39 GMT, Kevin Walls wrote: > This assert happens rarely, but is seen in testing a few times. > > getCurrentQueryIndexForProcess comments that it can return -1, but it asserts > that the value is >=0 > > If we let it return -1 for failure as its comment documents, the

Re: RFR: 8299560: Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization

2023-09-27 Thread Chris Plummer
On Thu, 14 Sep 2023 17:24:39 GMT, Kevin Walls wrote: > This assert happens rarely, but is seen in testing a few times. > > getCurrentQueryIndexForProcess comments that it can return -1, but it asserts > that the value is >=0 > > If we let it return -1 for failure as its comment documents, the

Re: RFR: 8316401: sun/tools/jhsdb/JStackStressTest.java failed with "InternalError: We should have found a thread that owns the anonymous lock"

2023-09-27 Thread Chris Plummer
On Wed, 27 Sep 2023 04:17:57 GMT, David Holmes wrote: >> I wonder if we are in the middle of a GC, the object has been moved, and the >> lock stack object reference has been updated but the monitor reference has >> not (or vice versa). > > I think you are right @plummercj - I'm adding details t

Integrated: 8315966: Relativize initial_sp in interpreter frames

2023-09-27 Thread Fredrik Bredberg
On Tue, 19 Sep 2023 09:00:01 GMT, Fredrik Bredberg wrote: > Relativize initial_sp in interpreter frames. > > By changing the "initial_sp" (AKA "monitor_block_top" or "monitors" on > PowerPC) member in interpreter frames from being an absolute address into an > offset that is relative to the f

Re: RFR: 8315966: Relativize initial_sp in interpreter frames [v3]

2023-09-27 Thread Fredrik Bredberg
On Wed, 27 Sep 2023 09:07:23 GMT, Fredrik Bredberg wrote: >> Relativize initial_sp in interpreter frames. >> >> By changing the "initial_sp" (AKA "monitor_block_top" or "monitors" on >> PowerPC) member in interpreter frames from being an absolute address into an >> offset that is relative to

Re: RFR: 8309599: WeakHandle and OopHandle release should clear obj pointer

2023-09-27 Thread Coleen Phillimore
On Tue, 26 Sep 2023 12:47:42 GMT, Coleen Phillimore wrote: > This change makes WeakHandle and OopHandle release null out the obj pointer, > at the cost of making the release function non-const and some changes that > propagated from that. This enables ObjectMonitor code to test for null to >

Re: RFR: 8299560: Assertion failed: currentQueryIndex >= 0 && currentQueryIndex < numberOfJavaProcessesAtInitialization

2023-09-27 Thread Kevin Walls
On Tue, 26 Sep 2023 19:28:47 GMT, Chris Plummer wrote: >> Fine then. Thank you for the explanation. > > What was the cause of all the 0's in the output, and how did you get rid of > them so you could see the assert message? Thanks Leonid! On the \u content, I don't see that mess in the con

Re: RFR: 8315966: Relativize initial_sp in interpreter frames [v3]

2023-09-27 Thread Fei Yang
On Wed, 27 Sep 2023 09:07:23 GMT, Fredrik Bredberg wrote: >> Relativize initial_sp in interpreter frames. >> >> By changing the "initial_sp" (AKA "monitor_block_top" or "monitors" on >> PowerPC) member in interpreter frames from being an absolute address into an >> offset that is relative to

Re: RFR: 8315966: Relativize initial_sp in interpreter frames [v3]

2023-09-27 Thread Fredrik Bredberg
> Relativize initial_sp in interpreter frames. > > By changing the "initial_sp" (AKA "monitor_block_top" or "monitors" on > PowerPC) member in interpreter frames from being an absolute address into an > offset that is relative to the frame pointer, we don't need to change the > value as we free

Re: RFR: 8314502: Change the comparator taking version of GrowableArray::find to be a template method [v5]

2023-09-27 Thread Afshin Zafari
On Tue, 26 Sep 2023 21:05:22 GMT, David Holmes wrote: >> Afshin Zafari has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains five commits: >> >> - Merge branch 'master' into _8314502 >> - changed the `E` param of find methods to `cons

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v4]

2023-09-27 Thread Varada M
> Similar issue [JDK-8303549](https://bugs.openjdk.org/browse/JDK-8303549) > where AttachCurrentThread is failing on AIX due t stack size issue. > Test cases: > runtime/jni/terminatedThread/TestTerminatedThread.java > vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v3]

2023-09-27 Thread Varada M
> Similar issue [JDK-8303549](https://bugs.openjdk.org/browse/JDK-8303549) > where AttachCurrentThread is failing on AIX due t stack size issue. > Test cases: > runtime/jni/terminatedThread/TestTerminatedThread.java > vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.

Integrated: 8299915: Remove ArrayAllocatorMallocLimit and associated code

2023-09-27 Thread Afshin Zafari
On Thu, 21 Sep 2023 12:02:24 GMT, Afshin Zafari wrote: > 1. `ArrayAllocatorMallocLimit` is removed. The test cases that tested it also > are removed. > 2. `AllocArrayAllocator` instances are replaced with `MallocArrayAllocator`. > 3. The signature of `CHeapBitMap::free(ptr, size)` is kept as it

Re: RFR: 8299915: Remove ArrayAllocatorMallocLimit and associated code [v4]

2023-09-27 Thread Afshin Zafari
On Tue, 26 Sep 2023 21:08:36 GMT, Coleen Phillimore wrote: >> Afshin Zafari has updated the pull request incrementally with one additional >> commit since the last revision: >> >> MetaspaceSize and its lower bound is used. > > This looks good to me. Thank you @coleenp and @dholmes-ora for yo

Re: RFR: 8316417: ObjectMonitorIterator does not return the most recent monitor and is incorrect if no monitors exists [v6]

2023-09-27 Thread Axel Boldt-Christmas
On Thu, 21 Sep 2023 06:21:25 GMT, Axel Boldt-Christmas wrote: >> ObjectMonitorIterator fails to return the most resent monitor added. It >> start with returning the `nextOM()` ObjectMonitor from the `_head` >> ObjectMonitor but fails to ever return the `_head` ObjectMonitor. >> The current imp

Integrated: 8316417: ObjectMonitorIterator does not return the most recent monitor and is incorrect if no monitors exists

2023-09-27 Thread Axel Boldt-Christmas
On Mon, 18 Sep 2023 09:54:18 GMT, Axel Boldt-Christmas wrote: > ObjectMonitorIterator fails to return the most resent monitor added. It start > with returning the `nextOM()` ObjectMonitor from the `_head` ObjectMonitor > but fails to ever return the `_head` ObjectMonitor. > The current impleme

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v2]

2023-09-27 Thread Varada M
On Tue, 26 Sep 2023 22:38:21 GMT, David Holmes wrote: > You should be changing the thread creation logic in > ./nsk/share/native/native_thread.cpp for the nsk test changes. > > Thanks Thank you @dholmes-ora .I have applied changes there. Please review the code change - PR Commen

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v2]

2023-09-27 Thread Varada M
On Tue, 26 Sep 2023 15:48:01 GMT, Chris Plummer wrote: >> Varada M has updated the pull request incrementally with two additional >> commits since the last revision: >> >> - AttachCurrentThread() failure solution >> - Revert "AttachCurrentThread() failure solution" >> >>This reverts c

Re: RFR: JDK-8219652: [aix] Tests failing with JNI attach problems. [v2]

2023-09-27 Thread Varada M
> Similar issue [JDK-8303549](https://bugs.openjdk.org/browse/JDK-8303549) > where AttachCurrentThread is failing on AIX due t stack size issue. > Test cases: > runtime/jni/terminatedThread/TestTerminatedThread.java > vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.

Re: RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads

2023-09-27 Thread Alan Bateman
On Wed, 27 Sep 2023 07:18:27 GMT, David Holmes wrote: > Is there anything to tell you which carrier thread is associated with which > mounted VThread? The carrier and virtual threads are distinct and the HPROF format doesn't have record types to support associations like this. However, your qu

Re: RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads

2023-09-27 Thread David Holmes
On Thu, 21 Sep 2023 20:06:13 GMT, Alex Menkov wrote: > This is subtask of JDK-8299426: Heap dump does not contain virtual Thread > stack references > The change: > - reorganize thread-related code/prepare it to use for unmounted vthreads: > - new ThreadDumper class caches stack frames, thread

Re: RFR: JDK-8316691: Heap dump: separate stack traces for mounted virtual threads

2023-09-27 Thread David Holmes
On Thu, 21 Sep 2023 20:06:13 GMT, Alex Menkov wrote: > This is subtask of JDK-8299426: Heap dump does not contain virtual Thread > stack references > The change: > - reorganize thread-related code/prepare it to use for unmounted vthreads: > - new ThreadDumper class caches stack frames, thread

Re: RFR: 8309599: WeakHandle and OopHandle release should clear obj pointer

2023-09-27 Thread David Holmes
On Tue, 26 Sep 2023 12:47:42 GMT, Coleen Phillimore wrote: > This change makes WeakHandle and OopHandle release null out the obj pointer, > at the cost of making the release function non-const and some changes that > propagated from that. This enables ObjectMonitor code to test for null to >