[jdk8u-dev] RFR: 8049228: Improve multithreaded scalability of InetAddress cache [v3]

Andrew John Hughes andrew at openjdk.org
Mon Aug 15 09:03:24 UTC 2022


On Tue, 21 Jun 2022 02:27:18 GMT, lusou-zhangquan <duke at openjdk.org> wrote:

>> Backport JDK-8049228 to improve multithreaded scalability of InetAddress cache
>> 
>> Backport-of 250fbb065a789a303d692d698c9b69117bf6cd2c
>
> lusou-zhangquan has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
> 
>   8049228: Improve multithreaded scalability of InetAddress cache
>   
>   Backport-of 250fbb065a789a303d692d698c9b69117bf6cd2c

I've approved this one, but as I commented on the bug, it would be nice to know the reasoning for this backport. Approvals are primarily about risk assessment in the context of the whole JDK.

In this case, it's been in later JDKs for years, and is realistically borderline between being an enhancement and a bug fix (see https://bugs.openjdk.org/browse/JDK-8171346). I think it would be preferable to deal with any issues in the new code rather than the current outdated code, which is doing its own locking that is prone to error.

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

PR: https://git.openjdk.org/jdk8u-dev/pull/70


More information about the jdk8u-dev mailing list