RFR: 8294609: C2: Improve inlining of methods with unloaded signature classes [v2]

Vladimir Ivanov vlivanov at openjdk.org
Thu Sep 29 23:59:30 UTC 2022


On Thu, 29 Sep 2022 22:11:43 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix test
>
> src/hotspot/share/ci/ciMethod.cpp line 1164:
> 
>> 1162: // ciMethod::has_unloaded_classes_in_signature
>> 1163: bool ciMethod::has_unloaded_classes_in_signature() {
>> 1164:   for (ciSignatureStream str(signature()); !str.is_done(); str.next()) {
> 
> Add comment here why we don't go into VM for the answer to avoid confusion in a future.

I slightly reshuffled the code and added comments. Does it look clearer now?

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

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


More information about the hotspot-compiler-dev mailing list