RFR: 8343741: SA jstack --mixed should print information about VM locks [v7]
Chris Plummer
cjplummer at openjdk.org
Wed Nov 20 22:20:05 UTC 2024
On Wed, 20 Nov 2024 21:50:27 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> > > The significant part of fix is refacotorrng of mutex_array to be vmStructs compatible.
> >
> >
> > Can you explain what the issue was? For the most part what I can tell is you moved a lot of code from MutexLocker to Mutex, but the reason isn't clear.
>
> IIUC The VMStructs can read classes only, so I moved _mutex_array to be a static member of Mutex. All other refactoring just needed for this change.
Ok, that makes sense. I remember now you mentioning to me a couple of weeks ago that SA can't access globals via VMStructs.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22171#issuecomment-2489627100
More information about the serviceability-dev
mailing list