test/hotspot/jtreg/vmTestbase/jit/regression/b4446672/b4446672.java
changeset 59021 cfc7bb9a5a92
parent 50366 4d85990f9c4a
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
    74       System.out.println ("GCThread run.");
    74       System.out.println ("GCThread run.");
    75       synchronized (testThread) {
    75       synchronized (testThread) {
    76         System.out.println ("GCThread synchronized.");
    76         System.out.println ("GCThread synchronized.");
    77               while (!done) {
    77               while (!done) {
    78                 gcing=true;
    78                 gcing=true;
    79                 yield();
    79                 Thread.yield();
    80                 System.gc();
    80                 System.gc();
    81               }
    81               }
    82             }
    82             }
    83         System.out.println ("GCThread done.");
    83         System.out.println ("GCThread done.");
    84     }
    84     }