Java Agent for Memory Measurements.
Jamm provides MemoryMeter, a java agent to measure actual object memory use including JVM overhead..
Here is the list of declaration for jamm. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>com.github.stephenc</groupId> <artifactId>jamm</artifactId> <version>0.2.2</version> </dependency>
If you think this Maven repository POM file listing for jamm is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:The Apache Software License, Version 2.0
URL: http://www.apache.org/licenses/LICENSE-2.0.
The jamm-0.2.2 has 1 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
JUnit | junit 4.6 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 70 |
The following plugins are used in the jamm-0.2.2.jar
The following packages are defined in the jamm-0.2.2.jar
org.github.jamm
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.oss</groupId> <artifactId>oss-parent</artifactId> <version>5</version> <relativePath /> </parent> <groupId>com.github.stephenc</groupId> <artifactId>jamm</artifactId> <packaging>jar</packaging> <version>0.2.2</version> <name>Java Agent for Memory Measurements</name> <description> Jamm provides MemoryMeter, a java agent to measure actual object memory use including JVM overhead. </description> <url>https://github.com/jbellis/jamm/</url> <scm> <connection>scm:git:git://github.com/stephenc/jamm.git</connection> <developerConnection>scm:git:git@github.com:stephenc/jamm.git</developerConnection> <url>http://github.com/stephenc/jamm/tree/master/</url> </scm> <issueManagement> <system>github</system> <url>http://github.com/jbellis/jamm/issues</url> </issueManagement> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0</url> <distribution>repo</distribution> </license> </licenses> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.6</version> <scope>test</scope> </dependency> </dependencies> <build> <sourceDirectory>${basedir}/src</sourceDirectory> <testSourceDirectory>${basedir}/test</testSourceDirectory> <pluginManagement> <plugins> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.4.1</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>2.5</version> </plugin> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>1.0</version> </plugin> <plugin> <artifactId>maven-install-plugin</artifactId> <version>2.3.1</version> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.3.1</version> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>2.5</version> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.8</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <Premain-Class>org.github.jamm.MemoryMeter</Premain-Class> </manifestEntries> </archive> </configuration> <executions> <execution> <phase>generate-test-resources</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <configuration> <forkMode>pertest</forkMode> <argLine>-javaagent:${project.build.directory}/${project.build.finalName}.${project.packaging}</argLine> </configuration> </plugin> </plugins> </build> </project>