On Tue, 30 Aug 2022 20:11:51 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

>> src/hotspot/share/classfile/protectionDomainCache.hpp line 35:
>> 
>>> 33: // The amount of different protection domains used is typically 
>>> magnitudes smaller
>>> 34: // than the number of system dictionary entries (loaded classes).
>>> 35: class ProtectionDomainCacheTable : public AllStatic {
>> 
>> How about adding a comment to say what this table maps from/to? Something 
>> like:
>> 
>> // The ProtectionDomainCacheTable maps all java.security.ProtectionDomain 
>> objects that are
>> // registered by DictionaryEntry::add_protection_domain() to a unique 
>> WeakHandle.
>
> Okay, I added your comment.

I still can't decipher what this "map" actually holds. What does the unique 
WeakHandle actually refer to?

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

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

Reply via email to