hotspot/test/compiler/jsr292/NonInlinedCall/InvokeTest.java
changeset 36331 eeeb86fd9922
parent 35108 ccb4e1f2a6cf
child 36508 5f9eee6b383b
--- a/hotspot/test/compiler/jsr292/NonInlinedCall/InvokeTest.java	Fri Feb 26 01:58:26 2016 +0300
+++ b/hotspot/test/compiler/jsr292/NonInlinedCall/InvokeTest.java	Fri Feb 26 01:58:29 2016 +0300
@@ -180,7 +180,10 @@
     static void testInterface() {
         System.out.println("linkToInterface");
 
-        // Monomorphic case (optimized virtual call)
+        // Monomorphic case (optimized virtual call), concrete target method
+        run(() -> linkToInterface(new P1(), P1.class));
+
+        // Monomorphic case (optimized virtual call), default target method
         run(() -> linkToInterface(new T(), I.class));
 
         // Megamorphic case (virtual call)