RFR: 8271420: Extend CDS custom loader support to Windows platform

Yumin Qi minqi at openjdk.java.net
Wed Nov 3 16:53:11 UTC 2021


On Wed, 3 Nov 2021 16:49:22 GMT, Yumin Qi <minqi at openjdk.org> wrote:

>> src/hotspot/share/cds/heapShared.cpp line 283:
>> 
>>> 281:   }
>>> 282: 
>>> 283:   int len = (int)obj->size();
>> 
>> `obj->size()` already returns an `int` so I don't think the typecast is needed.
>> I agree with Ioi that this file shouldn't be changed.
>
> oop.hpp:105
>   // Returns the actual oop size of the object
>   inline size_t size();

I will revert the change since it is not related to custom loader.

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

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


More information about the hotspot-runtime-dev mailing list