|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsuramadu.tests.memory.ScopeMemoryTest
Tests the cost of entering and exiting ScopeMemory.
PURPOSE: Tests the cost of entering and exiting ScopeMemory.
DESIGN:
ASSUMPTIONS:
INPUTS:
Property | Default Value | Description |
---|---|---|
"iterations" | "1000000" | The number of test iterations to perform. |
"priority" | "???" | ??? |
"threadType" | "???" | ??? |
OUTPUTS:
EXAMPLES: *
ORIGINS:
Nested Class Summary | |
static class |
ScopeMemoryTest.TestProps
|
Field Summary | |
static MemoryType |
mt
Memory type to use |
static ScopeMemoryTest.TestProps |
testProps
actual properties used by this test run. |
static ThreadType |
tt
Thread type to use. |
Constructor Summary | |
ScopeMemoryTest()
constructor for test class Instantiates testProperties. |
|
ScopeMemoryTest(ScopeMemoryTest.TestProps props)
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
run()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static ScopeMemoryTest.TestProps testProps
public static ThreadType tt
public static MemoryType mt
Constructor Detail |
public ScopeMemoryTest() throws java.lang.Exception
java.lang.Throwable
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.Exception
public ScopeMemoryTest(ScopeMemoryTest.TestProps props) throws java.lang.Exception
Method Detail |
public static void main(java.lang.String[] args)
args
- the command line argumentspublic void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |