|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsuramadu.tests.memory.footprint.VMRuntimeSize
Measure the memory footprint of a Java application.
PURPOSE:
DESIGN: This object does not actually test the size of the VM. What it does instead is start ans stay active for a configuaable amount of time so that an external shell script can measure memory usage.
ASSUMPTIONS:
INPUTS:
Property | Default Value | Description |
---|---|---|
"duration" | "3000" | The number of test iterations to perform. |
OUTPUTS:
EXAMPLES: *
ORIGINS:
Nested Class Summary | |
static class |
VMRuntimeSize.TestProps
|
Constructor Summary | |
VMRuntimeSize()
constructor for test class Instantiates testProperties. |
|
VMRuntimeSize(VMRuntimeSize.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 |
Constructor Detail |
public VMRuntimeSize() throws java.lang.Exception
java.lang.Throwable
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.Exception
public VMRuntimeSize(VMRuntimeSize.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 |