RFR: 8314225: SIGSEGV in JavaThread::is_lock_owned [v3]

Dean Long dlong at openjdk.org
Wed May 1 20:46:55 UTC 2024


On Wed, 1 May 2024 14:28:51 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Oh, in a vframeArray there are multiple vframeArrayElement of course.
>> So vframeArray::deallocate_monitor_chunks() has plural "chunks" in its name correctly, as it deals with all the elements. 
>> 
>> There's only one MonitorChunk* in each vframeArrayElement, and that's called "_monitors".
>
>> There's only one MonitorChunk* in each vframeArrayElement, and that's called "_monitors".
> 
> If there's only one, should it not be called _monitor (singular?)

A chunk is an array of monitors.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/18940#discussion_r1586804558


More information about the hotspot-dev mailing list