[9] RFR(M): 8076112: Add @HotSpotIntrinsicCandidate annotation to indicate methods for which Java Runtime has intrinsics (original) (raw)

Zoltán Majó zoltan.majo at oracle.com
Thu Jun 25 11:49:17 UTC 2015


Hi,

please review the patch for JDK-8076112.

Bug: https://bugs.openjdk.java.net/browse/JDK-8076112

Problem: There is need to indicate Java methods that are potentially intrinsified by JVM.

Solution: Mark intrinsified methods with the jdk.internal.HotSpotIntrinsicCandidate annotation. Add checks that are omitted by VM-level intrinsics to the library code. Add a new diagnostic flag, CheckIntrinsics. If CheckIntrinsics is enabled, the VM performs the following checks when a class C is loaded:

If a mismatch is detected, the following is done:

Webrev:

Testing:

Thank you and best regards,

Zoltan



More information about the hotspot-dev mailing list