public class PrivilegedSocketOperationsBenchmark extends AbstractMicrobenchmark
限定符和类型 | 类和说明 |
---|---|
static class |
PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty |
static class |
PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled |
AbstractMicrobenchmark.HarnessExecutor
DEFAULT_FORKS
BASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS
构造器和说明 |
---|
PrivilegedSocketOperationsBenchmark() |
限定符和类型 | 方法和说明 |
---|---|
java.nio.channels.ServerSocketChannel |
testWithoutSM(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) |
java.nio.channels.ServerSocketChannel |
testWithoutSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) |
java.nio.channels.ServerSocketChannel |
testWithoutSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) |
java.nio.channels.ServerSocketChannel |
testWithSM(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) |
java.nio.channels.ServerSocketChannel |
testWithSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) |
java.nio.channels.ServerSocketChannel |
testWithSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) |
getForks, jvmArgs, newOptionsBuilder
getMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, run
public java.nio.channels.ServerSocketChannel testWithSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws java.io.IOException
java.io.IOException
public java.nio.channels.ServerSocketChannel testWithSM(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws java.io.IOException
java.io.IOException
public java.nio.channels.ServerSocketChannel testWithSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws java.io.IOException
java.io.IOException
public java.nio.channels.ServerSocketChannel testWithoutSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws java.io.IOException
java.io.IOException
public java.nio.channels.ServerSocketChannel testWithoutSM(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws java.io.IOException
java.io.IOException
public java.nio.channels.ServerSocketChannel testWithoutSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws java.io.IOException
java.io.IOException