Home | History | Annotate | Download | only in src

Lines Matching defs:Main

17 public class Main {
18 public static void main(String[] args) {
59 $noinline$inlineCache(new Main(), /* isSecondInvocation */ false);
64 $noinline$inlineCache2(new Main(), /* isSecondInvocation */ false);
70 $noinline$inlineCache3(new Main(), /* isSecondInvocation */ false);
76 $noinline$stackOverflow(new Main(), /* isSecondInvocation */ false);
132 public static Class $noinline$inlineCache(Main m, boolean isSecondInvocation) {
147 // to check and deoptimize if m is not of type 'Main'.
148 Main other = m.inlineCache();
153 // 'Main'.
158 // We used to wrongly optimize this call and assume 'other' was a 'Main'.
162 public static Class $noinline$inlineCache2(Main m, boolean isSecondInvocation) {
177 // to check and deoptimize if m is not of type 'Main'.
178 Main other = m.inlineCache2();
191 public static Class $noinline$inlineCache3(Main m, boolean isSecondInvocation) {
206 // to check and deoptimize if m is not of type 'Main'.
207 Main other = m.inlineCache3();
220 public Main inlineCache() {
221 return new Main();
224 public Main inlineCache2() {
228 public Main inlineCache3() {
233 return Main.class;
240 public static void $noinline$stackOverflow(Main m, boolean isSecondInvocation) {
257 // cache with Main. The second invocation of the method, will see a SubMain
307 class SubMain extends Main {
312 public Main inlineCache() {
316 public Main inlineCache2() {