RFR: 8279917: Refactor subclassAudits in Thread to use ClassValue [v2]

Alan Bateman alanb at openjdk.java.net
Wed Jan 26 19:13:26 UTC 2022


On Thu, 13 Jan 2022 12:19:03 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

>> Thread.java would benefit from a refactoring similar to JDK-8278065 to use ClassValue instead of the somewhat problematic WeakClassKey mechanism.
>> 
>> Testing:
>>  - [x] tier1
>>  - [x] tier2
>>  - [x] tier3
>
> Roman Kennke has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove obsolete comment

I think this looks okay. It's only used when running with a SecurityManager so unlikely to be used in most deployments.

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

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


More information about the core-libs-dev mailing list