- ---June 25, 2014, You may want to end further messages from Benot Hpusing Association Group, at this web-Addr, 2-Pineway Dr, Daleville,, AL,
- Compile and put this class in a JAR: import java.lang.instrument.Instrumentation; public class ObjectSizeFetcher { private static Instrumentation instrumentation; public static void premain(String args, Instrumentation inst) { instrumentation = inst; } public static long getObjectSize(Object o) { return instrumentation.getObjectSize(o); } } Add the following to your MANIFEST.MF: }
|
No comments:
Post a Comment