Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime In directory usw-pr-cvs1:/tmp/cvs-serv8034 Modified Files: ThreadR.java ThreadGroupR.java MonTraceR.java MonThreadTraceR.java MonThreadMethodR.java MethodR.java ImageR.java CPUTraceR.java CPUThreadTraceR.java CPUThreadMethodR.java ClassR.java AllocTypeTraceR.java AllocTypeThreadTraceR.java AllocTypeThreadR.java AllocTypeThreadMethodR.java AllocTypeR.java AllocTypeMethodR.java AllocTraceR.java AllocThreadTraceR.java AllocThreadMethodR.java Log Message: Removed invocations of constructor of RuntimeException from JDK1.4. Added empty add/remove listener methods. Index: ThreadR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/ThreadR.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** ThreadR.java 12 Jun 2002 23:02:17 -0000 1.7 --- ThreadR.java 2 Jul 2002 20:27:02 -0000 1.8 *************** *** 388,392 **** getInfo(objId.intValue(), IProf.THREAD_INFO); } catch (IProfException e) { ! throw new RuntimeException(e); } construct(info); --- 388,393 ---- getInfo(objId.intValue(), IProf.THREAD_INFO); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } construct(info); *************** *** 403,407 **** data = image.getIProf().getData(objId.intValue(), what); } catch (IProfException e) { ! throw new RuntimeException(e); } switch (what) { --- 404,409 ---- data = image.getIProf().getData(objId.intValue(), what); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } switch (what) { *************** *** 515,521 **** --- 517,559 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public Date getStartTime() { + // PENDING + return null; + } + + public void removeMonStatListener(MonStatListener listener) { + // PENDING + } + + public Date getEndTime() { + // PENDING + return null; + } + + public void addCPUStatListener(CPUStatListener listener) { + // PENDING + } + + public void removeCPUStatListener(CPUStatListener listener) { + // PENDING + } + + public void addMonStatListener(MonStatListener listener) { + // PENDING } Index: ThreadGroupR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/ThreadGroupR.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** ThreadGroupR.java 12 Jun 2002 23:02:17 -0000 1.4 --- ThreadGroupR.java 2 Jul 2002 20:27:02 -0000 1.5 *************** *** 163,167 **** getInfo(objId.intValue(), IProf.THREAD_GROUP_INFO); } catch (IProfException e) { ! throw new RuntimeException(e); } construct(info); --- 163,168 ---- getInfo(objId.intValue(), IProf.THREAD_GROUP_INFO); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } construct(info); *************** *** 185,191 **** --- 186,194 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING } Index: MonTraceR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/MonTraceR.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** MonTraceR.java 12 Jun 2002 23:02:17 -0000 1.5 --- MonTraceR.java 2 Jul 2002 20:27:02 -0000 1.6 *************** *** 146,150 **** IProf.MON_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sMonStatData) data.statData); --- 146,151 ---- IProf.MON_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sMonStatData) data.statData); *************** *** 202,206 **** getInfo(objId.intValue(), IProf.TRACE_INFO); } catch (IProfException e) { ! throw new RuntimeException(e); } construct(info); --- 203,208 ---- getInfo(objId.intValue(), IProf.TRACE_INFO); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } construct(info); *************** *** 264,270 **** --- 266,282 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void addMonStatListener(MonStatListener listener) { + // PENDING + } + + public void removeMonStatListener(MonStatListener listener) { + // PENDING } Index: MonThreadTraceR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/MonThreadTraceR.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** MonThreadTraceR.java 12 Jun 2002 23:02:17 -0000 1.4 --- MonThreadTraceR.java 2 Jul 2002 20:27:02 -0000 1.5 *************** *** 158,162 **** IProf.MON_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sMonStatData) data.statData); --- 158,163 ---- IProf.MON_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sMonStatData) data.statData); *************** *** 202,206 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } // link to parents --- 203,208 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } // link to parents *************** *** 276,278 **** --- 278,289 ---- return getThreadR() + "-" + getLocation(); } + + public void addMonStatListener(MonStatListener listener) { + // PENDING + } + + public void removeMonStatListener(MonStatListener listener) { + // PENDING + } + } Index: MonThreadMethodR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/MonThreadMethodR.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** MonThreadMethodR.java 12 Jun 2002 23:02:17 -0000 1.4 --- MonThreadMethodR.java 2 Jul 2002 20:27:02 -0000 1.5 *************** *** 170,174 **** IProf.MON_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sMonStatData) data.statData); --- 170,175 ---- IProf.MON_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sMonStatData) data.statData); *************** *** 210,214 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } --- 211,216 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } *************** *** 279,285 **** --- 281,297 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void addMonStatListener(MonStatListener listener) { + // PENDING + } + + public void removeMonStatListener(MonStatListener listener) { + // PENDING } Index: MethodR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/MethodR.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** MethodR.java 12 Jun 2002 23:02:17 -0000 1.6 --- MethodR.java 2 Jul 2002 20:27:02 -0000 1.7 *************** *** 368,372 **** getInfo(objId.intValue(), IProf.METHOD_INFO); } catch (IProfException e) { ! throw new RuntimeException(e); } construct(info); --- 368,373 ---- getInfo(objId.intValue(), IProf.METHOD_INFO); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } construct(info); *************** *** 383,387 **** data = image.getIProf().getData(objId.intValue(), what); } catch (IProfException e) { ! throw new RuntimeException(e); } switch (what) { --- 384,389 ---- data = image.getIProf().getData(objId.intValue(), what); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } switch (what) { *************** *** 476,482 **** --- 478,510 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void removeMonStatListener(MonStatListener listener) { + // PENDING + } + + public void addCPUStatListener(CPUStatListener listener) { + // PENDING + } + + public void removeCPUStatListener(CPUStatListener listener) { + // PENDING + } + + public void addMonStatListener(MonStatListener listener) { + // PENDING } Index: ImageR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/ImageR.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** ImageR.java 12 Jun 2002 23:02:53 -0000 1.8 --- ImageR.java 2 Jul 2002 20:27:02 -0000 1.9 *************** *** 243,253 **** // init multi-root ID factories } catch (ClassNotFoundException e) { ! throw new RuntimeException(e); } catch (NoSuchMethodException e) { ! throw new RuntimeException(e); } catch (SecurityException e) { ! throw new RuntimeException(e); } catch (IllegalArgumentException e) { ! throw new RuntimeException(e); } } --- 243,257 ---- // init multi-root ID factories } catch (ClassNotFoundException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (NoSuchMethodException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (SecurityException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalArgumentException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } } *************** *** 261,265 **** direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! throw new RuntimeException(e); } while (itChildren.hasNext()) { --- 265,270 ---- direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } while (itChildren.hasNext()) { *************** *** 275,285 **** }); } catch (InstantiationException e) { ! throw new RuntimeException(e); } catch (IllegalAccessException e) { ! throw new RuntimeException(e); } catch (IllegalArgumentException e) { ! throw new RuntimeException(e); } catch (java.lang.reflect.InvocationTargetException e) { ! throw new RuntimeException(e); } list.add(dataObject); --- 280,294 ---- }); } catch (InstantiationException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalAccessException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalArgumentException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (java.lang.reflect.InvocationTargetException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } list.add(dataObject); *************** *** 326,330 **** direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! throw new RuntimeException(e); } while (itChildren.hasNext()) { --- 335,340 ---- direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } while (itChildren.hasNext()) { *************** *** 341,351 **** this}); } catch (InstantiationException e) { ! throw new RuntimeException(e); } catch (IllegalAccessException e) { ! throw new RuntimeException(e); } catch (IllegalArgumentException e) { ! throw new RuntimeException(e); } catch (java.lang.reflect.InvocationTargetException e) { ! throw new RuntimeException(e); } if (containsId(oId)) --- 351,365 ---- this}); } catch (InstantiationException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalAccessException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalArgumentException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (java.lang.reflect.InvocationTargetException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } if (containsId(oId)) *************** *** 420,424 **** direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! throw new RuntimeException(e); } while (itChildren.hasNext()) { --- 434,439 ---- direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } while (itChildren.hasNext()) { *************** *** 438,448 **** parentMap.get(LOCATION_KEY), sid, this}); } catch (InstantiationException e) { ! throw new RuntimeException(e); } catch (IllegalAccessException e) { ! throw new RuntimeException(e); } catch (IllegalArgumentException e) { ! throw new RuntimeException(e); } catch (java.lang.reflect.InvocationTargetException e) { ! throw new RuntimeException(e); } putObject(oId, dataObject); --- 453,467 ---- parentMap.get(LOCATION_KEY), sid, this}); } catch (InstantiationException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalAccessException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalArgumentException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (java.lang.reflect.InvocationTargetException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } putObject(oId, dataObject); *************** *** 606,616 **** ; } catch (InstantiationException e) { ! throw new RuntimeException(e); } catch (IllegalAccessException e) { ! throw new RuntimeException(e); } catch (IllegalArgumentException e) { ! throw new RuntimeException(e); } catch (java.lang.reflect.InvocationTargetException e) { ! throw new RuntimeException(e); } putObject(oId, o); --- 625,639 ---- ; } catch (InstantiationException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalAccessException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalArgumentException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (java.lang.reflect.InvocationTargetException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } putObject(oId, o); *************** *** 636,646 **** o=(DataR) factory.newInstance(new Object[] {oId, this}); } catch (InstantiationException e) { ! throw new RuntimeException(e); } catch (IllegalAccessException e) { ! throw new RuntimeException(e); } catch (IllegalArgumentException e) { ! throw new RuntimeException(e); } catch (java.lang.reflect.InvocationTargetException e) { ! throw new RuntimeException(e); } map.put(oId, o); --- 659,673 ---- o=(DataR) factory.newInstance(new Object[] {oId, this}); } catch (InstantiationException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalAccessException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (IllegalArgumentException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } catch (java.lang.reflect.InvocationTargetException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } map.put(oId, o); *************** *** 919,928 **** --- 946,981 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public List getGCRuns() { + // PENDING + return null; } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + /** + * Returns size (in bytes) of allocated memory in the mirrored virtual + * machine. + * + * @return size (in bytes) of allocated memory in the mirrored virtual + * machine. + */ + public long totalMemory() { + // PENDING + return 0l; + } + + /** + * Returns size (in bytes) of free memory in the mirrored virtual machine. + * + * @return size (in bytes) of free memory in the mirrored virtual machine. + */ + public long freeMemory() { + // PENDING + return 0l; } Index: CPUTraceR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/CPUTraceR.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** CPUTraceR.java 12 Jun 2002 23:02:17 -0000 1.5 --- CPUTraceR.java 2 Jul 2002 20:27:02 -0000 1.6 *************** *** 146,150 **** IProf.CPU_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sCpuStatData) data.statData); --- 146,151 ---- IProf.CPU_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sCpuStatData) data.statData); *************** *** 213,217 **** getInfo(objId.intValue(), IProf.TRACE_INFO); } catch (IProfException e) { ! throw new RuntimeException(e); } construct(info); --- 214,219 ---- getInfo(objId.intValue(), IProf.TRACE_INFO); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } construct(info); *************** *** 276,282 **** --- 278,294 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void addCPUStatListener(CPUStatListener listener) { + // PENDING + } + + public void removeCPUStatListener(CPUStatListener listener) { + // PENDING } Index: CPUThreadTraceR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/CPUThreadTraceR.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** CPUThreadTraceR.java 12 Jun 2002 23:02:17 -0000 1.4 --- CPUThreadTraceR.java 2 Jul 2002 20:27:02 -0000 1.5 *************** *** 158,162 **** IProf.CPU_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sCpuStatData) data.statData); --- 158,163 ---- IProf.CPU_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sCpuStatData) data.statData); *************** *** 202,206 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } // link to parents --- 203,208 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } // link to parents *************** *** 276,278 **** --- 278,289 ---- return getThreadR() + "-" + getLocation(); } + + public void addCPUStatListener(CPUStatListener listener) { + // PENDING + } + + public void removeCPUStatListener(CPUStatListener listener) { + // PENDING + } + } Index: CPUThreadMethodR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/CPUThreadMethodR.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** CPUThreadMethodR.java 12 Jun 2002 23:02:17 -0000 1.4 --- CPUThreadMethodR.java 2 Jul 2002 20:27:02 -0000 1.5 *************** *** 170,174 **** IProf.CPU_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sCpuStatData) data.statData); --- 170,175 ---- IProf.CPU_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sCpuStatData) data.statData); *************** *** 210,214 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } --- 211,216 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } *************** *** 279,285 **** --- 281,297 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void addCPUStatListener(CPUStatListener listener) { + // PENDING + } + + public void removeCPUStatListener(CPUStatListener listener) { + // PENDING } Index: ClassR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/ClassR.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** ClassR.java 12 Jun 2002 23:02:17 -0000 1.4 --- ClassR.java 2 Jul 2002 20:27:02 -0000 1.5 *************** *** 219,223 **** direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! throw new RuntimeException(e); } while (itChildren.hasNext()) { --- 219,224 ---- direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } while (itChildren.hasNext()) { *************** *** 232,236 **** direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! throw new RuntimeException(e); } while (itChildren.hasNext()) { --- 233,238 ---- direction, true, true, IProf.NO_OPTIONAL_ARG, true); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } while (itChildren.hasNext()) { *************** *** 250,254 **** getInfo(objId.intValue(), IProf.CLASS_INFO); } catch (IProfException e) { ! throw new RuntimeException(e); } construct(info); --- 252,257 ---- getInfo(objId.intValue(), IProf.CLASS_INFO); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } construct(info); Index: AllocTypeTraceR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocTypeTraceR.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** AllocTypeTraceR.java 12 Jun 2002 23:02:17 -0000 1.6 --- AllocTypeTraceR.java 2 Jul 2002 20:27:02 -0000 1.7 *************** *** 187,191 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 187,192 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 234,238 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } // link to parents --- 235,240 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } // link to parents *************** *** 298,305 **** --- 300,317 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING } + public void addAllocStatListener( AllocStatListener listener) { + // PENDING + } + + public void removeAllocStatListener( AllocStatListener listener) { + // PENDING + } + } Index: AllocTypeThreadTraceR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocTypeThreadTraceR.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** AllocTypeThreadTraceR.java 12 Jun 2002 23:02:17 -0000 1.5 --- AllocTypeThreadTraceR.java 2 Jul 2002 20:27:02 -0000 1.6 *************** *** 180,184 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 180,185 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 241,245 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } // link to parents --- 242,247 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } // link to parents *************** *** 313,315 **** --- 315,326 ---- return getTypeR() + "-" + getThreadR() + "-" + getLocation(); } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING + } + } Index: AllocTypeThreadR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocTypeThreadR.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -r1.7 -r1.8 *** AllocTypeThreadR.java 12 Jun 2002 23:02:17 -0000 1.7 --- AllocTypeThreadR.java 2 Jul 2002 20:27:02 -0000 1.8 *************** *** 201,205 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 201,206 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 243,247 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } // resolve roots --- 244,249 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } // resolve roots *************** *** 303,309 **** --- 305,321 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING } Index: AllocTypeThreadMethodR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocTypeThreadMethodR.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** AllocTypeThreadMethodR.java 12 Jun 2002 23:02:17 -0000 1.6 --- AllocTypeThreadMethodR.java 2 Jul 2002 20:27:02 -0000 1.7 *************** *** 192,196 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 192,197 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 254,258 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } --- 255,260 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } *************** *** 327,333 **** --- 329,345 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING } Index: AllocTypeR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocTypeR.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** AllocTypeR.java 12 Jun 2002 23:02:17 -0000 1.4 --- AllocTypeR.java 2 Jul 2002 20:27:02 -0000 1.5 *************** *** 204,208 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 204,209 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 321,325 **** getInfo(objId.intValue(), IProf.OBJECT_INFO); } catch (IProfException e) { ! throw new RuntimeException(e); } construct(info); --- 322,327 ---- getInfo(objId.intValue(), IProf.OBJECT_INFO); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } construct(info); *************** *** 379,385 **** --- 381,397 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING } Index: AllocTypeMethodR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocTypeMethodR.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** AllocTypeMethodR.java 12 Jun 2002 23:02:17 -0000 1.6 --- AllocTypeMethodR.java 2 Jul 2002 20:27:02 -0000 1.7 *************** *** 194,198 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 194,199 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 236,240 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } // resolve roots --- 237,242 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } // resolve roots *************** *** 288,294 **** --- 290,306 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING } Index: AllocTraceR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocTraceR.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** AllocTraceR.java 12 Jun 2002 23:02:17 -0000 1.6 --- AllocTraceR.java 2 Jul 2002 20:27:02 -0000 1.7 *************** *** 173,177 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 173,178 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 248,252 **** getInfo(objId.intValue(), IProf.TRACE_INFO); } catch (IProfException e) { ! throw new RuntimeException(e); } construct(info); --- 249,254 ---- getInfo(objId.intValue(), IProf.TRACE_INFO); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } construct(info); *************** *** 318,324 **** --- 320,336 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING } Index: AllocThreadTraceR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocThreadTraceR.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** AllocThreadTraceR.java 12 Jun 2002 23:02:34 -0000 1.5 --- AllocThreadTraceR.java 2 Jul 2002 20:27:02 -0000 1.6 *************** *** 188,192 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 188,193 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 235,239 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } // link to parents --- 236,241 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } // link to parents *************** *** 318,324 **** --- 320,336 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING } Index: AllocThreadMethodR.java =================================================================== RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/realtime/AllocThreadMethodR.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -r1.6 -r1.7 *** AllocThreadMethodR.java 12 Jun 2002 23:02:34 -0000 1.6 --- AllocThreadMethodR.java 2 Jul 2002 20:27:02 -0000 1.7 *************** *** 196,200 **** IProf.ALLOC_DATA); } catch (IProfException e) { ! throw new RuntimeException(e); } setData((IProf.sAllocStatData) data.statData); --- 196,201 ---- IProf.ALLOC_DATA); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } setData((IProf.sAllocStatData) data.statData); *************** *** 239,243 **** parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! throw new RuntimeException(e); } --- 240,245 ---- parents=image.getIProf().getParents(objId.intValue()); } catch (IProfException e) { ! // PENDING ! throw new RuntimeException(e.getMessage()); } *************** *** 316,322 **** --- 318,334 ---- public void removeChildrenListener(int type, ChildrenListener listener) { + // PENDING } public void addChildrenListener(int type, ChildrenListener listener) { + // PENDING + } + + public void removeAllocStatListener(AllocStatListener listener) { + // PENDING + } + + public void addAllocStatListener(AllocStatListener listener) { + // PENDING } |