public class PrivilegedSocketOperationsBenchmark extends AbstractMicrobenchmark
| Modifier and Type | Class and Description |
|---|---|
static class |
PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty |
static class |
PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled |
AbstractMicrobenchmark.HarnessExecutorDEFAULT_FORKSBASE_JVM_ARGS, DEFAULT_MEASURE_ITERATIONS, DEFAULT_WARMUP_ITERATIONS| Constructor and Description |
|---|
PrivilegedSocketOperationsBenchmark() |
getForks, jvmArgs, newOptionsBuildergetMeasureIterations, getReportDir, getWarmupIterations, handleUnexpectedException, runpublic ServerSocketChannel testWithSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
IOExceptionpublic ServerSocketChannel testWithSM(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
IOExceptionpublic ServerSocketChannel testWithSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerInstalled sm) throws IOException
IOExceptionpublic ServerSocketChannel testWithoutSMNoPrivileged(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
IOExceptionpublic ServerSocketChannel testWithoutSM(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
IOExceptionpublic ServerSocketChannel testWithoutSMWithNullCheck(PrivilegedSocketOperationsBenchmark.SecurityManagerEmpty sm) throws IOException
IOExceptionCopyright © 2008–2026 The Netty Project. All rights reserved.