RFR(M): 8134579: [TESTBUG] Some bmi tests fail if can_access_local_variables is on.

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Mon Sep 21 10:45:00 UTC 2015


I saw two problems in the intrinsics/bmi/verifycode tests in our nightly runs.
Unfortunately they did not reproduce easily.

With can_access_local_variables() switched on the pattern matched in AddnTestI/L
is messed up with an edge to the Uncommon trap for the NPE.
T/LzcntTestI/L were compiled with an uncommon trap before the call to the
Interger method.

This easily can be fixed by checking for NULL and calling the test function once
Before compiling the method.

I also fixed the name of AddnTestI/L.  They actually call TestAndnI/L internally
and thus should be named AndnTestI/L.

Please review this change.  I please need a sponsor.

Best regards,
  Goetz Lindenmaier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20150921/9287ee74/attachment.html>

More information about the hotspot-compiler-dev mailing list