RFR (S): 8145800: [Testbug] CompilerControl: inline message differs for not inlined methods

Pavel Punegov pavel.punegov at oracle.com
Wed Jan 20 16:36:13 UTC 2016


please review the following fix for the test bug.

Issue: tests incorrectly set inlining state for methods, that belong to any of Internal subclass of both pool.sub.Klass and pool.subpack.KlassDup. 
This happen because test have an assumption that any of method callers will match only *.* directive pattern. But they could match patterns like “*Internal*”, because
a typical method caller in this case could be  pool/sub/Klass$Internal::lambda$getAllMethods$0. 

Fix: Make method callers (lambdas) do not contain any names used in the test, such as Internal, or Klass. That’s why all executable and callable creation was moved to a new SubMethodHolder class.

bug id: https://bugs.openjdk.java.net/browse/JDK-8145800 <https://bugs.openjdk.java.net/browse/JDK-8145800>
webrev: http://cr.openjdk.java.net/~ppunegov/8145800/webrev.00/ <http://cr.openjdk.java.net/~ppunegov/8145800/webrev.00/>

— Thanks,
Pavel Punegov

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

More information about the hotspot-compiler-dev mailing list