public class UnitializedArrayBenchmark extends AbstractMicrobenchmark
AbstractMicrobenchmark.HarnessExecutorDEFAULT_FORKSBASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| 构造器和说明 |
|---|
UnitializedArrayBenchmark() |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
allocateInitializedByteArray() |
byte[] |
allocateUninitializedByteArray() |
protected java.lang.String[] |
jvmArgs() |
void |
setupTrial() |
getForks, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, runpublic void setupTrial()
protected java.lang.String[] jvmArgs()
jvmArgs 在类中 AbstractMicrobenchmarkpublic byte[] allocateInitializedByteArray()
public byte[] allocateUninitializedByteArray()