On Wed, 20 Nov 2024 21:50:27 GMT, Leonid Mesnik <lmes...@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

Reply via email to