RFR(S): 8185694: Replace SystemDictionaryShared::_java_platform_loader with SystemDictionary::is_platform_class_loader()
David Holmes
david.holmes at oracle.com
Wed Oct 4 06:36:39 UTC 2017
Hi Calvin,
On 4/10/2017 7:26 AM, Calvin Cheung wrote:
> bug: https://bugs.openjdk.java.net/browse/JDK-8185694
>
> The open code change for this fix involves adding the
> _java_platform_loader to the SystemDictionary class.
>
> webrev: http://cr.openjdk.java.net/~ccheung/8185694/webrev.00/
I think you should be calling getPlatformClassLoader rather than poking
at the parent field of the system loader. That way you don't have to
worry about whether or not the system loader has been customized by the
user.
Thanks,
David
> Testing:
> JPRT
> hs-tier3 on linux-x64, macosx, solaris-sparcv9, windows-x64.
>
> thanks,
> Calvin
More information about the hotspot-runtime-dev
mailing list