|
Blocks :
|
|
|
Blocks :
|
|
|
Relates :
|
|
|
Relates :
|
Consider the following hierarchy:
interface I1 { public int m(); }
abstract class C1 implements I1 {}
class C2 extends C1 { public int m() { return 0; }}
Call site: invokevirtual C1.m() C2
The call site is monomorphic (C2.m()), but inlining during C1 compilation fails with the following message:
2217 1 b 1 jsr292.DevirtIntfMethod::test (5 bytes)
@ 1 jsr292.DevirtIntfMethod$I1::m (0 bytes) not inlineable
|