Skip to content

wolfc/jboss-libra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Libra

Libra provides the means to weigh your Objects.

API

long myObjectSize = Libra.getObjectSize("Hello world");

That's it. No more.

Bootstrapping

There are two ways to boot up Libra.

Java Agent

java -javaagent:jboss-libra.jar MyMain

Libra will be initialized through the Java Agent mechanism.

tools.jar

java -cp $JAVA_HOME/lib/tools.jar MyMain

Libra will initialize itself through the Attach API.

Usage in AS 7

For usage in AS 7 please refer to How-To: use Libra in AS 7.

About

Weigh your Objects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages