public class PrivilegedSocketOperationsBenchmark extends AbstractMicrobenchmark
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty |
static class |
PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled |
AbstractMicrobenchmark.HarnessExecutorDEFAULT_FORKSBASE_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, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, removeAssertions, runpublic java.nio.channels.ServerSocketChannel testWithSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws java.io.IOException
java.io.IOExceptionpublic java.nio.channels.ServerSocketChannel testWithSM(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws java.io.IOException
java.io.IOExceptionpublic java.nio.channels.ServerSocketChannel testWithSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws java.io.IOException
java.io.IOExceptionpublic java.nio.channels.ServerSocketChannel testWithoutSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws java.io.IOException
java.io.IOExceptionpublic java.nio.channels.ServerSocketChannel testWithoutSM(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws java.io.IOException
java.io.IOExceptionpublic java.nio.channels.ServerSocketChannel testWithoutSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws java.io.IOException
java.io.IOException