1 import org.openjdk.benchmarks.cont.Thaw;
   2 
   3 public class ThawDriver {
   4     public static void main(String[] args) {
   5         Thaw bm = new Thaw();
   6         bm.paramCount = 3;
   7         bm.stackDepth = 5;
   8 
   9         int n = 1000_000;
  10 
  11         System.out.println("Running " + n + " iterations");
  12         bm.setup();
  13         for (int i=0; i<n; i++) {
  14             bm.justContinue();
  15         }
  16         System.out.println("Done");
  17     }
  18 }