Reference to a document in the sources

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Jun 13 13:53:42 UTC 2018


The file is located at:
   hotspot/doc/server-compiler/checktype.txt

I can trace it till 6u1 and its content matches the article pretty well. 
Still it'd be nice to have it published on OpenJDK wiki [1].

Best regards,
Vladimir Ivanov

[1] https://wiki.openjdk.java.net/display/HotSpot/Main

On 13/06/2018 15:55, David Holmes wrote:
> On 13/06/2018 10:32 PM, Gilles Duboscq wrote:
>> Hi Ivan,
>>
>> I don't know for sure what that file contains but it's probably very 
>> similar to the content of this paper: Fast subtype checking in the 
>> HotSpot JVM [1].
> 
> That seems like a good bet. The comment was added in September 2001 - by 
> Cliff Click.
> 
> I can't find any trace of the actual file though.
> 
> Cheers,
> David
> 
>>   Gilles
>>
>> [1]: https://dl.acm.org/citation.cfm?id=583821
>>
>> On 13/06/18 14:20, Ivan Krylov wrote:
>>> Hi all,
>>>
>>> In the sources for klass.hpp [1] there is a reference to some discussion
>>>
>>> // The fields _super_check_offset, _secondary_super_cache, 
>>> _secondary_supers
>>> // and _primary_supers all help make fast subtype checks. See big 
>>> discussion
>>> // in doc/server_compiler/checktype.txt
>>>
>>> This reference is present in JDK 11 latest sources however this 
>>> comment dates back to as far as I can trace (1.7).
>>> I assume this link is to some internal wiki page. Is it possible to 
>>> make it publicly visible somehow? It is understood that the content 
>>> is likely to be outdated.
>>>
>>> Thanks,
>>> Ivan
>>>
>>> [1] - 
>>> http://hg.openjdk.java.net/jdk/jdk/file/7bf4f1b5e438/src/hotspot/share/oops/klass.hpp#l105 
>>>
>>>
>>>
>>>
>>>


More information about the hotspot-runtime-dev mailing list