RFR(S) 8240244 Avoid calling resolve_super_or_fail in SystemDictionary::load_shared_class
Ioi Lam
ioi.lam at oracle.com
Tue Mar 3 17:05:36 UTC 2020
Hi Claes,
Thanks for taking your time to try out the idea!
- Ioi
On 3/3/20 7:19 AM, Claes Redestad wrote:
> On 2020-03-03 12:15, Claes Redestad wrote:
>> It seems to me that it might be possible to take the
>> SystemDictionary_lock just once in check_shared_class_super_types
>> method, spanning super and all interfaces. That might need some
>> restructuring since we can't hold that lock when going into
>> the class-loading slow path, but I think the slow path could profitably
>> be moved to the outer method outside such a locked section.
>
> I took a quick stab at prototyping this idea[1], and it does not appear
> to be an improvement over the proposed version.
>
> /Claes
>
> [1] http://cr.openjdk.java.net/~redestad/scratch/8240244_lock.00/
More information about the hotspot-runtime-dev
mailing list