Framework Professional Edition Package


com.prosyst.mbs.framework.resman.j9
Interface MemoryCommands


public interface MemoryCommands

This interface provides methods for printing information about bundles' memory spaces. Its implementation is registered as a service when J9ResourceManagerImpl is the active resource manager.


Method Summary
 void printAllMemorySpaceSegments(java.io.PrintStream stream)
          Prints information about the segments of all bundles' memory spaces.
 void printMemorySpaceSegmentsOf(long bId, java.io.PrintStream stream)
          Prints information about the segments of a bundle's memory space.
 void printObjectsOfMemorySpace(long bId, java.io.PrintStream stream, boolean showReferences)
          Prints all objects in a bundle's memory space.
 

Method Detail

printAllMemorySpaceSegments

void printAllMemorySpaceSegments(java.io.PrintStream stream)
Prints information about the segments of all bundles' memory spaces.

Parameters:
stream - to print information to.

printObjectsOfMemorySpace

void printObjectsOfMemorySpace(long bId,
                               java.io.PrintStream stream,
                               boolean showReferences)
Prints all objects in a bundle's memory space. Optionally shows the objects, which hold the references.

Parameters:
bId - target bundle's id.
stream - to print information to.
showReferences - specifies if objects, which hold references should be also printed.

printMemorySpaceSegmentsOf

void printMemorySpaceSegmentsOf(long bId,
                                java.io.PrintStream stream)
Prints information about the segments of a bundle's memory space.

Parameters:
bId - target bundle's id.
stream - to print information to.

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved