RFR (S) 8247296: Optimize JVM_GetDeclaringClass

Aleksey Shipilev shade at redhat.com
Fri Jul 24 07:22:51 UTC 2020


On 7/24/20 5:49 AM, David Holmes wrote:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8247296
> webrev: http://cr.openjdk.java.net/~dholmes/8247296/webrev/

This looks fine to me.

So we need to be careful that naked oop is still valid at each use, which at least implies there are
no allocations (and associated safepoints) happen anywhere in between? The patch looks safe in that
regard.

-- 
Thanks,
-Aleksey



More information about the hotspot-runtime-dev mailing list