Examples of HProfView


Examples of org.apache.kato.hprof.HProfView

  public HProfView getMinimalHProfView() throws IOException {
    File m=getMinimalHProfFile();
    HProfFile hprofFile=HProfFactory.createReader(m);
    hprofFile.open();
    return new HProfView(hprofFile);
 
  }
View Full Code Here

Examples of org.apache.kato.hprof.HProfView

    }
  }
  public void testBadHeapRecordIDConstructor() throws IOException {
   
   
    HProfView view=getMinimalHProfView();
   
    try {
    JavaHeapImpl impl=new JavaHeapImpl(view,0, null);
    fail("expected illegal argument exception");
    }
View Full Code Here

Examples of org.apache.kato.hprof.HProfView

   */
  ImageProcessImpl(ImageImpl imageImpl) {
    this.imageImpl = imageImpl;
   
    // Make sure view is open before we query it.
    this.view=new HProfView(imageImpl.file);
    view.open(new IViewMonitor(){

      @Override
      public void error(IOException e) {
        // TODO Auto-generated method stub
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.