[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Re: RFR: 8274196: Crashes in VM_HeapDumper::work after JDK-8252842 [v5]
From: Lin Zang <lzang () openjdk ! java ! net>
Date: 2021-09-30 14:45:37
Message-ID: yW5ePxZxOulYdz465RBEBdKjHF3pdAkBEF4yo5KnHAA=.e99cf6e9-6a85-4394-b7bf-761e53d50454 () github ! com
[Download RAW message or body]
On Mon, 27 Sep 2021 14:28:43 GMT, Lin Zang <lzang@openjdk.org> wrote:
> > The root cause for crash in ZGC is that the JNIHandles are processed before \
> > object iteration. And ZGC would update the JNIHandles at object iteration with \
> > read barrier. So the crash is cause by accessing the invalid address which can be \
> > dummy info after zgc, and hence crash.
> > The lock rank issue can be fixed because the related mutexes are acquired in \
> > safepoint. so the safepoint_check_required could be safepoint_check_always.
> > The Epsilon issue is caused by wrong _num_dumper_thread calculated when the \
> > gang==NULL.
>
> Lin Zang has updated the pull request incrementally with one additional commit \
> since the last revision:
> remove load barrier for JNI local roots
Thanks all for your help reviewing this patch. I will integrate it.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5681
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic