RFR: JDK-8275704: Metaspace::contains() should be threadsafe [v2]

Thomas Stuefe stuefe at openjdk.java.net
Thu Oct 28 05:33:37 UTC 2021


On Wed, 27 Oct 2021 12:47:16 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix typo
>
> This looks good!  Thank you for fixing this.

Thanks @coleenp, @zhengyu123, @dholmes-ora!

Note that one of the next changes will be an increase in size of the individual mappings. Today they are two root chunks sized (8MB) and by making them bigger we will have fewer of them, which will make traversing the list in `contains()` faster.

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

PR: https://git.openjdk.java.net/jdk/pull/6060


More information about the hotspot-runtime-dev mailing list