Package org.gridkit.benchmark.gc

Source Code of org.gridkit.benchmark.gc.YoungGcStarter

package org.gridkit.benchmark.gc;

import java.io.IOException;

import org.gridkit.benchmark.gc.YoungGCPauseBenchmark.TestResult;
import org.junit.Assert;
import org.junit.Test;

public class YoungGcStarter {

  @Test
  public void go() throws IOException {
    YoungGCPauseBenchmark bench = new YoungGCPauseBenchmark();
    bench.headRoom = 64;
    bench.printEvents = true;
    TestResult result = bench.benchmark();
    Assert.assertTrue(result != null);
    System.out.println(result);
  }
 
}
TOP

Related Classes of org.gridkit.benchmark.gc.YoungGcStarter

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.