[9] RFR(S): 8138651: -XX:DisableIntrinsic matches intrinsics overly eagerly

Zoltán Majó zoltan.majo at oracle.com
Tue Oct 6 12:00:21 UTC 2015


Hi,


please review the patch for JDK-8138651.

https://bugs.openjdk.java.net/browse/JDK-8138651

Problem: The DisableIntrinsic flag does not disable intrinsics 
accurately. For example, -XX:DisableIntrinsic=_copyOfRange disables both 
the intrinsic with the ID _copyOfRange and the intrinsic with the _copyOf.

Solution: Change the processing of the DisableIntrinsic flag (both 
globally and on a per-method level).

Webrev: http://cr.openjdk.java.net/~zmajo/8138651/webrev.00/

Testing:
- JPRT (testset hotspot);
- executed the the newly added test 
compiler/intrinsics/IntrinsicDisabledTest.java with/without the fix on 
all platforms, the test behaves as expected.

Thank you and best regards,


Zoltan



More information about the hotspot-compiler-dev mailing list