Implement a library intrinsic version of jdk.internal.misc.Unsafe::isFlattenedArray(). This implementation should mitigate some of the overhead introduced in the java.lang.invoke.VarHandle accessors and re-enable C2 optimizations around these (for example ZGC barrier elision, see JDK-8313737).
- duplicates
-
JDK-8313737 [lworld] test/hotspot/jtreg/compiler/gcbarriers/TestZGCBarrierElision.java IR rules failed with Gen Z
-
- Closed
-
- relates to
-
JDK-8313737 [lworld] test/hotspot/jtreg/compiler/gcbarriers/TestZGCBarrierElision.java IR rules failed with Gen Z
-
- Closed
-