JDK-8132327 : VarHandle access methods should be marked with @HotspotIntrinsicCandidate
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-07-24
  • Updated: 2015-07-24
  • Resolved: 2015-07-24
Description
...otherwise it fails the checks with -XX:+UnlockDiagnosticVMOptions -XX:+CheckIntrinsics.
Debug VM would just exit, while product VM would (apparently) stop inlining it.
Comments
Patch: http://cr.openjdk.java.net/~shade/8132327/8132327.patch
24-07-2015