RFR(S): 8139703 - compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest fails using -Xcomp

Dmitrij Pochepko dmitrij.pochepko at oracle.com
Wed Mar 2 18:04:49 UTC 2016

>> On Mar 2, 2016, at 5:44 AM, Dmitrij Pochepko 
>> <dmitrij.pochepko at oracle.com <mailto:dmitrij.pochepko at oracle.com>> wrote:
>> Hi,
>> please review fix for 
>> https://bugs.openjdk.java.net/browse/JDK-8139703 - [TESTBUG] 
>> compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest fails using 
>> -Xcomp
>> A test compiler/jvmci/compilerToVM/MaterializeVirtualObjectTest 
>> failed in Xcomp. After investigation, a bug related to escape 
>> analysis was filed(https://bugs.openjdk.java.net/browse/JDK-8140018).
>> So, i've switched this test to use Xmixed mode. Also, this test was 
>> changed to trigger method compilation by calling method multiple 
>> times instead of using WhiteBox.
> The reason for this change is to get proper inlining, I suppose?

It was basically done to have compilation more like in "real" situation, 
since WhiteBox compilation is kind of workaround. Also, i remember few 
rare issues with method got thrown out from compilation queue in some 
cases when using WhiteBox because of small invocation count.

>> CR: https://bugs.openjdk.java.net/browse/JDK-8139703
>> webrev: http://cr.openjdk.java.net/~dpochepk/8139703/webrev.01/
>> Thanks,
>> Dmitrij

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

More information about the hotspot-compiler-dev mailing list