Reference to a document in the sources
David Holmes
david.holmes at oracle.com
Wed Jun 13 21:50:39 UTC 2018
On 14/06/2018 7:42 AM, David Holmes wrote:
> On 13/06/2018 11:53 PM, Vladimir Ivanov wrote:
>> The file is located at:
>> hotspot/doc/server-compiler/checktype.txt
>
> ?? Help me out with the initial part of that path please. :) Where is
> this "hotspot" directory?
Ah I see. hotspot/doc appeared in the workspace circa 1.4, but was not
in 1.3.1. However the 1.4 workspace doesn't have server-compiler in it,
and as that post-dates when the comment was added (2002 versus 2001) I
was only looking for it earlier.
Cheers,
David
> Thanks,
> David
>
>> 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