RFR: 8291840: Avoid JavaCalls for setting up _java_system_loader and _java_platform_loader [v3]
Coleen Phillimore
coleenp at openjdk.org
Thu Aug 11 21:05:58 UTC 2022
On Thu, 11 Aug 2022 15:45:38 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
>> Wait, I just realized, how does this not get into trouble with GC? If we copy this OopHandle, then GC will follow it from two locations. This doesn't seem right.
>
> Hi Coleen,
>
> Let me know what needs to be done to get this right. I can file another bug to fix it together with David's suggestion above.
Sorry Calvin, this is fine. We can copy OopHandle because they're walked by their OopStorage location not where they're copied to anymore. We do this in lots of places.
-------------
PR: https://git.openjdk.org/jdk/pull/9734
More information about the hotspot-runtime-dev
mailing list