RFR: 8317538: RSA have scalability issue for high vCPU numbers [v2]
Ferenc Rakoczi
duke at openjdk.org
Mon Oct 30 14:57:34 UTC 2023
On Fri, 27 Oct 2023 22:22:46 GMT, Ben Perez <duke at openjdk.org> wrote:
>> Modified `getService` method to prevent caching of `ServiceKey`, which was negatively impacting multithreaded performance
>
> Ben Perez has updated the pull request incrementally with one additional commit since the last revision:
>
> changed fix to align with bug report
I think the best way to fix this would be what is suggested in the bug: add a new property threadId to the ServiceKey class, save the thread id (currentThread.getId()) in it in the constructor and add checking it (along with the key.matches() check) in the getService() method.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16403#issuecomment-1785395463
More information about the security-dev
mailing list