RFR: 8300926: Several startup regressions ~6-70% in 21-b6 all platforms [v8]

David Holmes dholmes at openjdk.org
Fri Mar 10 05:27:18 UTC 2023


On Fri, 10 Mar 2023 02:09:54 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Robbin Ehn has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Grab lock so code() is stable
>>  - Non CHA based vtables fix
>
> src/hotspot/share/classfile/systemDictionary.cpp line 1623:
> 
>> 1621:   if (!UseVtableBasedCHA) {
>> 1622:     k->init_monitor()->lock();
>> 1623:   }
> 
> You could use a `MutexLocker` to manage this too.

Doh! No you can't this is a monitor not a mutex.

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

PR: https://git.openjdk.org/jdk/pull/12585


More information about the hotspot-dev mailing list